Steve mentioned TRIM as a means of integrity checking. It is my understanding the TRIM command is used to inform the device which blocks on the device the OS no longer cares about (e.g., has deallocated for use in the filesystem) so that it can erase them. It is designed to speed up write operations. If the OS does not trim the in-use blocks, the SSD device is forced to erase blocks on demand, when there are no more erased blocks free, and block erasure is one of the slowest operations for the device to perform. TRIM allows these blocks to be erased ahead of time, thus not waiting until they’re really needed.
This topic was modified 1 year, 9 months ago by RChandra.