Subject: Re: NetBSD 4.0_RC2 load computation
To: Martin J. Laubach <mjl@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 10/11/2007 01:43:24
On Wed, Oct 10, 2007 at 11:27:56PM +0000, Martin J. Laubach wrote:

>   I just installed a recent releng snapshot of 4.0_RC2, and since
> the load computation seems off.
> 
> > load averages:  1.24,  1.61,  2.31            up 0 days, 12:22   01:24:29
> > 104 processes: 103 sleeping, 1 on processor
> > CPU states:  0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
> 
>   I have never ever seen a load below 1 with this new kernel, even
> though the system is mostly idle and was usually in the 0.30 range
> with a 3.1 kernel.
> 
>   Is this normal and to be expected?

It's fixed in current but was actually broken for a very long time: since
the BSD kernel got the tsleep() call! I'll see about arranging a pull-up.

Thanks,
Andrew