New
#11
Actually, it looks like I was mistaken. I was confusing Trim, an OS function, with garbage collection, an SSD firmware function:
What is SSD TRIM? - Definition from WhatIs.com
I have noticed another anomaly in this process:
Task Scheduler reports a successfully executed "optimization" operation, but it corresponds to a "ScheduledDefrag" task, not to the "WesternDigital_SSD_TRIM_xxxxx" task. The operation also appears as executed over the SSD in the "Optimize Units" window. There is only a SSD installed, no HDD.
As I posted above, there is a task called "WesternDigital_SSD_TRIM_xxxxx" which seems to correspond to the real TRIM operation, and I have seen executed before.
Moreover, the "ScheduledDefrag" task was executed yesterday at 17:23 p.m. Several hours before, at about 2:00 p.m, I had done a manual TRIM from Windows, because 28 days had passed since last execution, and an "optimize required" warning was showing. So, another TRIM was not necessary at all.
From the link Navy provided. Seems the "garbage collection" is what can run during SSD idle periods, not the TRIM.
"Garbage collection may wait for lulls in drive activity to initiate the process, sometimes leaving pages that are obsolete in the SSD."
"TRIM eliminates any unnecessary copying of discarded or invalid data pages during the garbage collection process to save time and improve SSD performance."
So it appears TRIM is a useful function, initiated by the OS to the controller.
Yes, some clarification is in order. I had it the other way, oops!
Garbage Collection is run at idle, then TRIM will be invoked by the OS when/if scheduled.
Using TRIM, an SSD is not forced to save pages belonging to deleted files. TRIM is not an alternative to garbage collection.
It is a bit different. It actually works closely with the SSD's garbage collection algorithm to more properly mark those pages as "stale."
Now, you don’t need TRIM for garbage collection to work but TRIM makes an SSD’s built-in garbage collection routine much more efficient.
That's it. Now, breakfast.