linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Greg Freemyer <greg.freemyer@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: strange hdparm results with serverworks and pata-serverworks
Date: Mon, 23 Feb 2009 23:10:32 +0100	[thread overview]
Message-ID: <49A31ED8.1030105@wpkg.org> (raw)
In-Reply-To: <87f94c370902231249of8c9dc3p80ae280ef09b0b94@mail.gmail.com>

Greg Freemyer schrieb:

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

> Just a guess, but I would bet you have some sector remapping going on
> in the early portion of the 10/MB/sec drive.
> 
> Thus once dd gets based the area that has remapped sectors, it speeds up.
> 
> When reading the slow LBA sectors, the head is actually having to seek
> back and forth from the primary sector area out to the spares area.
> I've seen that before.

There is some logic in this, but:

- smartctl doesn't show any remappings - AFAIK it should?

- there are some more of these HP ProLiant BL30p G1 blades here - some 
show this behaviour, some don't (i.e., both drives are as fast from the 
very beginning). Always the first drive shows this behaviour.

Could be an issue with these WDC WD2500BEVE-00WZT0 drives when they are 
connected as master? Why the issue doesn't show up on all such blades?

> FYI: I saw a drive last week that had over 10% of the first 200
> sectors bad.  After that all was good.  The drive I was looking at was
> several years old and remapping had not been triggered, so it was
> obvious what was going on when I ran dd to try and read the entire
> drive.


-- 
Tomasz Chmielewski
http://wpkg.org


  reply	other threads:[~2009-02-23 22:10 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 [this message]
2009-02-24 13:29 ` Mark Lord
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=49A31ED8.1030105@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=greg.freemyer@gmail.com \
    --cc=linux-ide@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).