public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wilfried Weissmann <Wilfried.Weissmann@gmx.at>
To: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: software raid does not do parallel reads under 2.4?
Date: Fri, 24 Aug 2001 19:01:40 +0200	[thread overview]
Message-ID: <3B868874.B89B04DE@gmx.at> (raw)
In-Reply-To: <20010823234218.B12873@cerebro.laendle> <15238.11161.492557.264988@notabene.cse.unsw.edu.au>

Neil Brown wrote:
> 
> On Thursday August 23, pcg( Marc)@goof(A.).(Lehmann )com wrote:
> > It seems that the md driver in striped mode does not parallelize any reads
> > under 2.4. The scenario is that I have 3 disks on different controllers
> > (different pci slots), so there should not be any ide bus contention.
> >
> > When I read any single disk (e.g. using hdparm or dd), I get 32MB/s. When
> > I read two of them at the same time, I get about 28MB/s for each disk.
> >
> > Under linux-2.2 using md and striping I get about 40-50MB/s, whereas, under
> > 2.4, the same raid gives about 30MB/s.
> >
> > I then reformatted the raid to have 2MB chunksize. If I look at the disk
> > LED's while reading from them (e.g. dd if=/dev/md3 bs=1024x1024x8), I see
> > that each disk is read in turn, while the other two disks are idle.
> >
> > so it looks as if md under 2.4 only reads disks in turn, which makes
> > striping useless as a performance tool.
> 
> For raid0, the md driver just redirects requests to the right drive.
> It doesn't explicitly serialise or parallelise anything. 2.4 works in
> exactly the same was as 2.2.
> 
> With a 2MB chunksize, I would expect a linear read to touch just one
> drive at a time.
> With a 4K chunk size, I suspect that an linear read would read from
> all the drives in parallel.
> You say that you reformatted to 2MB chunksize.  What did you reformat
> from?
> 
> NeilBrown

I experienced some performance loss when moving from kernel 2.4.4 to
2.4.7-ac3 regarding ide harddisks. I am useing the hpt ataraid driver
which does pretty much the same thing as the md disk striping driver.
I/O speed of the raid volume is about as fast as accessing a single
drive.
There were a lot of ide reports some time ago. Maybe they where problems
with concurrent I/O operations...?

Wilfried

  reply	other threads:[~2001-08-24 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-23 21:42 software raid does not do parallel reads under 2.4? Lehmann 
2001-08-24 10:25 ` Neil Brown
2001-08-24 17:01   ` Wilfried Weissmann [this message]
2001-08-24 17:14     ` Daryll Strauss
2001-08-24 20:23       ` Lehmann 
2001-08-24 20:22   ` Lehmann 

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=3B868874.B89B04DE@gmx.at \
    --to=wilfried.weissmann@gmx.at \
    --cc=linux-kernel@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