Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 1998 09:49:34 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Dan Janowski <danj@3skel.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Load avg 0.33 and 99.2% idle...
Message-ID:  <19980527094934.A22908@emsphone.com>
In-Reply-To: <199805270508.BAA01823@fnur.3skel.com>; from "Dan Janowski" on Wed May 27 01:08:29 GMT 1998
References:  <199805270508.BAA01823@fnur.3skel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 27), Dan Janowski said:
> 
> Load avg 0.33 and 99.2% idle, how can this be?
> 
> FreeBSD 2.2.6

Load average just means "the number of processes in the run queue".  If
you have code that sits in a select() loop most of the time, it'll be
in the run queue almost all of the time, but probably not eat much CPU. 
I've got some Quake servers running on my machine, and if one person
joins each of the four servers, my loadavg jumps to 4.  But the CPU
used doesn't go over 10%.

If you're worried that your machine is overworked, keep an eye on the
CPU: and Swap: lines in top; loadavg doesn't really mean much compared
to them.

	-Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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