From owner-freebsd-questions Mon Feb 4 9: 6:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sawfish.dhsnames.com (sawfish.dhsnames.com [63.175.98.34]) by hub.freebsd.org (Postfix) with ESMTP id C432237B42A for ; Mon, 4 Feb 2002 09:06:11 -0800 (PST) Received: from aworklan001038.netvigator.com ([203.198.151.38] helo=yusufg.portal2.com) by sawfish.dhsnames.com with smtp (Exim 3.34 #2) id 16XmZp-0004ki-00 for freebsd-questions@freebsd.org; Mon, 04 Feb 2002 17:06:46 +0000 Received: (qmail 11618 invoked by uid 500); 4 Feb 2002 17:06:00 -0000 Date: Tue, 5 Feb 2002 01:06:00 +0800 From: Yusuf Goolamabbas To: freebsd-questions@freebsd.org Subject: Does loadavg on FreeBSD reflect processes in disk-wait state Message-ID: <20020204170600.GA11513@outblaze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I groked a bit around 4.5-RELEASE source [sys/kern/kern_synch.c, sys/vm/vm_meter.c] , also http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/vm/vm_meter.c MFC: 1.59; Remove the SSLEEP case from the load average computation, since it has been a no-op for as long as our CVS history goes back. and from my very limited understanding felt that FreeBSD only looked at process in the runnable state as part of load average calculation. Linux seems to us nr(running_process) + nr(process blocked in disk-wait) whilst calculating loadavg However, this posting by David Greenman seems to indicate otherwise. I may have missed something obvious and would appreciate any insight as to what I might have missed http://docs.freebsd.org/cgi/getmsg.cgi?fetch=264208+0+archive/2000/freebsd-current/20000409.freebsd-current Regards, Yusuf -- Yusuf Goolamabbas yusufg@outblaze.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message