From owner-freebsd-hackers Wed May 27 07:50:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA12432 for freebsd-hackers-outgoing; Wed, 27 May 1998 07:50:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dan.emsphone.com (dan@dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA12389 for ; Wed, 27 May 1998 07:49:48 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.8/8.8.8) id JAA23154; Wed, 27 May 1998 09:49:35 -0500 (CDT) (envelope-from dan) Message-ID: <19980527094934.A22908@emsphone.com> Date: Wed, 27 May 1998 09:49:34 -0500 From: Dan Nelson To: Dan Janowski , freebsd-hackers@FreeBSD.ORG Subject: Re: Load avg 0.33 and 99.2% idle... References: <199805270508.BAA01823@fnur.3skel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.4i In-Reply-To: <199805270508.BAA01823@fnur.3skel.com>; from "Dan Janowski" on Wed May 27 01:08:29 GMT 1998 X-OS: FreeBSD 2.2.6-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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