From owner-freebsd-current@FreeBSD.ORG Tue Sep 6 17:39:16 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6524106566B for ; Tue, 6 Sep 2011 17:39:16 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 96C428FC16 for ; Tue, 6 Sep 2011 17:39:16 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id ECC5D5DBD; Tue, 6 Sep 2011 17:22:05 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p86HM2fZ074960; Tue, 6 Sep 2011 17:22:03 GMT (envelope-from phk@phk.freebsd.dk) To: Bruce Cran From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 06 Sep 2011 18:12:29 +0100." <4E66547D.2030907@cran.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Date: Tue, 06 Sep 2011 17:22:02 +0000 Message-ID: <74959.1315329722@critter.freebsd.dk> Cc: Garrett Cooper , freebsd-current@freebsd.org, Alex Kozlov Subject: Re: Unusually high LA without any load at FreeBSD9-BETA2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 06 Sep 2011 17:39:16 -0000 In message <4E66547D.2030907@cran.org.uk>, Bruce Cran writes: >On 06/09/2011 18:05, Garrett Cooper wrote: >> What is "LA"? > >Load Average? We should kille the load avarage as a measure for system activity, it only has any relevance if you run heavy CPU bound processes. If the majority of your threads yield their quantum, load average contains absolutely no information of any relevance to system capacity. Try this: main() for (i = 0; i < 10000; i++) start thread { calculate time until top of next second sleep (until then) } You'll see a monster load-avg on idle cpus. -- 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.