Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jan 1998 12:42:58 +0000
From:      Brian Somers <brian@awfulhak.org>
To:        Julian Elischer <julian@whistle.com>
Cc:        Brian Somers <brian@awfulhak.org>, Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>, nrice@emu.sourcee.com, mdukhan@bis.co.il, freebsd-hackers@FreeBSD.ORG, mdukhan@quasi.bis.co.il
Subject:   Re: load averages never decrease to 0 (FreeBSD 2.1.6) 
Message-ID:  <199801011242.MAA17683@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Wed, 31 Dec 1997 12:49:38 PST." <Pine.BSF.3.95.971231124854.27164I-100000@current1.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> don't forget to count every process that is in 'D' state.

The system's unloaded (and now at 4.0 - was 7.0 this morning).  I 
don't expect much disk activity at all.  The only `guess' I'd make is 
that the number should be somewhere between 1.0 and 6.0 because of 
the clock granularity making the setitimer stuff SIGALRM at the same 
time.

But, of course this completely fails to take into account the PPro200 
(-current from a week ago) that's running 40 ppp processes (for a long 
time) and is now at a load average of 0.00 !

According to getloadavg(3), the number of processes in the run queue 
is what's being measured.  Does this mean that the PPro is so fast at 
getting things out of the run queue that it averages at less than 
0.01 ?  So I up the PPro so that there's 100 ppp processes running.  
Now, I see a load of 0.01..... ha.  The number of `running processes' 
just below it is somewhere between 4 and 25.

The number of `running' processes according to top on the laptop is 
between about 1 and 10 (load average exactly 10.0 now).

I'll have a look at the how this stuff is worked out a bit closer.  
There's definitely something weird happening - or at least something 
I don't understand.

> On Wed, 31 Dec 1997, Brian Somers wrote:
> 
> > [.....]
> > > I have my laptop running 60 ppp processes - all idle - for the last 
> > > couple of days.  The load average tapers out at exactly 1.0.  It's a 
> > > P120 w/ 40Mb of memory running 2.2-stable from about 3 days ago.
> > [.....]
> > 
> > I take that back.  It's now running at exactly 5.0 !  Nothing else 
> > (except the 60 ppps) is running ?????????

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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