From owner-cvs-src@FreeBSD.ORG Sat Jan 31 22:45:46 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E237716A4CE; Sat, 31 Jan 2004 22:45:46 -0800 (PST) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id D912743D3F; Sat, 31 Jan 2004 22:45:43 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9p2/8.12.9) with ESMTP id i116jW7E096596; Sat, 31 Jan 2004 22:45:37 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200402010645.i116jW7E096596@gw.catspoiler.org> Date: Sat, 31 Jan 2004 22:45:32 -0800 (PST) From: Don Lewis To: bde@zeta.org.au In-Reply-To: <20040201165625.U7412@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: cvs-src@FreeBSD.org cc: jeff@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sched_4bsd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 06:45:47 -0000 On 1 Feb, Bruce Evans wrote: > On Sat, 31 Jan 2004, Don Lewis wrote: >> I was suprised to find that processes in disk wait are no longer counted >> towards the load average. This happened in rev 1.163 of kern_synch.c, >> which was committed more than two years ago. >> >> Even if CPU time is available, a machine with a lot of processes stuck >> in disk wait is going to feel slow ... > > They were never counted AFAIK. Isn't this one of the main visible > differences between BSD and Linux? I think SunOS 4.x also counts this. > Rev.1.163 ov kern_synch.c just moved > stuff. The change before this in rev.1.59 of vm_meter.c is more likely > to have changed this but was supposed to just remove dead code. Yup, I missed the change in 1.59. I did a binary search to find the version in vm_meter.c and found a slightly older version before the SSLEEP code had been removed.