From: <pcg@goof.com ( Marc) (A.) (Lehmann )>
To: linux-kernel@vger.kernel.org
Cc: oesi@plan9.de
Subject: software raid does not do parallel reads under 2.4?
Date: Thu, 23 Aug 2001 23:42:18 +0200 [thread overview]
Message-ID: <20010823234218.B12873@cerebro.laendle> (raw)
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.
hdparm for all drives looks like this:
cerebro:/tmp# hdparm /dev/hde
/dev/hde:
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 23988/16/63, sectors = 156301487, start = 0
two of the disks use a promise ultra tx2 controller, one the older ultra
100, and all run at udma 100.
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
next reply other threads:[~2001-08-23 21:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-23 21:42 Lehmann [this message]
2001-08-24 10:25 ` Neil Brown
2001-08-24 17:01 ` Wilfried Weissmann
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=20010823234218.B12873@cerebro.laendle \
--to=pcg@goof.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oesi@plan9.de \
/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
all inboxes | Powered by JetHome®