Strength in Numbers, What makes SSDs Fast

Given the way a single NAND-flash IC is organized one thing should come to mind: parallelism.

Fundamentally the flash that’s used in SSDs cut from the same cloth as the flash that’s used in USB drives. And if you’ve ever used a USB flash drive you know that those things aren’t all that fast. Peak performance to a single NAND-flash IC is going to be somewhere in the 5 - 40MB/s range. You get the faster transfer rates by reading/writing in parallel to multiple die in the same package.

The real performance comes from accessing multiple NAND ICs concurrently. If each device can give you 20MB/s of bandwidth and you’ve got 10 devices you can access at the same time, that’s 200MB/s of bandwidth. While hard drives like reads/writes to be at the same place on the drive, SSDs don’t mind; some are even architected to prefer that data be spread out all over the drive so it can hit as many flash devices as possible in tandem. Most drives these days have 4 - 10 channel controllers.

The Recap

I told you I’d mention this again because it’s hugely important, so here it is:

A single NAND flash die is subdivided into blocks. The typical case these days is that each block is 512KB in size. Each block is further subdivided into pages, with the typical page size these days being 4KB.

Now you can read and write to individual pages, so long as they are empty. However once a page has been written, it can’t be overwritten, it must be erased first before you can write to it again. And therein lies the problem, the smallest structure you can erase in a NAND flash device today is a block. Once more, you can read/write 4KB at a time, but you can only erase 512KB at a time.

It gets worse. Every time you erase a block, you reduce the lifespan of the flash. Standard MLC NAND flash can only be erased 10,000 times before it goes bad and stops storing data.

Based on what I’ve just told you there are two things you don’t want to do when writing to flash: 1) you don’t want to overwrite data, and 2) you don’t want to erase data. If flash were used as a replacement for DVD-Rs then we wouldn’t have a problem, but it’s being used as a replacement for conventional HDDs. Who thought that would be a good idea?

It turns out that the benefits are more than worth the inconvenience of dealing with these pesky rules; so we work around them.

Most people don’t fill up their drives, so SSD controller makers get around the problem by writing to every page on the drive before ever erasing a single block.

If you go about using all available pages to write to and never erasing anything from the drive, you’ll eventually run out of available pages. I’m sure there’s a fossil fuel analogy somewhere in there. While your drive won’t technically be full (you may have been diligently deleting files along the way and only using a fraction of your drive’s capacity), eventually every single block on your drive will be full of both valid and invalid pages.

In other words, even if you’re using only 60% of your drive, chances are that 100% of your drive will get written to simply by day to day creation/deletion of files.

The Anatomy of an SSD The Blind SSD
Comments Locked

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

    lolz
  • sidex - Wednesday, March 18, 2009 - link

    I would like to know the firmware version of Vertex used in your review. To me sounds the old 0112
  • kensiko - 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.

Log in

Don't have an account? Sign up now