I don't understand how TRIM helps Garbage Collection.
I thought "Garbage Collection" recognizes 2 types of files:
• "Valid data"
• "Stale data"
And then moves "stale data" to blocks whereby those blocks get deleted with a flash of voltage.
Along comes TRIM: when the OS deletes a file, "TRIM" tells "Garbage Collection" that the file is no longer needed.
My question is "SO WHAT if the OS's TRIM command tells Garbage Collection the file is no longer needed?"
Garbage Collection STILL needs to move those "no longer needed" files to blocks where they can get zapped by voltage.
All over the internet are those long "explanations with pretty charts" showing what TRIM and Garbage Collection does, but it still looks like TRIM has to move around the "no longer needed" files anyway...
Obviously I'm missing something
I thought "Garbage Collection" recognizes 2 types of files:
• "Valid data"
• "Stale data"
And then moves "stale data" to blocks whereby those blocks get deleted with a flash of voltage.
Along comes TRIM: when the OS deletes a file, "TRIM" tells "Garbage Collection" that the file is no longer needed.
My question is "SO WHAT if the OS's TRIM command tells Garbage Collection the file is no longer needed?"
Garbage Collection STILL needs to move those "no longer needed" files to blocks where they can get zapped by voltage.
All over the internet are those long "explanations with pretty charts" showing what TRIM and Garbage Collection does, but it still looks like TRIM has to move around the "no longer needed" files anyway...
Obviously I'm missing something