Re: 2.6.21.1 - 97% wait time on IDE operations

From: Ray Lee
Date: Sat May 26 2007 - 11:13:19 EST


On 5/26/07, 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

You may have DMA turned on, but it may be ineffectual if you don't
have the right IDE driver handing your disk.

time is 90+% , which means that machine is waiting, rather than doing
something meanwhile. (I guess).

What does hdparm -tT /dev/hda say? If the numbers are reasonable
(~400MB/s for cache reads, ~25MB/s for buffered disk reads), then
you're just doing a lot of seeking on the drive, and that takes a long
time. (Drives can seek about 100 times a second. If every seek reads
only 4k of data, that's 400k of data processed per second, or a lot of
time spent with the CPU waiting on I/O.)
-
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/