linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Raid1 replaced with raid10?
@ 2007-03-19 23:25 Peter Rabbitson
  2007-05-04 12:54 ` Peter Rabbitson
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Rabbitson @ 2007-03-19 23:25 UTC (permalink / raw)
  To: linux-raid

Hi,

I just tried an idea I got after fiddling with raid10 and to my dismay 
it worked as I thought it will. I used two small partitions on separate 
disks to create a raid1 array. Then I did dd if=/dev/md2 of=/dev/null. I 
got only one of the disks reading. Nothing unexpected. Then I created a 
raid10 array on the same two partitions with the options -l10 -n2 -pf2. 
The same dd executed at twice the speed, reading _simultaneously_ from 
both drives. I did some bonnie++ benchmarking - same result - raid1 
reads only from a single disk raid10 from both. Write performance is 
worse (about 10% slower) with raid10, but you get twice the read speed.
In this light the obvious question is: can raid10 be used as a drop-in 
replacement for raid1 or there is a caveat with having the amount of 
disks equal the amount of chunk copies?

Peter

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-05-07 21:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19 23:25 Raid1 replaced with raid10? Peter Rabbitson
2007-05-04 12:54 ` Peter Rabbitson
2007-05-04 15:07   ` Bill Davidsen
2007-05-07  4:15     ` Neil Brown
2007-05-07  6:49       ` Peter Rabbitson
2007-05-07  6:58         ` Neil Brown
2007-05-07  7:02           ` Peter Rabbitson
2007-05-07 21:22       ` Bill Davidsen
2007-05-07 21:29         ` Peter Rabbitson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).