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



On Mon, 2006-05-08 at 17:22 +0200, Erik Mouw wrote:
On Mon, May 08, 2006 at 04:55:48PM +0200, Arjan van de Ven wrote:
On Mon, 2006-05-08 at 07:24 -0700, Martin J. Bligh wrote:
It's pretty harmless though. The "load average" thing just means that the
extra pdflush threads are twiddling thumbs waiting on some disk I/O -
they'll later exit and clean themselves up. They won't be consuming
significant resources.

If they're waiting on disk I/O, they shouldn't be runnable, and thus
should not be counted as part of the load average, surely?

yes they are, since at least a decade. "load average" != "cpu
utilisation" by any means. It's "tasks waiting for a hardware resource
to become available". CPU is one such resource (runnable) but disk is
another. There are more ...

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



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



Relevant Pages

  • Re: High load average on disk I/O on 2.6.17-rc3
    ... If they're waiting on disk I/O, they shouldn't be runnable, and thus ... CPU is one such resource but disk is ...
    (Linux-Kernel)
  • Re: High load average on disk I/O on 2.6.17-rc3
    ... If they're waiting on disk I/O, they shouldn't be runnable, and thus ... CPU is one such resource but disk is ... think of load as "if I bought faster hardware this would improve" ...
    (Linux-Kernel)
  • Re: How to programmatically avoid deadlock?
    ... There are four necessary conditions for deadlock to appear: ... Condition of waiting (threads hold some owned resource and wait to ... A non-blocking wait (where the thread can do other things while waiting) ...
    (comp.programming.threads)
  • Re: busy wait in an interrupt handler?
    ... What may an interrupt be other than a signal? ... If you spin waiting for a resource that is currently held by some ... available (which of course wastes CPU cycles). ...
    (comp.unix.programmer)
  • Re: limitations of forking on windows
    ... > Resource two needs to write new data and is waiting. ... haven't explained how this is a race condition. ... # matlab comment stripper (strips comments from Matlab m-files) ...
    (comp.lang.perl.misc)