Silent running: An introduction to SSDs

Silent running: An introduction to SSDs

You're probably hearing a lot of people talk about SSDs. David Fearon explains how solid-state disks work, and how their performance stacks up to conventional disks

Pundits have been predicting the demise of the mechanical hard disk for years, but so far there’s been no revolution. Slowly, though, the first truly credible rival to the conventional hard disk – the flash-based solid-state disk – is creeping up on the old guard.

What’s the big idea?

 

 

 

Conventional hard disk drives store data by encoding it onto spinning metal disks, but solid-state disks store it in memory chips. That’s an approach with plenty going for it. Spinning a weighty set of magnetic platters at high speed takes a fair bit of power, even on the advanced, low-friction fluid bearings modern hard disks use. An average 3.5in desktop hard disk might typically be rated to an idle power consumption of 8W.

An SSD, by comparison, merely needs to push some electrons around – and electrons weigh next to nothing, making SSDs enormously power-frugal. Intel’s 510 series SSDs are rated for an idle power consumption of 100mW – that’s 0.1W, or 80 times less power than many mechanical drives – and even when active they consume only 0.38W.

An even more interesting benefit is speed. When a mechanical disk wants to read a file, the read/write heads must be physically moved to the correct position. Then they need to wait for the platter to rotate to the correct point. Once that happens, the rate at which they can stream data off the platter is limited by the drive’s rotational speed.

With an SSD, there are no limits imposed by the physical momentum of mechanical components. Electronic signals move at a significant fraction of the speed of light, so SSDs are capable of finding data almost instantly, and transferring it at vastly greater transfer speeds than conventional disks. Not only do electrons move quickly, they do it silently: SSDs make no sound.

A final advantage is durability. Hard disks are physically fragile: they can be killed with a simple, relatively light mechanical shock. SSDs, with no delicate moving parts, are largely immune to being knocked or mishandled.

It isn’t all good news

 

 

 

That’s not to say an SSD can’t ever fail or wear out. In fact, one of the fundamentals of SSD engineering is a system known as wear levelling. It’s the first of a few areas blighting the theoretical utopia of the SSD, and one reason why they’re still some way off winning the mass-storage war.

Wear levelling is required because the flash memory cells used by SSDs don’t last forever. You can read their contents as many times as you like without worrying, but each cell can have its contents changed on only a finite number of occasions before it wears out – typically, around 100,000 times.

For a USB flash drive or SD card, this limited lifetime isn’t a problem, because these devices simply aren’t used that much. But if flash technology is used to replace a PC hard disk, the situation changes. Even a PC sitting idle tends to access the hard disk a great deal. The Windows swap file can be written to thousands of times in a session. Things quickly approach the point at which flash life can have an impact on reliability.

Wear levelling tries to mitigate this by distributing data evenly throughout the SSD’s cells, and avoiding concentrated rewriting of any particular area of the disk. If a certain physical area of an SSD’s flash memory is being accessed and rewritten a great deal, the system will reallocate the data to a different area of the drive. But doing this while maintaining the structural integrity of the filing system, and continuing to service other read and write operations, has performance implications.

All solid-state memory isn’t equal

 

 

 

Even when running at maximum efficiency, SSDs aren’t as fast as you might think. There’s a pervasive tendency to imagine that the flash memory chips in an SSD are as fast as the chips in your PC’s main system RAM. Even Windows Vista and Windows 7 fall into this trap with their ReadyBoost feature. It purports to use a USB flash drive as a faster-than-hard-disk cache, to speed up disk operations. But it doesn’t work in practice, because the flash memory in commercial USB flash drives is usually slower than accessing a regular hard disk.

The truth is that the NAND flash memory you’ll find in an SSD works differently to the DRAM that makes up the system memory in your PC.DRAM cells are very simple, and very fast. They consist of a single transistor and a single, small capacitor. The charge on the capacitor (or lack thereof) stores one binary digit: no charge indicates a binary 0; fully charged equals a binary 1. Since DRAM capacitors are so small, they hold only a small amount of energy, meaning they can be charged and drained quickly. This is the fundamental design aspect that gives DRAM its extreme speed.

