From: Richard Michael <rmichael-raid@edgeofthenet.org>
To: linux-raid@vger.kernel.org
Subject: Slow RAID5 build on ata_piix vs. fast on sata_mv
Date: Mon, 8 Sep 2008 13:50:21 -0400 [thread overview]
Message-ID: <20080908175021.GA7730@nexus.edgeofthenet.org> (raw)
On kernel 2.6.26.3 with mdadm 2.6.7, I'm building two RAID5 arrays of
three drives each from six Seagate 1TB drives (ST31000340NS) on two
different controllers.
Initial creation is rather slow for the array of disks on onboard
controller, about ~17MB/sec. The creation of the array on the PCI-X
controller was much faster, about ~90MB/sec. (Note: the creation is
sequential, I'm not creating these two arrays simultaneously.)
Three drives on one array are connected to the onboard SATA controller of
an Asus P5EWS Pro motherboard. lspci shows me two IDE interfaces, one
four port and the other two port which I suppose correspond, in total,
to the six onboard ports:
Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH)
4 port SATA IDE Controller (rev 02)
Intel Corporation 82801I (ICH9 Family)
2 port SATA IDE Controller (rev 02)
They both use the ata_piix kernel module.
The other controller is an eight port SuperMicro PCI-X controller,
AOC-SAT2-MV8, which has been mentioned on the list in the past:
Marvell Technology Group Ltd. 88SE6145 SATA II PCI-E controller (rev a1)
It uses the sata_mv kernel module.
I've created both RAID5 arrays with default parameters, using simply:
mdadm --create /dev/md2 --raid-devices=3 --level=raid5
/dev/sdd2 /dev/sde2 /dev/sdf2
hdparm shows me all drives are using udma6 (e.g. "hdparm -i /dev/sda"),
so I don't think it's a DMA issue (anyway, I've read all SATA drives use
DMA.. ?).
It seems like a controller issue. Perhaps a different driver is
available for the onboard Intel controller; or some tunables in libata?
Any suggestions?
Thanks,
Richard
next reply other threads:[~2008-09-08 17:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-08 17:50 Richard Michael [this message]
2008-09-08 21:32 ` Slow RAID5 build on ata_piix vs. fast on sata_mv Richard Michael
2008-09-16 3:16 ` Richard Michael
2008-09-16 23:11 ` Richard Scobie
2008-09-17 14:44 ` Richard Michael
2008-09-17 19:34 ` Richard Scobie
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=20080908175021.GA7730@nexus.edgeofthenet.org \
--to=rmichael-raid@edgeofthenet.org \
--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).