linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Software RAID0 behaviour/performance on ATA drives
@ 2005-03-24 16:29 Andy Sy
  2005-03-25  4:32 ` Neil Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Sy @ 2005-03-24 16:29 UTC (permalink / raw)
  To: linux-raid

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

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

end of thread, other threads:[~2005-03-25 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-24 16:29 Software RAID0 behaviour/performance on ATA drives Andy Sy
2005-03-25  4:32 ` Neil Brown
2005-03-25  9:04   ` asho
2005-03-25 10:03     ` Neil Brown
2005-03-25 12:37       ` asho

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).