Re: 2.6.21.1 - 97% wait time on IDE operations

From: Paolo Ornati
Date: Sat May 26 2007 - 11:57:28 EST


On Sat, 26 May 2007 16:07:49 +0200
Tommy Vercetti <vercetti@xxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/