Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 16:21:02 +0200
From:      Mario Hoerich <spambox@MHoerich.de>
To:        "pobox@verysmall.org" <pobox@verysmall.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: top -I and load average from 4.9 into 5.4
Message-ID:  <20050822142101.GB74593@Pandora.MHoerich.de>
In-Reply-To: <4309C9F7.3070904@verysmall.org>
References:  <4309C9F7.3070904@verysmall.org>

next in thread | previous in thread | raw e-mail | index | archive | help
# pobox@verysmall.org:
> We upgraded from 4.9 to 5.4 and the 'top -I' and load average seem to 
> behave slightly different. 'top -I' in 5.4 stays empty most of the time 
> with processes flashing in and out from time to time. 

Well, I'd actually expect them to, as -I filters out any idle 
process.  Justed tested on my 6.0B2, major CPU hogs are shown
as expected.


> In 4.9 the processes stayed there until they are done.

Where's the difference to top [-i], then?

I don't really know enough about how load and utilization
are calculated.  I'd guess load is calculated by the scheduler,
based on the number of processes whining for more/larger time
slices, whereas utilization is guessimated elsewhere, probably
something like process CPU time / available CPU time.  

I'm none too sure there's an actual correlation between these
values, let alone load 1 = utilization 100%.

Cheers.
Mario



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050822142101.GB74593>