linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mario 'BitKoenig' Holbe <Mario.Holbe@TU-Ilmenau.DE>
To: linux-raid@vger.kernel.org
Subject: Re: Mustn't be RAID 1 and 0 read-performance be similar?
Date: Mon, 13 Aug 2007 16:49:52 +0200	[thread overview]
Message-ID: <f9pr2g$pgj$1@sea.gmane.org> (raw)
In-Reply-To: 735D322AED9CD711BE53000476917CD00281A96B@NT-SERVER-5

Rustedt, Florian <florian.rustedt@smartnet.de> wrote:
> If the speed on RAID 0 is based on reading out in parallel, then it must be
> the same on RAID 1, mustn't it?
> On RAID 1, it is possible, to read two blocks in parallel to speed up, too.

It's not that simple.
On RAID0 you can read one single stream of data from all of the disks in
parallel: you read one stream from each disk with each stream containing
completely different data and merge them together to get the original
stream. On RAID1 you can only read exactly the same stream from all of
the disks. Thus, RAID1 cannot provide RAID0's speed-up for a single
stream.
However, if you read multiple streams parallel, RAID1 can do better than
RAID0 because you can read stream1 from disk1, stream2 from disk2 etc.
Using RAID0, this speed-up can only be achieved for streams <= chunk
size.


regards
   Mario
-- 
Tower: "Say fuelstate." Pilot: "Fuelstate."
Tower: "Say again." Pilot: "Again."
Tower: "Arghl, give me your fuel!" Pilot: "Sorry, need it by myself..."


      parent reply	other threads:[~2007-08-13 14:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-09  7:15 Mustn't be RAID 1 and 0 read-performance be similar? Rustedt, Florian
2007-08-09 14:13 ` Andy Smith
2007-08-09 21:37 ` Bill Davidsen
2007-08-13 14:49 ` Mario 'BitKoenig' Holbe [this message]

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='f9pr2g$pgj$1@sea.gmane.org' \
    --to=mario.holbe@tu-ilmenau.de \
    --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).