The SSD Anthology: Understanding SSDs and New Drives from OCZ
by Anand Lal Shimpi on March 18, 2009 12:00 AM EST- Posted in
- Storage
The Blind SSD
Modern OSes talk to hard drives using logical block addressing. While hard drives are rotational media, logical block addressing organizes sectors on a hard drive linearly. When you go to save a file, Windows simply issues a write command for your file at a specific logical block address, say LBA 15 for example.
Your OS knows what LBAs are available and which ones are occupied. When you delete a file, the LBAs that point to that file on your hard disk are listed as available. The data you’ve deleted hasn’t actually been removed and it doesn’t get wiped until those sectors on the drive are actually overwritten.
Believe it or not, SSDs actually work the same way.
The flash translation layer in a SSD controller maps LBAs to pages on the drive. The table below explains what happens to the data on the SSD depending on the action in the OS:
Action in the OS | Reaction on a HDD | Reaction on an SSD |
File Create | Write to a Sector | Write to a Page |
File Overwrite | Write new data to the same Sector | Write to a Different Page if possible, else Erase Block and Write to the Same Page |
File Delete | Nothing | Nothing |
When you delete a file in your OS, there is no reaction from either a hard drive or SSD. It isn’t until you overwrite the sector (on a hard drive) or page (on a SSD) that you actually lose the data. File recovery programs use this property to their advantage and that’s how they help you recover deleted files.
The key distinction between HDDs and SSDs however is what happens when you overwrite a file. While a HDD can simply write the new data to the same sector, a SSD will allocate a new (or previously used) page for the overwritten data. The page that contains the now invalid data will simply be marked as invalid and at some point it’ll get erased.
250 Comments
View All Comments
VaultDweller - Wednesday, March 18, 2009 - link
I love it when people critique someone's critique of grammar... and get it wrong.It's an SSD, not a SSD.
gwolfman - Wednesday, March 18, 2009 - link
lolzsidex - Wednesday, March 18, 2009 - link
I would like to know the firmware version of Vertex used in your review. To me sounds the old 0112kensiko - Wednesday, March 18, 2009 - link
Yes that is important to know.I'm sure this is not done with the latest firmware available which is 1199. This version got better performance.
Firmware 1275 is coming also.
Anand, will you update your benchmarks with the latest firmware?
If not, then the benchmarks are obsolete.
Anand Lal Shimpi - Wednesday, March 18, 2009 - link
I tested with the shipping firmware for this article (0122). I've been playing around with 1199 in the lab and will most likely have an update in a couple of weeks once I've done a thorough evaluation of it. By then I should also have the final version of the new Samsung drive and maybe even some other interesting things.For now, I've got to get to work on the new Mac Pro and the updated Ion article :) I need a small break from SSDs por favor :)
Take care,
Anand
VaultDweller - Wednesday, March 18, 2009 - link
Awww, don't you have some underlings to do your SSD-related will?Would love to see an update, and would love to see Corsair's SSD drive tested as well (it's based on Samsung's last generation MLC controller, and doesn't seem to emphasize sequential like the Summit does).
Anand Lal Shimpi - Wednesday, March 18, 2009 - link
I will do an update on the new firmware, I just want to do it right so it'll take some time :)I'll put in a request for the Corsair drive as well :)
-A
Slash3 - Wednesday, March 18, 2009 - link
Page 29: "Not all applications will launch faster than a VelociRaptor on a SSD, but let's not forget that the VelociRaptor is the world's fastest hard drive."Really? What about the nice and speedy enterprise-level 15k SAS/SCSI drives everyone neglects to acknowledge? :)
George Powell - Wednesday, March 18, 2009 - link
I believe it refers to consumer drives. While SAS drives are beginning to be a possibility on the desktop with newer motherboards supporting them natively, the drives themselves are too expensive and too noisy for most consumers to actually want them.FishTankX - Wednesday, March 18, 2009 - link
Good info. However, I noticed one mistake.Second page
Samsung had a MLC controller at the time but it was too expensive than what SuperTalent was shooting for.