All of lore.kernel.org
 help / color / mirror / Atom feed
From: Derek Taubert <taubert@geeks.org>
To: Tejun Heo <htejun@gmail.com>
Cc: Derek Taubert <taubert@geeks.org>, linux-ide@vger.kernel.org
Subject: Re: Bad write performance with libata-tj-stable-2.6.17.4-20060710, pcmcia based sata_sil24, PMP, and NCQ drive
Date: Tue, 29 Aug 2006 00:54:54 -0700	[thread overview]
Message-ID: <20060829075454.GA22899@geeks.org> (raw)
In-Reply-To: <20060829045816.GA21746@geeks.org>

On Mon, Aug 28, 2006 at 09:58:16PM -0700, Derek Taubert wrote:
> On Tue, Aug 29, 2006 at 11:39:57AM +0900, Tejun Heo wrote:
> > The result doesn't seem to indicate any problem in libata or any storage 
> > related kernel subsystem.  I would track down the reader first.
> 
> This drive has only been partitioned; there is no filesystem on it.  So,
> it certainly isn't mounted anywhere.  There honestly isn't _anything_
> other than the dd going on to sda1, and that's the only partition on
> sda.
> 
> After starting dd:
> 
> # fuser -v /dev/sda1
> 
>                      USER        PID ACCESS COMMAND
> /dev/sda1            root      21753 f....  dd
> 
> avg-cpu:  %user   %nice    %sys %iowait   %idle
>            0.90    0.00   11.01   88.09    0.00
> 
> Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
> sda            1306.61      1295.60      1310.11      12943      13088

Another thought about this...

The sd cache_type is set to "write back" for this drive.  I suspect that
the reads are coming from the block driver attempting to fill lines.

# cat /sys/bus/scsi/devices/0:0:0:0/scsi_disk:0:0:0:0/cache_type
write back

Also, a problem here:

# echo "none" > /sys/bus/scsi/devices/0:0:0:0/scsi_disk:0:0:0:0/cache_type
echo: write error: invalid argument

dmesg says:

sda: Current: sense key: Illegal Request
    Additional sense: Invalid field in cdb

Derek

  reply	other threads:[~2006-08-29  7:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-28 23:01 Bad write performance with libata-tj-stable-2.6.17.4-20060710, pcmcia based sata_sil24, PMP, and NCQ drive Derek Taubert
2006-08-29  2:39 ` Tejun Heo
2006-08-29  4:58   ` Derek Taubert
2006-08-29  7:54     ` Derek Taubert [this message]
2006-08-29 13:35       ` Tejun Heo
2006-08-29 13:27     ` Tejun Heo
2006-08-29 16:44       ` Derek Taubert
2006-08-29 21:24         ` Jeff Garzik
2006-09-01 13:32         ` Tejun Heo
2006-09-01 17:24           ` Derek Taubert
2006-09-02  5:34             ` Derek Taubert
2006-09-03  6:26               ` Derek Taubert
2006-09-03 19:03                 ` Tejun Heo
2006-09-03 20:04                   ` Derek Taubert
2006-09-28 22:07                     ` Derek Taubert
2006-08-29 14:07   ` Greg Freemyer

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=20060829075454.GA22899@geeks.org \
    --to=taubert@geeks.org \
    --cc=htejun@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 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.