From: Robert Hancock <hancockr@shaw.ca>
To: Linda Walsh <lkml@tlinx.org>
Cc: Robert Hancock <hancockr@shaw.ca>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
LKML <linux-kernel@vger.kernel.org>,
linux-ide@vger.kernel.org
Subject: Re: SATA kernel-buffered read VERY slow (not raid, Promise TX300 card); 2.6.23.1(vanilla)
Date: Thu, 03 Jan 2008 20:35:26 -0600 [thread overview]
Message-ID: <477D9B6E.7060000@shaw.ca> (raw)
In-Reply-To: <fa.MP5rgMp4TS2+Cfemd/uFOQOuquQ@ifi.uio.no>
Linda Walsh wrote:
> Robert Hancock wrote:
>> Linda Walsh wrote:
>>> Alan Cox wrote:
>>>>> rate began falling; at 128k block-reads-at-a-time or larger, it
>>>>> drops below
>>>>> 20MB/s (only on buffered SATA).
>>>> Try disabling NCQ - see if you've got a drive with the 'NCQ = no
>>>> readahead' flaw.
>> http://linux-ata.org/faq.html#ncq
> ---
> When drive initializes, dmesg says it has NCQ (depth 0/32)
> Reading the queue_depth under /sys, shows a queuedepth of "1".
Looks like your controller (or at least the Linux driver) doesn't
actually support NCQ.
>>> 2) Drive Advanced Power Management setting("-B") (write-only):
>>> "HDIO_DRIVE_CMD failed: Input/output error"
>>> 3) Drive Acoustic ("-M"), read = " acoustic = not supported",
>>> write = " HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error"
>>
>> Not sure about these ones.. Does anything show up in dmesg when you do
>> this?
> ---
> Yes:
> (for "-B", power-management)
> ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata1.00: port_status 0x20200000
> ata1.00: cmd ef/05:fe:00:00:00/00:00:00:00:00/40 tag 0 cdb 0x0 data 0
> res 51/04:fe:00:00:00/00:00:00:00:00/40 Emask 0x1 (device error)
> ata1.00: configured for UDMA/133
> ata1: EH complete
> sd 1:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
> sd 1:0:0:0: [sdb] Write Protect is off
> sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> ----
> (for "-M" acoustic management):
> ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata1.00: port_status 0x20200000
> ata1.00: cmd ef/42:fe:00:00:00/00:00:00:00:00/40 tag 0 cdb 0x0 data 0
> res 51/04:fe:00:00:00/00:00:00:00:00/40 Emask 0x1 (device error)
> ata1.00: configured for UDMA/133
> ata1: EH complete
> sd 1:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
> sd 1:0:0:0: [sdb] Write Protect is off
> sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
Looks like the drive reports ERR/ABRT (command aborted), meaning it
likely doesn't support those commands.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
next parent reply other threads:[~2008-01-04 2:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 ` Robert Hancock [this message]
2008-01-04 2:43 ` SATA kernel-buffered read VERY slow (not raid, Promise TX300 card); 2.6.23.1(vanilla) 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
[not found] ` <fa.K6LghyRzngM8LZiR3Md+1999xh4@ifi.uio.no>
[not found] ` <fa.7jD9zpCEjhqr9wMenw8PLx0AHyY@ifi.uio.no>
[not found] ` <fa.vg33sDPLrdDUNnRMIgKMOA12eKs@ifi.uio.no>
[not found] ` <fa.leUU92dZvqrjftqKQxk4q8qTM64@ifi.uio.no>
2008-01-07 4:11 ` Believed resolved: SATA kern-buffRd read slow: based on promise driver bug Robert Hancock
[not found] <fa.6TIOCGhBpW0r4XW9rqR+Ad8P+Js@ifi.uio.no>
2007-12-30 18:16 ` SATA buffered read VERY slow (not raid, Promise TX300 card); 2.6.23.1(vanilla) 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
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
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=477D9B6E.7060000@shaw.ca \
--to=hancockr@shaw.ca \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-ide@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.