Re: High load average on disk I/O on 2.6.17-rc3

From: Martin Bligh
Date: Mon May 08 2006 - 22:02:02 EST


Nick Piggin wrote:
Arjan van de Ven wrote:

... except that any kernel < 2.6 didn't account tasks waiting for disk
IO.


they did. It was "D" state, which counted into load average.


Perhaps kernel threads in D state should not contribute toward load avg.

Userspace does not care whether there are 2 or 20 pdflush threads waiting
for IO. However, when the network/disks can no longer keep up, userspace
processes will end up going to sleep in writeback or reclaim -- *that* is
when we start feeling the load.

Personally I'd be far happier having separated counters for both. Then
we can see what the real bottleneck is. Whilst we're at it, on a per-cpu
and per-elevator-queue basis ;-)

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