From: Peter Rabbitson <rabbit@rabbit.us>
To: linux-raid@vger.kernel.org
Subject: Raid1 replaced with raid10?
Date: Tue, 20 Mar 2007 00:25:19 +0100 [thread overview]
Message-ID: <45FF1BDF.6060304@rabbit.us> (raw)
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
next reply other threads:[~2007-03-19 23:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 23:25 Peter Rabbitson [this message]
2007-05-04 12:54 ` Raid1 replaced with raid10? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45FF1BDF.6060304@rabbit.us \
--to=rabbit@rabbit.us \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).