public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Ornati <ornati@fastwebnet.it>
To: Tommy Vercetti <vercetti@zlew.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.21.1 - 97% wait time on IDE operations
Date: Sat, 26 May 2007 17:56:36 +0200	[thread overview]
Message-ID: <20070526175636.54f5a0ea@localhost> (raw)
In-Reply-To: <200705261607.49416@gj-laptop>

On Sat, 26 May 2007 16:07:49 +0200
Tommy Vercetti <vercetti@zlew.org> wrote:

> > Anyway 97% is quite high... what CPU / Hard Disk do you have?  
> Intel(R) Pentium(R) M processor 1400MHz
> TOSHIBA MK8025GAS
> 
> > What kernel version?  
> 2.6.21.1
> > I/O scheduler? (cat /sys/block/DEVICE/queue/scheduler)  
> gj@puppet:~$ cat /sys/block/hda/queue/scheduler
> noop anticipatory deadline [cfq]
> 
> > Filesystem?  
> reiser3
> > And what time of "operations" are you doing?  
> apt-get install, vmware

It's probably just a slow disk... try hdparm as suggested by Ray and
see if they look sane (PS: just seen the numbers and looks sane to me).

If they are and you need more performance buy a better HD :)

Improvements from kernel side are possible but don't expect too much.


Things to check/try:

1) FS: is it in good shape? Or is it full and fragmented?

2) FS mount options, try adding everything that can reduce accesses
(noatime, nodiratime)

3) try experimental patches such as Adaptive Readahead, it seems to
help some workload (it was there in older -mm, now there's a much
simplier readahead replacement in 2.6.22-rc2-mm1 called "on-demand
readahead", maybe that helps too?)

-- 
	Paolo Ornati
	Linux 2.6.22-rc3-cfs-v14-gf193016a on x86_64

  reply	other threads:[~2007-05-26 15:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-26 13:05 2.6.21.1 - 97% wait time on IDE operations Tommy Vercetti
2007-05-26 13:52 ` Paolo Ornati
2007-05-26 14:07   ` Tommy Vercetti
2007-05-26 15:56     ` Paolo Ornati [this message]
2007-05-26 14:39 ` Julio M. Merino Vidal
2007-05-26 15:13 ` Ray Lee
2007-05-26 15:46   ` Tommy Vercetti
2007-05-26 16:07     ` Ray Lee
2007-05-27 10:22       ` Tommy Vercetti
2007-05-27 12:02         ` Alan Cox
2007-05-27 18:17           ` Clemens Koller
2007-05-28  9:51           ` Benny Amorsen
2007-05-28 19:22             ` Alan Cox
2007-05-26 15:23 ` Guillaume Chazarain
2007-05-29 20:32 ` Bill Davidsen

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=20070526175636.54f5a0ea@localhost \
    --to=ornati@fastwebnet.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vercetti@zlew.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox