Wednesday, March 28, 2012

Raid 5 vs Raid 10 - reads

Will a 6 disk Raid 5 array beat the 6 disk Raid 10 array on reads?see
http://techrepublic.com.com/5208-11...threadID=183003
http://beau.org/pipermail/whitebox-...uly/006933.html
"Dave" wrote:

> Will a 6 disk Raid 5 array beat the 6 disk Raid 10 array on reads?
>|||I still havent found the answer to this... does anyone have an online
resource or know of any benchmarks?
CitizenPips wrote:[vbcol=seagreen]
> see
> http://techrepublic.com.com/5208-11...threadID=183003
> http://beau.org/pipermail/whitebox-...uly/006933.html
> "Dave" wrote:
>|||Looking purely at read performance (and ignoring other factors like
write performance, cost, complexity, fault tolerance, etc.) both RAID 5
& RAID 10 offer excellent performance. Both configurations will
probably be close enough in read performance to each other that other
factors (like those mentioned above) will probably be more influential
in any decision to purchase one over the other.
However, in your specific example (6 disks in RAID 5 or 6 disks in RAID
10) I would think the RAID 5 array should be slightly (very slightly)
faster and only when not under heavy load. This is because for any
particular read against the RAID 5 set there are 5 disks (the slice on
the 6th disk would just be parity) in the set to read data from (these
reads can happen in parallel). For the RAID 10 there would be 3 disks
to read data from, although for each of those 3 disks the IO subsystem
could choose the primary or the mirror depending on current queue
lengths (which is not an option with the RAID 5 set). So you have the
possibility of 5 simultaneous reads on potentially loaded disks with
RAID 5 vs the possibility of 3 simultaneous reads on potentially less
loaded disks with RAID 10. As a rule of thumb, the more spindles you
can read from simultaneously, the quicker that read will be, but this
assumes no queuing on those spindles. When dealing with a mirror, as
RAID 10 is (combined with striping), the IO subsystem can choose from
either the primary or mirror disk to read from (if one is too
overworked). So one advantage of "more spindles" is pretty much
cancelled out by the advantage of "choosing an alternate disk".
Toss a coin as either could be faster on any given day depending on all
the other surrounding factors.
BTW, _Inside SQL Server 2000_ by Kalen Delaney has a good section (in
chapter 4, pp. 127-137) on RAID configs.
Hope this helps.
*mike hodgson*
http://sqlnerd.blogspot.com
Dave wrote:

>I still havent found the answer to this... does anyone have an online
>resource or know of any benchmarks?
>CitizenPips wrote:
>
>
>|||Thanks Mike! That was an excellent explanation! I am going to request
a RAID 5 Array to be attached to my Dell 2850 so I can benchmark one
Array vs the other.
I will test large SELECT/JOINS, inserts, a couple intensive stored
procedures that perform both read/writes, and run Quest's benchmark
software (free version).

No comments:

Post a Comment