Image Image Image Image Image Image Image Image Image Image

Mincading | June 25, 2017

Scroll to top

Top

TRIM

What is TRIM? TRIM is simply the command of flagging used sectors (typically on a flash based drive) as “available to overwrite”. TRIM is designed to optimize the write speeds of future write operation. Visually, TRIM in SSDs and other flash storage is much more efficient than traditional harddrives.

Within a typical hard drive (mechanical), sectors are marked as “available to overwrite” when deleted and physically remains. It is simply marked.
what this looks like is if data is being deleted, it is marked:

THIS IS THE DATA YOU WANT TO DELETE
THIS IS THE DATA YOU WANT TO DELETE

When being overwritten, the hard drive physically erases what is there,

THIS IS THE DATA YOU WANT TO DEL<--- THIS IS THE DATA YO<--- When it is finished deleting what needs to be overwritten, it then writes the data back into the spot of the deleted data. THIS IS THE NEW DATA WRITTEN This process takes up 3 cycles: 1. marks as available to overwrite 2. deletes 3. writes Within a TRIM supported SSD, the memory is electronic. Data consisting of either "on" or "off" (binary), the data is either left as it is, or reprogrammed to a different setting. How this works: If you have deleted something off a TRIM enabled storage solution, windows or a TRIM supporting OS in a sense keeps a mental note of which sectors/blocks are available and unavailable. if the initial written data is lets say 00101010, and we delete that, the OS in the background marks that as "deleted". Since TRIM is a command, it resets the block into 00000000 in the background. By doing so, performance will remain relatively consistent. In this process, there is only 1 step in overwriting. 1. Write The SSD DOES go through the marking and deleting process, however, TRIM is a background command. It constantly performs its recycling process in order to offer the most optimal and efficient performance.

Originally posted 2013-09-11 01:44:00. Republished by Blog Post Promoter


Explore Similar Items: