CPUs, Motherboards & RAM
Graphics Cards
Peripherals
Modding & Cooling
Systems
Networking
Security
Operating Systems
PC Games
Console Games
Atomic.edu
Tutorials
Lifestyle
Entertainment
Science
Merchandise
Wallpapers
Power to the PC Tour 2010
Atomic Live 2008
WGT 2008
All Events
Login
|
Register
|
RSS
News
|
Reviews
|
Features
|
Group Tests
|
Opinions
|
Galleries
|
Videos
|
Downloads
|
Competitions
|
Newsletter
|
Subscribe
Sunday March 21, 2010 3:42 AM AEST
Atomic MPC
>
Features
>
Build
>
Peripherals
>
RAID Theory
Peripherals
RAID Theory
«
1 - Introduction
2 - Hardraid, Softraid and ...
3 - benchmarking to buggery
4 - All said and done
»
Related Articles
Adaptec MaxiQ SSD caches RAID arrays
New Star Trek online raid content announced
Blizzard dev Q&A: WoW's Shaman class deconstructed
High end system vendors get the blues
By
Ashton Mills
May 19, 2008
|
4 Comments
Tags:
RAID
On that note, we have to talk about the RAID hardware component. First and foremost, lets be clear: the onboard RAID controllers that you find on NVIDIA and Intel based motherboards are not hardware RAID. Don’t be fooled by the fact the feature is provided by a ‘chip’ on the motherboard – this is little more than disk translation firmware. In truth onboard RAID controllers – often called FakeRAID controllers – do all their work in their driver in the OS. In other words, your CPU is the RAID ‘hardware’.
Proper hardware RAID controllers are external plug-in cards that utilise their own onboard processors, and sometimes memory as well. They are optimised to manage RAID devices as well to provide for more complex RAID schemes like RAID 5 and above. Yes, many FakeRAID controllers also support RAID 5, but they do it rather poorly and won’t give you good performance – if you’re determined to use RAID 5, buy a proper hardware solution. For onboard controllers stick to RAID 0, RAID 1, or RAID 0+1.
Of course, external RAID cards are also expensive whereas onboard motherboard RAID is technically free. As always, you get what you pay for. Still, while they won’t work miracles you can build some pretty beefy arrays with onboard controllers and, more importantly, software RAID.
What’s software RAID? Both Windows and Linux come with the capability to build arrays through the OS itself. If you’re wondering what the difference is between driver-based FakeRAID controllers and software RAID, seeing as they both use the CPU, the answer is not a lot – although, as we’ll also cover later in the benchmarks, they can perform quite differently (see, we think of everything!).
Stripe science
Now onto the meat of this feature – the all important stripe size. Quick primer for those scratching their heads: the stripe size is the size of the data that will be ‘striped’ across each drive in an array. If you have a 96k file to write on a three drive array with a stripe size of 64k, it will be striped across two drives. If the array used a stripe size of 32k, it would span all three drives. Having files striped across more drives is conducive to better throughput, but this doesn’t necessarily translate to better performance – it all comes back to the workload.
Unfortunately some enthusiasts new to RAID will select the ‘recommended’ stripe size in their FakeRAID controller, usually 128k. Conventional wisdom states that a stripe size of 128k and above is ideal for large file transfer performance, and indeed this is true – but only because it’s assumed the files are so large as to spread across multiple disks with the given stripe size. What actually gives better throughput performance however are lower stripes – the smaller these are the more files that will be striped across the drives, and in more stripes (that is – more files spanning across more drives).
Indeed, in terms of seek vs throughput, larger stripes are actually better – why? Because small files will reside on one disk only, freeing up the other disk for the next I/O request. Smart RAID algorithms can use this to parallelise requests across the disks, each serving up separate complete files.
So those of you thinking you’ll jump to the low stripe size of 8k or 16k – yes your throughput scores will skyrocket, but your random access scores will plummet. Use a large stripe size of 128k or 256k and you’ll ensure great seek performance scores, but your throughput won’t be taking full advantage of the striped nature of your array.
This is why a stripe size of 64k is often recommended as the best ‘balance’. And, in fact, it does perform very well for both types of workload. However there’s one more factor you need to consider – the number of drives in the array.
If, for example, you set up a four-drive RAID 0 array with a stripe size of 128k, a good chunk of the files on your system will never benefit from being striped, or only be striped across two or three drives. If throughput is your priority, if you’re building for video streaming or benchmarking for example, then a good rule of thumb is that the more drives you use, the smaller you need your stripe size to be to ensure files are striped across the drives in the array.
And yes, this means of course there is a ceiling to the effectiveness of drives in a RAID 0 array – you can’t keep throwing drives at it and expect to see a linear increase in performance. For this reason, RAID-0 arrays are optimal between two and four drives, but if you go for four drives you might as well use RAID 0+1 and gain both speed and redundancy.
In summary smaller stripe sizes of 32k, 16k, and even 8k can offer greater performance for sustained throughput, but this comes at the cost of seek performance (if this is important to you). Similarly 128k and 256k stripes allow for much greater parallelism of the drives, but throughput can suffer on files that could otherwise be striped.
As a result the accepted norm for a balanced value is 64k – and this is exactly what Windows will use if you create a ‘striped’ RAID volume. Unfortunately, Windows won’t let you change this so it’s the only option if you use software RAID.
So that’s plenty of theory, let’s see how it works in practice. To see just what impact stripe size, array size, seek vs throughput, and software RAID vs FakeRAID all have on performance we did the only thing a sane Atomican can do – we benchmarked to buggery.
«
1 - Introduction
2 - Hardraid, Softraid and the technical info
3 - benchmarking to buggery
4 - All said and done
»
This article appeared in the
May, 2008
issue of Atomic.
Want to check out the first Australian review of Final Fantasy XIII? We got in this month's Atomic!
Plus HD projectors, Napoleon: Total War, Intel's new six-core processor, PC upgrading guide, and a whole lot more.
ON SALE NOW!
Email this
Print this
Tweet this
Send us your tips
Ads by Google
4 Comments
Thoughts on this article? Add a comment below.
Fat_Bodybuilder
Sep 17, 2008 10:31 AM
Is parallelism a real word? :P
Nice work ;-)
osama_bin_athlon
Sep 17, 2008 8:15 PM
er, HDD's are cheaper than ever......under $80 for a 500G (Maxtor 500G $78 @ MSY, for instance), how's that expensive?
Goonit
Sep 20, 2008 9:28 AM
Wow, I've been under the impression it would make a huge difference to load times, doesn't seem the case at all.
One newer generation hard drive, is better then 2 older in raed. :)
Atomic always answers the questions we ponder,
Thanks for the article.
Fat_Bodybuilder
Sep 21, 2008 7:44 PM
Remember that this is covering RAID0, which is not really RAID at all.
And this is a very old article, HDDs were still a little expensive, then.
Login
or
register
to submit a comment.
Command & Conquer 4: Tiberium Twilight first impressions
KitLog issue 3 hits the interwebs!
Bad Company 2: Worst launch ever?
The pirate life for me
Video of the new PlayStation Move controller
Bad Company 2: Worst launch ever?
Video of the new PlayStation Move controller
Valve dishes DRM dirt
New Zealand filters the web
Bad Company 2 sells a motza
Editor's Choice
CM Storm Sentinel gaming mouse
The Storm Warriors
Getting around IWnet and Modern Warfare's lack of dedicated servers
Galaxy GTX295 OC Disassembly mini-guide
Studying Overseas
Area 53
CES 2010
The Modern Warfare 2 launch
BlizzCon 2009
Computex 2009
Electronic Entertainment Expo 2009
Atomic Magazine
Issue:
111
|
April, 2010
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
"Send your good taste to celebration by delivering our mouthwatering cakes to Dehradun and exotic ..."
on
A blind soldier can see with his tongue
by rony24 | Mar 20, 2010 4:56 PM
"So. Much. Awesome."
on
Red Dead Redemption's western life
by The Manta | Mar 20, 2010 4:23 PM
"@sirtrancealot, BF started on the PC and BC1 only on Consoles was a kick to the PC gamers ..."
on
Bad Company 2: Worst launch ever?
by NRUFrost | Mar 20, 2010 8:14 AM
"RAGE!!!"
on
Bad Company 2 sells a motza
by Hawkeye | Mar 20, 2010 1:24 AM
"alex - bugger all. 78mg of caffeine. About the same as a cup of instant coffee. Taurine, Gurana ..."
on
V Energy Drink Black
by tantryl | Mar 20, 2010 12:51 AM
Plan Finder
Powered by
WhistleOut
Mobiles
Deals
Broadband
1)
Nokia E71
47 plans
33%
2)
Apple iPhone 3GS 32GB
36 plans
33%
3)
Apple iPhone 8GB
43 plans
22%
4)
HTC Magic
5 plans
33%
5)
Nokia N97
40 plans
33%
This Guy is Not
Bob. This is...
Super-fast in home wireless broadband + local and national calls.
Sony Deals
With Optus
Great Sony PlayStation® deals available for a limited time with Optus.
3 Months Free
on HTC Magic
The HTC Magic is now available on the $29 Cap from 3 Mobile with 3 months free access.
3 Months Free
on Nokia E71
The Nokia E71 is now available on the $29 Cap from 3 Mobile with 3 months free access.
Nokia E72 +
3 Months Free!
The Nokia E72 - new model with full keyboard and 3 months free on the $49 Cap.
3 Months Free
with 3 Mobile
Get 3 months free on Nokia E71, Samsung F480, Nokia E63 and more with 3 Mobile.
New iPhone Price
on $49 Cap
Vodafone have released new iPhone 3GS prices on the $49 Cap.
iPhone 3GS
With Optus
Save up to $100 when you buy online with Optus.
Optus 90GB
Save $969.71!
Buy online and save $969.71 on a 90GB broadband plan from Optus.
«
1
of
»
1)
iiNet
32 plans
100%
2)
Optus
41 plans
14%
3)
Vodafone
7 plans
5%
4)
Telstra BigPond
30 plans
1%
5)
Dodo
34 plans
6%
Mobiles
|
Broadband
|
Credit Cards
Haymarket - Atomic MPC
Latest User Reviews
90%
Logitech MX518 Gaming-Grade Optical Mouse
Good shape, design and Ergonomics
By
T-Rav18
|
Mar 15, 2010
100%
Coolermaster HAF 922
A case to make a statment and give your pc the Heavy Hardcore Grunt it needs.
By
widow_mak3r
|
Mar 11, 2010
50%
Coolermaster Excalibur
Atomic is under attack
By
Fat_Bodybuilder
|
Mar 11, 2010
40%
XFX 9300 Motherboard
HUGE letdown
By
compshoptech
|
Mar 10, 2010
90%
CM Storm Sentinel gaming mouse
Sexy and instant geek respect.
By
widow_mak3r
|
Feb 10, 2010
more user reviews »