From owner-cvs-src@FreeBSD.ORG Sat Jan 31 20:01:29 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 824DE16A4CE; Sat, 31 Jan 2004 20:01:29 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C9B43D4C; Sat, 31 Jan 2004 20:01:21 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id i1141K392123; Sat, 31 Jan 2004 23:01:20 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sat, 31 Jan 2004 23:01:20 -0500 (EST) From: Jeff Roberson To: Don Lewis , In-Reply-To: <200402010335.i113Yt7E096311@gw.catspoiler.org> Message-ID: <20040131230048.A36463-100000@mail.chesapeake.net> 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 04:01:29 -0000 On Sat, 31 Jan 2004, Don Lewis wrote: > On 31 Jan, Jeff Roberson wrote: > > jeff 2004/01/31 18:46:47 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/kern sched_4bsd.c > > Log: > > - Keep a variable 'sched_tdcnt' that is used for the local implementation > > of sched_load(). This variable tracks the number of running and runnable > > non ithd threads. This removes the need to traverse the proc table and > > discover how many threads are runnable. > > 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 ... > I wonder if iedowse has anything to say about this.. Cheers, Jeff