linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Sy <andy@nospam.com>
To: linux-raid@vger.kernel.org
Subject: Software RAID0 behaviour/performance on ATA drives
Date: Fri, 25 Mar 2005 00:29:47 +0800	[thread overview]
Message-ID: <4242EAFB.9060008@nospam.com> (raw)

The recommended setup for doing RAID0 with ATA drives is
that each hard drive should be on its own IDE channel.  The
reasoning is so they can operate concurrently... i.e.  if you
put them in a master-slave configuration on the same channel,
you lose the benefits of striping since both drives cannot
use the channel at the same time and have to wait for the
others' read/write to finish first.

QUESTION:  Is this really accurate?  Is the md driver smart/multi-threaded
enough to read/write ahead non-consecutive sectors simultaneously?
When writing, for example, the 1st to 4th chunks of a file across
a striped two-drive array, would it write the 2nd and 4th
chunks on one drive without waiting for the 1st and 3rd chunks
to finish writing on the other?

If it can't, and the writes have to proceed in sequence/lockstep,
how can putting the striped drives on separate channels help?


-- 
reply-to: a n d y @ n e o t i t a n s . c o m

             reply	other threads:[~2005-03-24 16:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-24 16:29 Andy Sy [this message]
2005-03-25  4:32 ` Software RAID0 behaviour/performance on ATA drives Neil Brown
2005-03-25  9:04   ` asho
2005-03-25 10:03     ` Neil Brown
2005-03-25 12:37       ` asho

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=4242EAFB.9060008@nospam.com \
    --to=andy@nospam.com \
    --cc=andy@neotitans.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 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).