Saturday February 11, 2012 7:53 AM AEST

Dealing with the revolution

By Ashton Mills
11:31 Dec 11, 2008 | 5 Comments
Tags: Dealing | with | the | revolution
«  »
Dealing with the revolution
Wear levelling
Some flash devices, including USB keys and SSDs, use a technique known as wear-levelling to help prolong the life of the media.

Wear-levelling attempts to work around the limited write-cycle lifespan of blocks by arranging data so that writes are distributed evenly across a medium, rather than re-writing files in place. This way no single block prematurely fails due to a high concentration of erase-write cycles. However the efficiency and implementation of these algorithms is important – given the minimum erase block size, you don't want wear-levelling working against itself as it distributes data across a disk, erasing large blocks only to write small segments in the process.

Wear levelling is currently implemented in many devices by the onboard controller at a basic level, but more advanced methods can be implemented by filesystems specifically designed for SSDs, as well (see Linux and SSDs below).
Overall, however, the biggest single contributor to SSD lifespan is how frequently writes occur. And this, as well as the actual performance of an SSD, is all down to the operating system.

Windows and SSDs
Both Windows and Linux are tuned for spinning platter disks and use queuing alogrithms and I/O schedulers to optimise performance specifically for them. Great for hard drives, not so great for SSDs.

One problem is the I/O scheduler, which usually has two core tasks: keeping multiple disk intensive processes happy, and optimising throughput for a given medium.

Windows has just one scheduler, which in Vista is designed to provide prioritised I/O requests and bandwidth reservation as needed. It's also designed to use small 512-byte sector transfers, which works well with disk drives but gets in the way with SSDs – they fare better when the sector size matches the default 4k page size of the memory. Unfortunately, the 512-byte transfers are hard-coded into Windows.

All this leads to less than stellar performance (yes the benchmarks you've seen so far should be even higher), and when you add this to Windows' habit of constant drive accesses with its myriad of background processess (everything from SuperFetch to defragmenting), it's not doing any favours for SSD lifespan either. So it's no surprise that SSD maker Samsung recently announced it would work with Microsoft to help improve the situation. Another SSD manufacturer, SanDisk, also recently publicly raised the issue, but went as far as to say that what's needed are new SSD optimised controllers to "make up for the shortfalls in Windows". Ouch.

And all this says nothing of how NTFS affects the situation – a filesystem designed from the ground up for hard drives – not optimised for dealing with how SSDs fetch and cache data, or for maximising the longevity of the medium.

 
«  »
 
This article appeared in the December, 2008 issue of Atomic.

Behind the scenes with Mass Effect 3! GTX 560 VGA round-up! Essential Skyrim tweaks to improve your game! Plus reviews, news, hardware, more games, and easy to following modding guides for PC builders. ON SALE NOW!
5 Comments
SceptreCore
Dec 11, 2008 3:19 PM
Ashton... I do believe you are a little too critical of Windows. It's not easy being number... large scale changes can mean the downfall of society when it comes to Microsoft. They say that Windows7 will be SSD optimised, however nothing about a new file system Im afraid. :(

Thanks for tips to optimising Vista for SSD though :)

Trekker
Dec 11, 2008 3:31 PM
i am really waiting for a fast ssd drive of around 300 gig. (for main boot drive) Holefully they do that very soon ( like 1 to 2 months..hoping)
I am only on windows xp so.... :(

BTW on the side when is windows 7 out.
SceptreCore
Dec 11, 2008 4:38 PM
late 2009
maxamatosis
Dec 11, 2008 11:36 PM
How was he too critical of Windows? He didn't deride it for being optimised for hard drives, he just told us that it was.
Mordecai
Dec 12, 2008 10:55 AM
Trekker - SanDisk have 256gig models available already, and Samsung have just started mass production of their 256gig version aswell. Though I would hate to see the price these things will cost.
Comments have been disabled on this article.
 
Latest Competitions
 
Atomic Magazine

Issue: 133 | February, 2012

Atomic is a magazine aimed squarely at computer enthusiasts, gamers, and serious PC upgraders.

Every month we bring you the latest reviews of new technology and PC components, in depth features on everything from overclocking to console hacking, and gaming previews and interviews.
 
Latest Comments
 
Latest User Reviews
Battlefield 3 is the new benchmark online FPS
90%
A very fun and realistic multiplayer ride.
 
Antec Kuhler 920 - liquid cool
90%
Antec Kuhler 920 silent but effientive out of the box no maintence water cooling kit
 
Antec's Lanboy Air - our new favourite case
90%
Antec Lan boy Air in red a very cool design
 
Antec's Lanboy Air - our new favourite case
90%
This product overall is awesome.
 
MSI's GT780 laptop as fast as it gets
90%
Nice laptop
 
 
Close Get the February, 2012 issue of Atomic mailed to you for $8.95, including postage.

Buy nowDigital Version