A NAND flash memory cell isn’t such a simple device. For reading sequential data, it can be nearly as fast as DRAM, but when it comes to writing, a much more complicated (and hence slower) electrical process is required. What’s more, there’s more than one type of write operation that the controller must choose from, depending on the usage history of the device. This brings us to the major limiting factor of SSD performance.

SSDs’ Achilles heel

 

 

 

It would be great if the controller could directly address the individual bytes stored in the NAND flash cells. Unfortunately, engineering constraints mean the data must be divided into “pages” and “blocks”. A single SSD page is the smallest chunk of data that can be accessed and written to; if you have a drive with a page size of 4KB (which is the norm for modern NTFS-formatted disks), even a 1KB file will take up 4KB on the disk. A block is a large group of pages – there are 128 pages per block in a standard SSD architecture.

While it’s straightforward to write a new 4KB page to disk, it isn’t possible to delete or overwrite data with the same degree of precision. The physics of flash mean that in order to change the contents of a single page, you must erase its entire block, and then write back all the data you wish to keep. This means all block-level operations need to manipulate a fair chunk of data – half a megabyte, in fact.

The upshot is that overwriting only one byte of data on an SSD means reading and caching all half-million bytes in the relevant block of data, resetting each cell in the block, modifying the block’s data to reflect the new state, and writing the half-million bytes back into the block. Not only does this slow down performance due to the length of the process, it also greatly increases the overall wear of the drive. In our example, a write operation of one byte causes 511,999 unnecessary bytes to be erased and rewritten. This is known as write amplification.

Real-world performance

 

SSD conventional drives can't match the consistent speeds of solid state

 

 

Despite these technical hurdles, new engineering techniques and systems such as TRIM have brought SSD technology to the point where an SSD can now be a viable replacement for a mechanical drive. Indeed, in some cases it can be faster. Intel’s 510 Series SSD, in its 120GB guise, gave sustained sequential read speeds of a scarcely believable 390MB/sec in our Labs tests. Even Kingston’s “value” 128GB SSDNow 100V achieved 239MB/sec – way beyond the 100-140MB/sec that most modern mechanical drives can manage.

But, thanks to the page-level and block-level limitations, SSDs still fall behind when it comes to non-sequential operations on small files. At least one whole 4KB page must be read into cache and then back out (or vice-versa) for the smallest read or write operation. This means small, random-access operations often take far longer on an SSD than they do on a conventional spinning-platter drive. Our A-Listed mechanical drive, for instance, the Samsung Spinpoint F3, can hit over 80MB/sec with random reads, whereas the 120GB Intel 510 drops to a paltry 20MB/sec. Unfortunately, such operations are the bread-and-butter of Windows operation: both the operating system itself and the applications running on it continually read and write small chunks of housekeeping, configuration and user data.

If you’re considering using an SSD as your system drive in Windows, you should also bear in mind that hard disk speed is a fairly minor factor when it comes to real-world productivity. To be sure, the latest and greatest solid-state drive will enable programs and files to open more quickly, and your computer will feel smoother and more responsive. But every time we’ve pitted an SSD against a mechanical drive in our real-world benchmarks, we’ve seen no difference in results. Unless your work is heavily focused on loading and saving large files, an SSD won’t make you more productive. 

So do I really need one?

For regular desktop use, SSDs are still a long way from being a no-brainer. Not only is the performance benefit equivocal, they’re much more expensive than conventional drives. The 120GB Intel 510 works out at $3.07 per gigabyte, making it a lot more expensive than the conventional Samsung Spinpoint F3, (which costs $59 for 1TB).

Yet, given SSDs’ low power usage, reduced weight, ruggedness and silent operation, they’re becoming popular in laptops – particularly in luxury and business-class ultraportables.In addition, when it comes to specialist desktop applications involving big files, SSDs can repay their cost in short order. HD video work with multiple streams can be transformed by the speed advantages of an SSD, and anyone editing multilayer Photoshop images all day will appreciate the performance boost every time they browse a folder full of huge images or hit Ctrl-S to save their work.

For general Windows performance, though, the argument is far from won. In a few years’ time, SSDs will probably be a realistic alternative to a mechanical drive. For now, however, unless you need the particular qualities of a solid-state disk, we’d recommend that you stick with a conventional hard disk. 

