From: "Eric Wood" <eric@interplas.com>
To: linux-raid@vger.kernel.org
Subject: Re: How safe is software RAID compared to how safe hardware RAID is!?
Date: Fri, 21 Nov 2003 09:59:30 -0500 [thread overview]
Message-ID: <00a901c3b040$10e451e0$9100000a@intgrp.com> (raw)
In-Reply-To: 012e01c3ae33$6cde29d0$cc07a8c0@neptune
3tcdgwg3 wrote:
> Did I do anything wrong?
>
> I didn't see RAID 1 hits multiple drives concurrently, specially for
> reading.
>
> I set up RAID 5, RAID 1 and single disk partitions on x86 machine,
> kernel 2.4-18.
>
> For 800 MB breading, RAID 5 take 2/3 of time used by single disk,
> but RAID 1 take 1.1 of time used by single disk.
Doing anything (reading or writing) with RAID 1 set will always be slower
than with a single drive. Because even with reading, you're still updating
the atime on both drives. As a test, mount that partition with noatime and
see if RAID-1 reading test nears to 1.
Here's a nice message from while back:
http://www.cs.helsinki.fi/linux/linux-kernel/2002-17/0313.html
<snip> Jaime Medrano wrote:
> I have taken a look at the read balancing code at raid1.c and I have found
> that when a sequential read happens no balancing is done, and so all the
> reading is done from only one of the mirrors while the others are iddle
<snip>
So RAID-1 sets don't stripe read. RAID 5 is forced to stripe seek because
of its very nature of having XORed data across the drives.
-eric wood
next prev parent reply other threads:[~2003-11-21 14:59 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-18 19:24 recommended sata controllers? Mark Hahn
2003-11-18 19:33 ` Andrew Hogue
2003-11-18 20:12 ` HELP.. how to remove a spare drive i accidently added James R Bamford
2003-11-18 22:38 ` Neil Brown
2003-11-18 23:12 ` How safe is software RAID compared to how safe hardware RAID is!? James R Bamford
2003-11-18 23:34 ` Neil Brown
2003-11-18 23:51 ` Franc Carter
2003-11-19 0:04 ` James R Bamford
2003-11-19 0:23 ` 3tcdgwg3
2003-11-21 14:59 ` Eric Wood [this message]
2003-11-20 20:53 ` Tomi Orava
2003-11-20 23:38 ` Neil Brown
2003-11-18 23:39 ` Kourosh
2003-11-18 23:44 ` Frank Smith
2003-11-18 23:48 ` How safe is software RAID compared to how safe hardware RAID Michael
2003-11-19 7:56 ` How safe is software RAID compared to how safe hardware RAID is!? Luca Berra
2003-11-19 16:55 ` Bill Rugolsky Jr.
2003-11-28 6:04 ` HighPoint 1820 (8pt sata pcix, $170) Mark Hahn
2003-11-28 6:13 ` jlewis
2003-11-28 15:18 ` How to change RAID1 to NON_RAID (lilo problem) Mehrdad Ziaei
2003-11-28 19:47 ` HighPoint 1820 (8pt sata pcix, $170) Jeff Garzik
2003-11-19 20:19 ` How safe is software RAID compared to how safe hardware RAID Kanoa Withington
2003-11-19 22:28 ` Gordon Henderson
2003-11-21 14:02 ` How safe is software RAID compared to how safe hardware RAID is!? Rechenberg, Andrew
2003-11-21 14:24 ` Lars Marowsky-Bree
2003-11-18 22:05 ` Is my raid setup speed ok?! James R Bamford
2003-11-19 4:09 ` Guy
2003-11-19 13:56 ` James R Bamford
2003-11-19 16:49 ` Guy
2003-11-19 17:06 ` Matthew Mitchell
2003-11-19 19:52 ` Guy
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='00a901c3b040$10e451e0$9100000a@intgrp.com' \
--to=eric@interplas.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.