mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Athanasius <link@gurus.tf>
To: Rob Speer <rob@twcny.rr.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.20-pre2-ac4 IDE is slow
Date: Fri, 23 Aug 2002 12:01:52 +0100	[thread overview]
Message-ID: <20020823110152.GA8561@miggy.org.uk> (raw)
In-Reply-To: <20020822175945.GA743@twcny.rr.com>

[-- Attachment #1: Type: text/plain, Size: 1948 bytes --]

On Thu, Aug 22, 2002 at 01:59:45PM -0400, Rob Speer wrote:
> I'm going from 2.4.19 to 2.4.20-pre2-ac4 and the hard drive is noticably
> slower in the new version. (It doesn't use DMA in either version - I
> wish it did in ac4, but that's a separate problem.)
> 
> What I seem to remember from the other message is that there's some
> parameter that can be changed to bring the speed back up. Could someone
> tell me what it is?
> 
> 
> If it helps: output of hdparm /dev/hda
> 
> /dev/hda:
>  multcount    =  0 (off)
>  IO_support   =  0 (default 16-bit)

  This could be part of the problem too?  I don't think I set anything
specific to get to 32bit on my system.  Hmmm, the multcount too?
I'm starting to think, if this is your output from 2.4.20-pre2-ac4 that
you're hitting a bug in the current code which is REALLY not doing the
right thing for your controller.

>  unmaskirq    =  0 (off)
   ^^^^^^^^^^^^^^^^^^^^^^^

  Try hdparm -u1 /dev/hda

>  using_dma    =  0 (off)

  And may as well use -d1 too if it works on the device (yes, I know you
said neither kernel enabled it per default).  Then you're after finding
which DMA mode the IDE bus and drive can do, 'man hdparm' for the
possible values (like -X69 if it's all ATA100 capable for UDMA5).
  With a 60GB Maxtor and an 80pin cable I use:

	/sbin/hdparm -u1 -d1 -X69 /dev/hda

root@emelia:~# hdparm -t -T /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.52 seconds =246.15 MB/sec
 Timing buffered disk reads:  64 MB in  2.03 seconds = 31.53 MB/sec

Although I'm wondering if with ATA100 and UDMA5 I should be seeing even
better than that.

HTH,

-Ath
-- 
- Athanasius = Athanasius(at)miggy.org.uk / http://www.clan-lovely.org/~athan/
                  Finger athan(at)fysh.org for PGP key
	   "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

      parent reply	other threads:[~2002-08-23 10:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22 17:59 Rob Speer
2002-08-22 19:50 ` Samuel Flory
2002-08-22 21:24   ` Rob Speer
2002-08-23 11:01 ` Athanasius [this message]

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=20020823110152.GA8561@miggy.org.uk \
    --to=link@gurus.tf \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob@twcny.rr.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

all inboxes | Powered by JetHome®