3 ms·
Newer generations of SSD's have a command called "TRIM". It is meant as a way to speed up SSD drives by alerting the drive to blocks that are no longer in use
by pmorici 16y ago
Newer generations of SSD's have a command called "TRIM". It is meant as a way to speed up SSD drives by alerting the drive to blocks that are no longer in use by the file system and can be pre erased so to speak which makes future writes to that location faster. Windows 7 and newer versions of the Linux kernel support it.
- chrisbolt 16y agoThat doesn't necessarily mean it will be erased, it just gets put back in the list of unallocated blocks.
- Someone 16y agoNo. Flash memory is sort-of write-once in the sense that a page starts with all bits in one state. From there, you can flip individual bits to the other state, but to flip them back, you have to flip back all of them. So, to update a single bit, you may have to read a block, erase it, update the in-memory block, then write the in-memory block. The trim command will do the 'erase block' part of this procedure before the block is actually needed for data. That speeds up a future write to that block.