Re: 2.6.21.1 - 97% wait time on IDE operations

From: Paolo Ornati
Date: Sat May 26 2007 - 09:53:54 EST


On Sat, 26 May 2007 15:05:38 +0200
Tommy Vercetti <vercetti@xxxxxxxx> wrote:

> I was trying to get answer to my question around, but no one knows.
> I do have DMA turned on, etc, yet - on extensive harddrive operations wait
> time is 90+% , which means that machine is waiting, rather than doing
> something meanwhile. (I guess).
> Can someone describe to me , in more detail why is that happening, and what
> steps should I consider to avoid it ? I couldn't find any answers that would
> have help me on net.

It means that the disk is slow and the CPU is fast... so while the disk
is busy seeking and reading data the CPU has nothing to do but wait for
it.

Idle == CPU has nothing to do
Waiting == CPU has nothing to do, but it will have as soon as the slow
disk (or whatever) delivers data


Anyway 97% is quite high... what CPU / Hard Disk do you have?

What kernel version?
I/O scheduler? (cat /sys/block/DEVICE/queue/scheduler)
Filesystem?

And what time of "operations" are you doing?

--
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/