Messages in this thread | | | From | "Miquel van Smoorenburg" <> | Subject | Re: High load average on disk I/O on 2.6.17-rc3 | Date | Mon, 8 May 2006 16:02:46 +0000 (UTC) |
| |
In article <20060508154217.GH1875@harddisk-recovery.com>, Erik Mouw <erik@harddisk-recovery.com> wrote: >On Mon, May 08, 2006 at 05:31:29PM +0200, Arjan van de Ven wrote: >> On Mon, 2006-05-08 at 17:22 +0200, Erik Mouw 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. > >They did not or at least to a much lesser extent.
I just looked at the 2.4.9 (random 2.4 kernel) source code, and kernel/timer.c::count_active_tasks(), which is what calculates the load average, uses the same algorithm as in 2.6.16
Mike.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |