Jump to content
Corsair Community

Sandforce & Garbage Collection


Sudjaino

Recommended Posts

I know Sandforce controller trims directly when we empty recycle bin, and does garbage collection when writing new data on the same blocks, which apparently causes a slowdown. My question is simple: Is there any way (or utility) to force the drive to do complete cleaning of free space (garbage collection) on demand , ex. after we delete a huge amount of data ?

I suppose Perfectdisk (latest version) & Diskeeper Hyperfast does exactly this on SSD (which is called free space consolidation)?

If yes, is there any other alternative that is free ?

Thanks

Link to comment
Share on other sites

What I read so far indicates that something like garbage collection is done by Sandforce controller when it writes data back to the deleted/trimmed blocks, which is why the writing performance could be affected a lot because it has to write off/move the deleted data before the new data could be written over them.

 

I thought Hyperfast did the "garbage collection" ahead of time, but I think I'm also wrong, because I remember reading that the process of GC inside Sandforce is executed internally by the controller itself. No utility can pass the command on demand. So, how/what does Hyperfast actually do to maintain top performance of SSD drive ?

 

The only description from Diskeeper about Hyperfast is :

"HyperFast creates and maintains optimized free space, increasing the controller’s ability to write sequentially and thereby enormously increasing the peak speed and life of the SSD. "

 

If I understand correctly, it seems "Secure erasing" is the only way to restore performance back quickly. But frequent "secure erasing" certainly reduces SSD life a lot because it has to write each block. If I have a 60GB SSD, a process of secure erasing the drive will also mean "writing 60GB of data to the SSD". I know because I've done it a couple of times to my 60GB drive, and SSDLife reported exactly a 55GB write to the SSD after secure erasing. Coupled with restoring a 20GB image backup to the drive, that could mean a 90-100GB of written data in just 15 minutes. OMG ! :D:

 

A sticky recommending a "secure erase" for quick performance recovery FAILS to warn users about this important fact.

The warning should have been made because it substantially reduces SSD life

Link to comment
Share on other sites

Then only drives that allowed you to trigger the garbage collector were the Indilinx Barefoot ones, the G2 Intels ( and perhaps newer Intels as well ). This was mainly a feature used in non-TRIM OSes to help the drives maintain top performance. Currently there is no way to force the GC on a SandForce drive as it's FW will decide when and how to do that.
Link to comment
Share on other sites

A sticky recommending a "secure erase" for quick performance recovery FAILS to warn users about this important fact.

The warning should have been made because it substantially reduces SSD life

 

There's an experiment going on at Extreme Systems to see how many wrties a 64GB SSD can endure before it completely fails. Roughly, for almost any brand, it would be at least over 400TB, or 100GB writes every single day for over 10 years. I don't think a normal user has anything to worry about where the life of the SSD is concerned unless he deals mainly in photo/video editing.

Link to comment
Share on other sites

If I understand correctly, it seems "Secure erasing" is the only way to restore performance back quickly. But frequent "secure erasing" certainly reduces SSD life a lot because it has to write each block. If I have a 60GB SSD, a process of secure erasing the drive will also mean "writing 60GB of data to the SSD". I know because I've done it a couple of times to my 60GB drive, and SSDLife reported exactly a 55GB write to the SSD after secure erasing. Coupled with restoring a 20GB image backup to the drive, that could mean a 90-100GB of written data in just 15 minutes. OMG ! :D:

 

I did a secure erase on my Force 3 120GB after upgrading the firmware to v1.3 using the suggested pmagic utility and it took less than 2 seconds.

 

The SSD had an updated Windows 7 install on it, must have been around 30GB used. Surely it could not have zeroed over that used space in such a short time? Whatever it did do worked, the drive was empty.

Link to comment
Share on other sites

Surely it could not have zeroed over that used space in such a short time?

 

Actually yes, it does.

 

Also, just for general info in this thread, my understanding is that you can trigger the SandForce drives to do their GC by deleting a file and then emptying the Recycle Bin. Do this and leave your computer idle and the drives will do their magic.

Link to comment
Share on other sites

Strange. Everbody say the secure erase only took 2-3 secs, but it took about 5 minutes for me I think. It's about 2-3 secs for every 1%. I follow exactly the same instructions. The only difference is the version of partedmagic I use which is 5.7. I wonder why.
Link to comment
Share on other sites

Strange. Everbody say the secure erase only took 2-3 secs, but it took about 5 minutes for me I think. It's about 2-3 secs for every 1%. I follow exactly the same instructions. The only difference is the version of partedmagic I use which is 5.7. I wonder why.

 

I'm quite sure you are using the wrong tool for the task.

 

A Secure Erase using the correct tool (HDDerase or equivalent) takes 2-3 seconds.

Some tools perform other tasks while cleaning and they are not "compatible" with SE for SSD's. (puts extra wear on the drive)

 

Having said that, a Quick-Format is sufficient in most cases.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...