public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Zary <linux@rainbow-software.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
	Grant Coady <grant_lkml@dodo.com.au>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Odd IDE performance drop 2.4 vs 2.6?
Date: Mon, 13 Jun 2005 19:01:20 +0200	[thread overview]
Message-ID: <42ADBBE0.1030901@rainbow-software.org> (raw)
In-Reply-To: <1118675343.13773.1.camel@localhost.localdomain>

Alan Cox wrote:
> On Llu, 2005-06-13 at 15:06, Nick Piggin wrote:
> 
>>>Make sure you have pre-empt disabled and the antcipatory I/O scheduler
>>>disabled. 
>>>
>>
>>I don't think that those could explain it.
> 
> 
> Try it and see. The anticipatory I/O scheduler does horrible things to
> my IDE streaming performance numbers and to swap performance. It tries
> to merge I/O by delaying it which is deeply ungood when it comes to IDE
> streaming even if its good for general I/O.

Changing the scheduler did not help (the results are about the same with 
any of the 4 schedulers). Read ahead is already set to 256 (increasing 
to 1024 did not help either). Kernel compilation takes too much time 
here so I didn't test with preempt disabled.
The drive is WD300BB (7200RPM) in UDMA2 mode.

root@pentium:~# cat /sys/block/hda/queue/scheduler
noop anticipatory [deadline] cfq
root@pentium:~# hdparm -tT /dev/hda

/dev/hda:
  Timing cached reads:   176 MB in  2.00 seconds =  88.00 MB/sec
  Timing buffered disk reads:   34 MB in  3.02 seconds =  11.26 MB/sec
root@pentium:~# hdparm /dev/hda

/dev/hda:
  multcount    = 16 (on)
  IO_support   =  1 (32-bit)
  unmaskirq    =  1 (on)
  using_dma    =  1 (on)
  keepsettings =  1 (on)
  readonly     =  0 (off)
  readahead    = 256 (on)
  geometry     = 58168/16/63, sectors = 58633344, start = 0


-- 
Ondrej Zary

  reply	other threads:[~2005-06-13 17:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-13  4:03 Odd IDE performance drop 2.4 vs 2.6? Grant Coady
2005-06-13 10:43 ` Ondrej Zary
2005-06-13 13:39   ` Alan Cox
2005-06-13 14:06     ` Nick Piggin
2005-06-13 15:09       ` Alan Cox
2005-06-13 17:01         ` Ondrej Zary [this message]
2005-06-13 20:25         ` Jens Axboe
2005-06-14  2:20         ` Nick Piggin
2005-06-15 19:15         ` Ondrej Zary
2005-06-17 12:40           ` Alan Cox
2005-06-17 13:43             ` Ondrej Zary
2005-06-13 18:13     ` Grant Coady

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=42ADBBE0.1030901@rainbow-software.org \
    --to=linux@rainbow-software.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=grant_lkml@dodo.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    /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