Re: which raid level gives maximum overall speed? (raid-10,f2 vs. raid-0)

From
Janek Kozicki <hidden>
Date
2008-02-06 22:15:14
Bill Davidsen said:     (by the date of Wed, 06 Feb 2008 13:16:14 -0500)
Janek Kozicki wrote:
quoted
Justin Piszcz said:     (by the date of Tue, 5 Feb 2008 17:28:27 -0500 (EST))
writing on raid10 is supposed to be half the speed of reading. That's
because it must write to both mirrors.
??? Are you assuming that write to mirrored copies are done sequentially 
rather than in parallel? Unless you have enough writes to saturate 
something the effective speed approaches the speed of a single drive. I 
just checked raid1 and raid5, writing 100MB with an fsync at the end. 
raid1 leveled off at 85% of a single drive after ~30MB.
Hi,

In above context I'm talking about raid10 (not about raid1, raid0,
raid0+1, raid1+0, raid5 or raid6).

Of course writes are done in parallel. When each chunk has two
copies raid10 reads twice as fast as it writes. 

If each chunk has three copies, then writes are 1/3 speed of reading.
If each chunk has number of copies equal to number of drives, then
write speed drops down to that of a single drive - a 1/Nth of read speed.

But it's all just a theory. I'd like to see more benchmarks :-)

-- 
Janek Kozicki                                                         |
Thread (1 message) 1 message, 1 author, last reply 2008-02-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help