public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: Mark Lord <lkml@rtr.ca>
Cc: Chris Snook <csnook@redhat.com>, Paa Paa <paapaa125@hotmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Lower HD transfer rate with NCQ enabled?
Date: Mon, 09 Apr 2007 10:46:40 -0400	[thread overview]
Message-ID: <461A51D0.3000708@cfl.rr.com> (raw)
In-Reply-To: <46151FCD.6000700@rtr.ca>

Mark Lord wrote:
> Phillip Susi wrote:
>> Sounds like this is a serious bug in the WD firmware.
> 
> For personal systems, yes.  For servers, probably not a bug.
> 
> Disabling readahead means faster execution queued commands,
> since it doesn't have to "linger" and do unwanted read-ahead.
> So this bug is a "feature" for random access servers.
> And a big nuisance for everything else.

I think you misunderstand the bug.  The bug is not that the drive 
disables internal readahead; the bug is that host supplied readahead 
requests work so horribly.  It is a good thing that the drive allows the 
host to control the readahead, but something is wrong if the drive's 
readahead is WAY better than any the host can perform.


In other words, if the host is sending down multiple sequential reads 
such that the queue always has a request for the next sector, the drive 
should be hitting its maximum physical transfer rate.  If it doesn't, 
then something is very broken with its firmware.

It is still possible though, that the kernel is simply not issuing its 
own readahead effectively so the queue ends up empty at times and the 
disk goes idle.  This would be worth investigating before letting WD 
know they have a serious firmware problem.

  parent reply	other threads:[~2007-04-09 14:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-03  7:11 Lower HD transfer rate with NCQ enabled? Paa Paa
2007-04-03  9:18 ` Nick Piggin
2007-04-03 21:31   ` Paa Paa
2007-04-04  2:06     ` Nick Piggin
2007-04-06 21:33     ` Bill Davidsen
2007-04-03 16:31 ` Chris Snook
2007-04-03 16:47   ` Mark Lord
2007-04-03 19:17     ` Phillip Susi
2007-04-04 15:36       ` Mark Lord
2007-04-05 15:30         ` Phillip Susi
2007-04-05 16:11           ` Mark Lord
2007-04-05 16:45             ` Lennart Sorensen
2007-04-09 14:46             ` Phillip Susi [this message]
2007-04-10  3:58               ` Mark Lord
  -- strict thread matches above, loose matches on Subject: below --
2007-04-05 16:26 Paa Paa

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=461A51D0.3000708@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=csnook@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=paapaa125@hotmail.com \
    /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