↝ OWC / MacSales.com... ↜
↝ diglloyd Deal Finder... ↜
Buy other stuff at Amazon.com...
Real World Throughput for RAID-0 vs RAID-4 vs RAID-5
Related: Storage, Video, Thunderbay 4 Mini, storage, RAID, Thunderbolt
But does it matter for real computing?
Understood properly, a 4-drive RAID-4 or RAID-5 is essentially a 3-drive RAID-0 stripe, plus parity.
So a perfect result would be equivalent performance to a 3-drive RAID-0 stripe.
One ultra-efficient threaded application whose speed could be degraded by CPU usage of RAID-5 and RAID-4 is diglloydTools IntegrityChecker: with high data rates, RAID-4 or RAID-5 could compete for CPU cycles against the hashing computations.
$1649 SAVE $150 = 8.0% Apple 13.3" MacBook Pro with Touch Bar (Late 2016, Space Gray) in All Other Categories
$3349 SAVE $150 = 4.0% Apple 15.4" MacBook Pro with Touch Bar (Late 2016, Space Gray) in All Other Categories
$599 SAVE $80 = 11.0% Apple 9.7" iPad Pro (32GB, Wi-Fi + 4G LTE, Rose Gold) in Electronics: iPads and Tablets
$6499 SAVE $500 = 7.0% Apple Mac Pro Desktop Computer (Twelve-Core, Late 2013) in Computers: Apple Macs
$380 SAVE $320 = 45.0% Dracast LED500 Pro Bi-Color LED Light with V-Mount Battery Plate in Lighting: LED
The example below is also an artificial worst case: in real life files are generally not huge 32GB files (as here), and thus highly efficient to process, but a mix of many far smaller files. With many and smaller files, various other overheads become substantial relative to processing one huge file.
The graph below shows:
- RAID-4 (dedicated parity drive) is definitely faster than RAID-5 (distributed parity), at least on SSDs.
- RAID-4 as implemented by SoftRAID 5 is impressively efficient, delivering performance all but identical to a 3-drive RAID-0 stripe.
One cannot ask for better RAID-4 results than this. Moreover, these data rates far beyond what most programs can even begin to utilize.
Real world computing always involves some useful computation (not just reading or writing files). While the 4-drive RAID-0 stripe is 12% faster for hashing than the RAID-4, rare indeed are the computing tasks that can process over a gigabyte of data per second. Usage realities intrude: better to have fault tolerance at data rates that measure lower but have no significant impact on real world tasks.
disktester create-files --num-files 1 --file-size 32G
4 drives used for RAID-4 or RAID-5 and 3 or 4 drives for RAID-0 stripe