There is an inherent difference when writing and deleting files from a solid-state drive compared to hard disk drives. SSDs write to pages, which make up blocks, but can only delete full blocks. What is garbage collection SSD? Garbage Collection basically copies data still in use to a new block, and then deletes all data from the old one. With TRIM technologies, it can command the number of operations needed for Garbage Collection is kept to a minimum – meaning the SSD is not unnecessarily worn out.
Trimming Away Unneeded Data
It can get tricky when deleting files from SSDs
. What TRIM does is instantaneously mark the files that you delete to be removed during the next Garbage Collection run. These files might otherwise have been shuffled around the SSD
causing unnecessary wear.
Fewer Cycles for a Longer Life
Strictly speaking TRIM is not a necessity, but it will always improve the Garbage Collection process. With the two technologies working together the lifespan of your storage device is drastically increased.