From: Mark Lord <liml@rtr.ca>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: linux-ide@vger.kernel.org
Subject: Re: strange hdparm results with serverworks and pata-serverworks
Date: Tue, 24 Feb 2009 08:29:30 -0500 [thread overview]
Message-ID: <49A3F63A.2080805@rtr.ca> (raw)
In-Reply-To: <49A30901.1@wpkg.org>
Tomasz Chmielewski wrote:
> I have a ProLiant BL30p G1 machine running Debian Lenny (2.6.26 kernel).
>
> It also has two identical, 2.5 inch WDC WD2500BEVE-00WZT0 IDE drives
> (new drives, no smart/badblock errors). Both drives are connected to a
> single IDE channel this machine has.
>
> "hdparm -t" gives me different results for these drives: ~10 MB/s for
> hda, and ~20 MB/s for hdb with "serverworks" driver on Debian's 2.6.26
> kernel.
> When using "pata-serverworks" with 2.6.28.7 kernel, hdparm shows the
> same results (~10 MB/s for sda, ~20 MB/s for sdb).
>
>
> However, when I run "dd if=/dev/sda of=/dev/null bs=64k", I can see with
> iostat that for the first 7-8 seconds, reads are with ~10 MB/s speed.
> Then, reads from sda are with ~20 MB/s or more and are on par with sdb.
>
> Similar dd test for sdb shows that it delivers with speed of ~20 MB/s
> from the first second.
>
> Is there an explanation for that?
..
Well, as you have shown, both hdparm and dd give the same results
when doing (almost) the same test: the first 3 seconds are slow.
After that, I would assume that the kernel read-ahead algorithms
kick in better and improve things.
But 10-20Mbytes/sec is slow for most modern drives,
even for 2.5" drives. Older ones, sure, that's fine,
but the newest 2.5" drives should score between 40
and 100Mbytes/sec.
The drive you listed is a WD 250GB mobile drive, PATA interface.
I have a very similar WD drive here (WD2500BEAS) that regularly
tops 60Mbytes/sec with "hdparm -t".
The difference could easily be in the chipset used to communicate
with the drive. You said "serverworks" driver, and "pata-serverworks".
The kernel start up logs will have more information,
including the timing info chosen by libata.
Cheers
next prev parent reply other threads:[~2009-02-24 13:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-23 20:37 strange hdparm results with serverworks and pata-serverworks Tomasz Chmielewski
2009-02-23 20:49 ` Greg Freemyer
2009-02-23 22:10 ` Tomasz Chmielewski
2009-02-24 13:29 ` Mark Lord [this message]
2009-02-24 18:37 ` Tomasz Chmielewski
2009-02-24 22:39 ` Mark Lord
2009-02-25 9:44 ` Tomasz Chmielewski
2009-02-25 16:26 ` Mark Lord
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=49A3F63A.2080805@rtr.ca \
--to=liml@rtr.ca \
--cc=linux-ide@vger.kernel.org \
--cc=mangoo@wpkg.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).