This Feature appeared in the August, 2011 issue of PC & Tech Authority Magazine

Source: Copyright © PC Pro, Dennis Publishing

See more about:  ssd  |  pcbuilding  |  storage
 
 

Readers of this article also read...

First Look: MSI Z87 Mpower MAX Motherboard 

First Look: MSI Z87 Mpower MAX Motherboard

 
Exclusive First Look: Gigabyte's Z87X-UD3H 

Exclusive First Look: Gigabyte's Z87X-UD3H

 
Preparing for the future - How the evolution of the PC highlights the importance of the NBN 

Preparing for the future - How the evolution of the PC highlights the importance of the NBN

 
Labs Brief: OCZ Vector 256GB 

Labs Brief: OCZ Vector 256GB

 
Unboxed: Thermaltake Chaser A41 

Unboxed: Thermaltake Chaser A41

 
Comments: 12
chuboy
15 August 2011
Rubbish. I have an SSD in this laptop, as well as on a HTPC. I'm never going back to using mechanical drives, at least not for an OS disk. I can go from POST to the Windows desktop (including password entry) in less than 30 seconds. I can't hear a thing, and Windows couldn't be more responsive.

Only someone who isn't using an SSD for their OS disk could write an article that concludes that the battle is far from won. You can pick up a 500GB mechanical hard drive for your infrequently accessed data from expensive computer shops and it will still cost less than $100.

One thing I notice that your article doesn't mention is that hard drive access speed is in general the bottleneck in every PC above medium-spec. Benchmarks may not reflect it, but use a computer with an SSD for an hour - there is no comparison!


Comment made about the PC & Tech Authority article:
Silent running: An introduction to SSDs?
You're probably hearing a lot of people talk about SSDs. David Fearon explains how solid-state disks work, and how their performance stacks up to conventional disks

What do you think? Join the discussion.
bish
15 August 2011
I'd suggest anyone looking to buy an SSD, search google for the drive model + 'bsod', 'not detected in BIOS', 'freezing' or 'windows crashes'. My personal experience, I brought an OCZ Agility 3 120GB as my primary hard drive and it hasn't been good. Indeterminately the HD LED goes hard on, and the drive disappears from BIOS. Of-course windows then BSOD and you need to do a full power reset to clear the issue. Now OCZ are suggesting RMAing it, which means I'd pay $$$ to have it shipped overseas, and wait so OCZ can replace it. But they haven't told me this will fix the problem... Not good when you think you are buying a premium product.
amcmo
15 August 2011
Known problem with OCZ.

We sell OWC and have had no problems, plus they do well in benchmarks.

SSD is the only way to go for quick start and data needed to be moved in a hurry.

Noblejoker
15 August 2011
I have bought and used a Seagate Momentous XT hybrid drive in my laptop for over 6 months approx $25 more than equivalent mechanical drive at 500GB. Even having a 4GB cache to use has radically sped up my laptop vs mechanical drive. Once prices drop a little further for larger SSD (256GB and over) I will consider shifting completing. If I was configuring a fast desktop system I would have a smaller c drive SSD and a couple of momentous drives for storage - 60gb boot and 1gb of storage for say $400 - sure mechanical 2tb drive is ~$100 but this would blow that system away :)
dweebken
15 August 2011
I recently bought a 256GB Corsair Performance 3 Series 2.5" MLC SSD from AusPCMarket for my Toshiba Satellite T230 Laptop. My bootup speed went from nearly 10 mins to under a minute including stopping at the logon/password screen. The SSD simply screams with speed. I ran some before & After benchmarks with ATTO Disk Benchmark and it shows the speed increase at over 6 times the speed of the spindle drive that was in there before. There's almost no waiting when opening files and programs now. The only significant waits are for internet pages, and for file transfers to my external USB or eSATA disk drives. Battery life has gone way up, and the noise levels from the PC has gone down. I've had it under a week and it was well worth the just over $500 odd that I paid for it.

Something your article doesn't mention is the TRIM function. If you want to keep your SSD running at optimum speed you need an OS that supports this. Currently there's only two: Windows 7 and Windows Server 2008 I hear. And some of the older SSDs don't even have a TRIM function. For Win XP, some SSD suppliers can provide utilities that'll apply TRIM on a scheduled basis.

