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

  • siberx - Thursday, March 19, 2009 - link

    This is, very likely, the best article I have ever read, period. Online, in magazines, about any subject... this was an absolutely fantastic read. Suddenly, all smoke surrounding SSDs has cleared and the truth shines through in editorial brilliance. It's great to see that at least some computer news sites out there can still cut through the crap and get to the heart of the issue. My already high opinion of AnandTech has risen even further.

    Thank you for taking the immense time it must have taken to compile and assemble all this information - this article is now a must-read for *anybody* considering purchasing an SSD, and it's just about all the background you could need in one place.

    In addition to all the extremely useful general SSD information contained within, the detailing of the issues with the JMicron controllers as well as OCZ's efforts to address the concerns to produce the best product possible (despite the reduced marketability to the uninformed) is reassuring and comforting in a world where tech companies seem more concerned with how much they can deceive their customers instead of producing quality products.

    In short, the article is a win on all fronts, thank you greatly for posting it. When I purchase my first SSD (which I'm considering doing reasonably soon) this article, its information and suggestions, and OCZs actions to resolve the issues with its drives will definitely be at the forefront of my mind.
  • jkua - Thursday, March 19, 2009 - link

    I have to say, I really appreciate the effort and throughness with which you have covered the state of the SSD market today. As an engineer and scientist, I applaud your methods in tracking down and reporting the major issues with SSDs. As a consumer, I really appreciate the timeliness of this article as I was just thinking of putting an SSD in a netbook for a robotics application where mechanical drives are not ideal.

    Cheers!
  • jkua - Thursday, March 19, 2009 - link

    That said, one thing I would have like to have seen is some numbers on power consumption for these drives compared to average mechanical desktop and laptop drives.
  • aamsel - Thursday, March 19, 2009 - link

    Anyone have a link to the Intel HDD ERASE program that Anand referred to?
  • HolyFire - Thursday, March 19, 2009 - link

    http://www.ultimatebootcd.com/download.html">http://www.ultimatebootcd.com/download.html (includes HDD erase 3.1)

    http://cmrr.ucsd.edu/people/Hughes/SecureErase.sht...">http://cmrr.ucsd.edu/people/Hughes/SecureErase.sht... (version 4.0)
  • AnnonymousCoward - Thursday, March 19, 2009 - link

    AWESOME ARTICLE.

    The huge difference in read/write flash performance looks a lot like this article: http://www.anandtech.com/memory/showdoc.aspx?i=257...">http://www.anandtech.com/memory/showdoc.aspx?i=257...
  • wind glider - Thursday, March 19, 2009 - link

    Thanks for the orgasmic review.
  • wicko - Wednesday, March 18, 2009 - link

    Had a really good read here, thanks for the history and info, Anand. The only thing I don't understand is what the importance of random write is? What kind of task would benefit from high random write speeds (maybe copying many files at once)? I'm tempted to pick up a vertex drive but it depends on whether or not random write will be important for me. But the price... whoa, pretty damn expensive here in Canada.. http://www.ncix.com/products/index.php?sku=36023&a...">http://www.ncix.com/products/index.php?...X120G&am... - $625 for a 120GB!!! I kind of want 2, for RAID0, I have a lot of games installed (steam folder alone is 100GB lol). Might even have to raid 3 of em.. but not for $1800 lol.
  • strikeback03 - Thursday, March 19, 2009 - link

    As mentioned in the article, the OS in general makes lots of random writes. Send an IM, it writes to a log. Load a website, it caches some images.
  • AnnonymousCoward - Thursday, March 19, 2009 - link

    >I'm tempted to pick up a vertex drive but it depends on
    >whether or not random write will be important for me.
    Keep in mind, its random write is twice as fast as mechanical HDs.

    >But the price...
    It's only $110USD/32GB.

Log in

Don't have an account? Sign up now