public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: "H . J . Lu" <hjl@lucon.org>
Cc: Linux 1394 <linux1394-devel@lists.sourceforge.net>,
	linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Slow Disk I/O with QPS M3 80GB HD
Date: Wed, 12 Dec 2001 09:29:54 +0100	[thread overview]
Message-ID: <20011212092954.N4801@athlon.random> (raw)
In-Reply-To: <20011210203452.A3250@lucon.org> <20011210235708.A17743@lucon.org> <20011211154331.A32433@lucon.org>
In-Reply-To: <20011211154331.A32433@lucon.org>; from hjl@lucon.org on Tue, Dec 11, 2001 at 03:43:31PM -0800

On Tue, Dec 11, 2001 at 03:43:31PM -0800, H . J . Lu wrote:
> On Mon, Dec 10, 2001 at 11:57:08PM -0800, H . J . Lu wrote:
> > On Mon, Dec 10, 2001 at 08:34:52PM -0800, H . J . Lu wrote:
> > > I have a very strange problem. The disk I/O of my QPS M3 80GB HD is
> > > very slow under 2.4.10 and above. I got like 1.77 MB/s from hdparm.
> > > But under 2.4.9, I got 14 MB/s on the same hardware. A 30GB HD has
> > > consistent I/O performance under 2.4.9 and above on the same bus. Has
> > > anyone else seen this? Does anyone have a large (>= 80GB) 1394 HD?
> > > 
> > 
> > I did a binary search. 2.4.10-pre10 is the last good kernel. I got
> > 
> > # hdparm -t /dev/sda
> > 
> > /dev/sda:
> >  Timing buffered disk reads:  64 MB in  4.40 seconds = 14.55 MB/sec
> > 
> > Even since 2.4.10-pre11 up to 2.4.16, I got about 1.77 MB/sec on the
> > same hardware. However, I don't have problems with 80GB IDE HD. Has
> > anyone seen I/O problems on large (>= 80GB) SCSI HD or HD with SCSI
> > emulation?
> 
> I tracked own the problem to 40_blkdev-pagecache-17 in the 2.4.10
> pre10aa1 patch. When it is applied, the disk I/O on some drives become
> very slow. It not only happens to my 80GB 1394 HD, but also the second
> IDE drive. Before the patch
> 
> # hdparm -t /dev/hdd
> 
> /dev/hdd:
>  Timing buffered disk reads:  64 MB in  8.02 seconds =  7.98 MB/sec
> 
> After the patch
> 
> # hdparm -t /dev/hdd
> 
> /dev/hdd:
>  Timing buffered disk reads:  64 MB in 21.09 seconds =  3.03 MB/sec
> 
> The slow down is not as bad as 1394. But it is still very significant.
> I couldn't figure out why it only affects certain drives.

do you have a 4k filesystm mounted on /dev/hdd? if so then you will get
the same performance with latest 2.4 (precisely after 2.4.1).

Andrea

  reply	other threads:[~2001-12-12  8:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20011210203452.A3250@lucon.org>
2001-12-11  7:57 ` Slow Disk I/O with QPS M3 80GB HD H . J . Lu
2001-12-11 16:05   ` Ben Collins
2001-12-11 16:45     ` H . J . Lu
2001-12-11 17:05       ` Ben Collins
2001-12-11 17:20         ` H . J . Lu
2001-12-11 23:43   ` H . J . Lu
2001-12-12  8:29     ` Andrea Arcangeli [this message]
2001-12-12 23:38       ` H . J . Lu
2001-12-12 23:49         ` Andrea Arcangeli
2001-12-13  0:11           ` H . J . Lu

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=20011212092954.N4801@athlon.random \
    --to=andrea@suse.de \
    --cc=hjl@lucon.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    /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