From owner-freebsd-current@FreeBSD.ORG Mon Feb 21 21:12:37 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72EE416A4CE; Mon, 21 Feb 2005 21:12:37 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8FBE43D2F; Mon, 21 Feb 2005 21:12:36 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id j1LLCMs4045821; Mon, 21 Feb 2005 22:12:22 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: "David G. Lawrence" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 21 Feb 2005 13:08:34 PST." <20050221210834.GB87259@opteron.dglawrence.com> Date: Mon, 21 Feb 2005 22:12:22 +0100 Message-ID: <45820.1109020342@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: Christian Jachmann cc: Robert Watson cc: David Schultz cc: current@freebsd.org Subject: Re: Load over 1000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2005 21:12:37 -0000 In message <20050221210834.GB87259@opteron.dglawrence.com>, "David G. Lawrence" writes: >> aren't being serviced isn't a bug. The reason the load on systems with >> many processes is typically low is that most processes are blocked on I/O >> -- either waiting for it to complete, waing for a network packet, or >> waiting for the user, so they're idle the rest of the time. The CPU sits >> there waiting for the world to catch up... > > The load average has historically meant the number of processes either >running/ready to run OR blocked by short term (disk I/O) wait. No, disk I/O sleeps is not involved. The loadavg is the length of the runqueue. Any process sleeping, on network, disk or timer, is not counted towards the total. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.