Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 22:45:32 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        bde@zeta.org.au
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern sched_4bsd.c
Message-ID:  <200402010645.i116jW7E096596@gw.catspoiler.org>
In-Reply-To: <20040201165625.U7412@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On  1 Feb, Bruce Evans wrote:
> On Sat, 31 Jan 2004, Don Lewis wrote:

>> I was suprised to find that processes in disk wait are no longer counted
>> towards the load average.  This happened in rev 1.163 of kern_synch.c,
>> which  was committed more than two years ago.
>>
>> Even if CPU time is available, a machine with a lot of processes stuck
>> in disk wait is going to feel slow ...
> 
> They were never counted AFAIK.  Isn't this one of the main visible
> differences between BSD and Linux?

I think SunOS 4.x also counts this.

> Rev.1.163 ov kern_synch.c just moved
> stuff.  The change before this in rev.1.59 of vm_meter.c is more likely
> to have changed this but was supposed to just remove dead code.

Yup, I missed the change in 1.59.  I did a binary search to find the
version in vm_meter.c and found a slightly older version before the
SSLEEP code had been removed.



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