And backup the SSD often! They have a shorter working life than spindle drives.

I'll be putting SSDs in all my PCs. Just use the spindle drives for external bulk storage and backup (eSATA external drives can be nearly as quick as internal spindle drives for linear storage if your laptop has an eSATA port, and many of the newer ones do).
amcmo
15 August 2011
The normal failure mode for SSD's is read mode, so even if it fails to write, you can still read your data.

Far better than a platter that decides it can't won't respond to anything short of a hammer.
Nato
15 August 2011
Have had my kingston v series 1 64gb ssd in now for 2 years, no dramas no bsod ever, i love the speed loading up games, i recomend the change as soon as you can afford it.
PeteC
16 August 2011
I totally agree with most of the comments here.

When I first read the article I asked myself: why the hell the author is trying to convince me that conventional HDDs are still good or better than SSDs (at least in some tasks)? What he was thinking? Is he using one? Yeah right, HDDs are still good if you cannot afford the change, but if you can afford, the only answer to your last question in the article is: YES, YOU DO NEED ONE!!!

I am using an Intel 160GB G2 SSD in my work laptop where I replaced the old 5400rpm HDD few months ago with it. Wow! What a difference! Finally my PC works as it should be! If I click on programs or on files (large Excel files for example), it opens up immediately with almost no waiting. Program installs happen insanely fast. No problems with it all and I am using this laptop 8-10 hours a day. Can you imagine the time it saves me during my work, because I dont need to wait anymore??
Now I want an SSD for my home PC too, which has the mentioned Seagate Momentus XT as a main drive and couple of 1TB HDDs for data and backup. Because I am addicted to SSDs now! They work! Well not all of them, don't buy OCZ for example. :)

SSDs are all far better than any HDD if we compare them in the same size. Of course HDDs offer much more space but that will change as years fly by.

So my final advice: ignore the last part of the article and BUY A SOLID STATE DRIVE as soon as you can!
amcmo
16 August 2011
Samsungs latest SSD development looks like the Catgory Killer we've been waiting for.

500GB, multi level, their own controller chip, trimming, 6GBS, very fast, small geometry.

At the moment it's being offered to OEM's only, however give it 6 months and they will be open market.

While currnt SSD's are superb, this new one will really turn the market on it's head.

Not just boot/most important data disks but the opportunity to put almost everything on the one disk for most users.

You can bet the other players are madly scrambling to make their equiv. Anticipate price reductions and speed increases over the next 6 months.

That said, I don't intend to wait.

Most of our PC's and notebooks are getting SSD transplants for book and most used PGM's/data.

Only advice - stay way from OCZ at the moment. They will get back on track, certain of that, however I wouldn't back the (data) farm on them at the moment.
petergaskin
16 August 2011
So when will the mainstream desktop pc be available with a ssd to be used for the boot disk, with normal hard drives for storage.
Who is likely to be first to manufacture such a beast?
Will we have to rely on pc shops to come up with something?
Surely a reason for a review of desktops with a ssd for booting!
amcmo
17 August 2011
Apple is first there.

As for PC, who out there is more than just a follower? Perhaps HP, or Acer. Perhaps one of the more enterprising white box assemblers?

Spent some time earleir thsi morning on one of our video editing PC's that uses SSD's for all except the scatch and larger data files (and they are on 6gbs sata drives). Fast isn't the word for it!!!
nvrom
17 August 2011
Have to concur with most of the other comments. Have been using a Corsair 80G SSD as my boot drive for 6 months, and will never go back.
If the benchmarks aren't showing the benefits of SSDs, then it's time to get new benchmarks.
Real world usage is just so much better with an SSD, + quieter and less power, Win Win Win.
And some of the better Whitebox builders have SSD options for their systems.
Comments have been disabled for this article.

Latest Comments

Latest Poll

Which broadband network do you think is the best choice for Australia?



or View results
The Coalition's.
  19%
 
Labor's.
  63%
 
Screw this I'm going back to smoke signals and string on a can.
  19%
TOTAL VOTES: 1782

Vote now
Ads by Google

From our Partners

PC & Tech Authority Downloads