Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932414AbWEHQCs (ORCPT ); Mon, 8 May 2006 12:02:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932409AbWEHQCs (ORCPT ); Mon, 8 May 2006 12:02:48 -0400 Received: from ncc1701.cistron.net ([62.216.30.38]:59047 "EHLO ncc1701.cistron.net") by vger.kernel.org with ESMTP id S932414AbWEHQCr (ORCPT ); Mon, 8 May 2006 12:02:47 -0400 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) Organization: Cistron Message-ID: References: <200605051010.19725.jasons@pioneer-pra.com> <20060508152255.GF1875@harddisk-recovery.com> <1147102290.2888.41.camel@laptopd505.fenrus.org> <20060508154217.GH1875@harddisk-recovery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ncc1701.cistron.net 1147104166 32506 194.109.0.112 (8 May 2006 16:02:46 GMT) X-Complaints-To: abuse@cistron.nl X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: mikevs@n2o.xs4all.nl (Miquel van Smoorenburg) To: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 868 Lines: 16 In article <20060508154217.GH1875@harddisk-recovery.com>, Erik Mouw 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/