Date: Sun, 06 Jun 1999 19:55:44 +0200 From: Christoph Splittgerber <cs@sdata.de> To: Shaun Rowland <rowland@cis.ohio-state.edu> Cc: freebsd-stable@freebsd.org Subject: Re: kern/10411: top, vmstat, iostat show 0% cpu idle & usage on SMP system Message-ID: <375AB620.7285124B@sdata.de> References: <19990606142328.24249.rocketmail@web129.yahoomail.com> <375A87AB.2BC107D7@sdata.de> <87n1ydjmy8.fsf@dhcp9545042.columbus.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Shaun Rowland wrote: > > Another thing comes to my mind: The system reports a loadavg of > > about 2.00, shouldn't it be around 1.00 with two jobs running on two > > CPUs ? > > That depends on your version of top. In Solaris and FreeBSD this > behavior is correct. .. and that's the way loadavg is defined as I just found out in "The Design and Implementation of the 4.[34] BSD Operating System". However, I don't like it too much. I mean my point is: When I call getloadavg(3), most of the time I am interested in my "systems load" and less in my "systems run queue length". E.g. how to find out if it is worth spawning another process/thread. Christoph To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?375AB620.7285124B>