CPUs, Motherboards & RAM
Graphics Cards
Peripherals
Modding & Cooling
Systems
Networking
Security
Operating Systems
PC Games
Console Games
Atomic.edu
Tutorials
Lifestyle
Entertainment
Science
Wallpapers
Revolver Melbourne 2011
Revolver Sydney 2011
Atomic Unlocked 2010
Power to the PC Tour 2010
Industry Events
Login
|
Register
|
RSS
News
|
Reviews
|
Features
|
User Reviews
|
Galleries
|
Videos
|
Competitions
|
Newsletter
|
Subscribe
Wednesday May 23, 2012 3:08 PM AEST
Atomic MPC
>
Features
>
Build
>
Peripherals
>
Dealing with the revolution
Peripherals
Dealing with the revolution
By
Ashton Mills
11:31 Dec 11, 2008
|
5 Comments
Tags:
Dealing
|
with
|
the
|
revolution
Tweet
«
1 - How they work
2 - SSDs and Windows
3 - SSDs and Linux
Related Articles
Shogun 2: Total War – The Fall of the Samurai
Lord of the Rings Online: Update 6 out now!
Lord of the Rings: War in the North - not perfect, but fun
A tremor in the force - lay-offs hit BioWare's Old Republic team
Linux and SSDs
Linux is in a little better position. While it, too, has been tuned over the years for spinning platter drives it has by default four different I/O schedulers selectable at boot time: Anticipatory, CFQ (Completely Fair Queuing), Deadline and Noop.
Anticipatory and CFQ (the default scheduler) are designed to optimise throughput for desktop and small server systems, while Deadline is designed for intensive server and database workloads. Just like with Windows' single scheduler, none of these were ever designed with SSDs in mind.
But the Noop scheduler, by its very nature, isn't too far off. The Noop scheduler is basically little more than a simple FIFO queue and is designed to be used with high-performance disks and external controllers that handle scheduling outside the OS – and so essentially passes requests straight through with no interference. Which just happens to make it ideal for SSDs.
As schedulers can be assigned on a per-disk basis in Linux, it's possible to use CFQ on hard drives and Noop on SSDs in the same system.
Then there's the filesystem. As with NTFS, filesystems like Ext3 are designed with hard disks in mind – however Linux has two filesystems in development designed specifically for SSDs: LogFS and UBIFS, both of which are under consideration for use with the OLPC (One Laptop Per Child) project.
LogFS differs from traditional filesystems in that it works with the page size, large erase-write block, and fast seeks to optimise performance as well as extend lifespan by not re-writing blocks in place (overwriting a file moves it to a new block, for example). Developed by some brainboxes at Nokia, UBIFS is similar and works on top of the UBI (Unsorted Block Image) layer in Linux's MTD (Memory Technology Device) layer.
Both are nearing maturity for entry in the mainline kernel, but can be used in the meantime by patching the kernel.
Still, like Windows, Linux runs a variety of background tasks and while it generally isn't as intensive as Windows it still has a habit of writing log files and so here, too, the default setup of most Linux distributions isn't with SSDs in mind. A bit of tweaking and using the Noop scheduler will go a long way to ensuring better performance.
Optimising for SSDs
Make the most of an SSD with the following tips for Windows and Linux.
Windows
* Move the page file to a hard drive (disabling not advised with Windows).
* Redirect Windows temp directory to a hard drive.
* Redirect browser cache to a hard drive, or disable it.
* Disable SuperFetch (Vista), Prefetch (XP).
* Disable Indexing service.
* Disable System Restore.
* Disable NTFS last access timestamp.
* Disable background defragmentation.
* Disable unnecessary services.
Linux
* Use Noop scheduler (add elevator=noop to kernel in Grub).
* Add 'noatime' option to drive mounts in /etc/ftsab
* Move '/tmp' to a hard drive or ramdisk.
* Move '/var' and even '/home' to a hard drive.
* Move swap partition to a hard drive, or disable it.
* Redirect browser cache to a hard drive, or disable it.
* Disable unnecessary services.
* Use LogFS or UBIFS, if you're feeling brave
«
1 - How they work
2 - SSDs and Windows
3 - SSDs and Linux
This article appeared in the
December, 2008
issue of Atomic.
Aliens: Colonial Marines in depth; Z-77 Motherboard round-up; strategy gaming special; Home Server tutorial. PLUS MUCH MORE - ON SALE NOW!
Email this
Print this
Tweet this
Send us your tips
Ads by Google
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.
Shogun 2: Total War – The Fall of the Samurai
I hate you Error 37
AMD's Trinity Processor Released and Benchmarked
Nvidia 'Big Kepler' GK-110 Announced for Supercomputers
Diablo III Review - it's good, but it will make you rage...
Powered by Disqus
Atomic Magazine
Issue:
137
|
June, 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.
What's in this issue?
Subscribe Now
Latest Comments
Powered by Disqus
Latest User Reviews
90%
Battlefield 3 is the new benchmark online FPS
A very fun and realistic multiplayer ride.
By
Periander
|
10:59 Nov 20, 2011
90%
Antec Kuhler 920 - liquid cool
Antec Kuhler 920 silent but effientive out of the box no maintence water cooling kit
By
mattleyland
|
14:23 Oct 28, 2011
90%
Antec's Lanboy Air - our new favourite case
Antec Lan boy Air in red a very cool design
By
mattleyland
|
12:55 Oct 28, 2011
90%
Antec's Lanboy Air - our new favourite case
This product overall is awesome.
By
Provodnik14
|
10:43 Oct 16, 2011
90%
MSI's GT780 laptop as fast as it gets
Nice laptop
By
daryl.cheshire
|
00:53 Oct 4, 2011
more user reviews »