From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Linda Walsh <lkml@tlinx.org>
Cc: Robert Hancock <hancockr@shaw.ca>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: SATA kernel-buffered read VERY slow (not raid, Promise TX300 card); 2.6.23.1(vanilla)
Date: Tue, 1 Jan 2008 01:58:12 +0000 [thread overview]
Message-ID: <20080101015812.59e9ebf0@the-village.bc.nu> (raw)
In-Reply-To: <4779870E.5070507@tlinx.org>
> rate began falling and at 128k block-reads-at-a-time or larger, it drops
> below
> 20MB/s (again, only on buffered SATA). It's hard to imagine what would
> slow down buffered SATA reads but not ATA and SCSI reads of the same
> size. I'm using the 'cfq' scheduler with everything running at default
Try disabling NCQ - see if you've got a drive with the 'NCQ = no
readahead' flaw.
> priorities, but again, why only SATA slowness? It seems that at the driver
> level, using direct reads, the SATA disk has the highest read rate (near
> 80MB/s).
Beats me - something is wrong that your setup triggers - could be
firmware funnies or Linux ones.
> The only way I could tell before was using hdparm to read the
> parameters.
> Since that doesn't work, it's hard to tell if they are set correctly,
> but given
hdparm supports identify to read modes on drives with libata. The one
thing you cannot do is force modes right now.
> More importantly, how does one set parameters for acoustic and power
> saving parameters? Some of my disks are used as 'backup' devices for my
hdparm or blktool
> other computers. With the ATA disks, they were kept "spun down" when not
> being used (only used, 'normally', in early AM hours).
Well for backup devices you can use the fact SATA is hot/warm plug.
> Another new "problem" (not as important) -- even though SATA disks are
> called with "sdX", my ATA disks that *were* at hda-hdc are now at hde-hdg.
NOTABUG - your BIOS has decided to move them from the legacy addresses so
they move from hda-d to e-g.
next prev parent reply other threads:[~2008-01-01 2:14 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.6TIOCGhBpW0r4XW9rqR+Ad8P+Js@ifi.uio.no>
2007-12-30 18:16 ` SATA buffered " Robert Hancock
2008-01-01 0:19 ` SATA kernel-buffered " Linda Walsh
2008-01-01 0:32 ` Robert Hancock
2008-01-01 16:06 ` Mark Lord
2008-01-01 1:45 ` Holger Hoffstaette
2008-01-02 18:40 ` Linda Walsh
2008-01-03 17:54 ` Holger Hoffstaette
2008-01-01 1:58 ` Alan Cox [this message]
2008-01-02 20:09 ` Linda Walsh
2008-01-03 0:25 ` Robert Hancock
2008-01-03 4:25 ` Linda Walsh
2008-01-03 8:37 ` Mikael Pettersson
2008-01-04 2:37 ` Re:Believed resolved: SATA kern-buffRd read slow: based on promise driver bug Linda Walsh
2008-01-04 2:49 ` Believed " Robert Hancock
2008-01-04 11:23 ` Mikael Pettersson
2008-01-06 20:21 ` Believed " Linda Walsh
2008-01-09 2:30 ` Tejun Heo
[not found] <fa.o9uy6Qaq3PtHs2Z9lAKGUKvD85I@ifi.uio.no>
[not found] ` <fa.1kDEq2SPE3FqpM5Mfw9CVGbvVdY@ifi.uio.no>
[not found] ` <fa.hIZ5+XhGRugySB/HuLxr5qd6gAY@ifi.uio.no>
[not found] ` <fa.iefWPg3R6g5Pnm/ktSCK9XWVFVw@ifi.uio.no>
[not found] ` <fa.FhpaleM/osLTMJ85/PuxjxyJeGI@ifi.uio.no>
[not found] ` <fa.MP5rgMp4TS2+Cfemd/uFOQOuquQ@ifi.uio.no>
2008-01-04 2:35 ` SATA kernel-buffered read VERY slow (not raid, Promise TX300 card); 2.6.23.1(vanilla) Robert Hancock
2008-01-04 2:43 ` Linda Walsh
2008-01-04 2:56 ` Robert Hancock
2008-01-06 20:25 ` Linda Walsh
2008-01-06 21:30 ` Mehmet Kemal EROL
2008-01-06 22:43 ` Alan Cox
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=20080101015812.59e9ebf0@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@tlinx.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
all inboxes | Powered by JetHome®