From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 15:14:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 794E81065676 for ; Mon, 26 Sep 2011 15:14:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 2F53D8FC14 for ; Mon, 26 Sep 2011 15:14:07 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R8Csg-0001gf-CY for freebsd-questions@freebsd.org; Mon, 26 Sep 2011 17:14:06 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2011 17:14:06 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2011 17:14:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 26 Sep 2011 17:13:24 +0200 Lines: 37 Message-ID: References: <4E7BA1B8.5070109@estrads.com.ar> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEFC06817997F83BCCA2912F2" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.1) Gecko/20110907 Thunderbird/6.0.1 In-Reply-To: <4E7BA1B8.5070109@estrads.com.ar> X-Enigmail-Version: 1.1.2 Subject: Re: load average with multi-core CPU's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 15:14:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEFC06817997F83BCCA2912F2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 22/09/2011 22:59, Rodrigo Gonzalez wrote: > It is the number of task waiting in queue to be run....but IO is > important...if 2 processes are waiting for IO and it is completely > saturated they will be kept in queue so load will get higher No, this is how Linux does the calculation. For FreeBSD, if a process is waiting or IO, it is sleeping and thus not runnable. Linux has the "iowait" ("w") state in addition to usr/sys/idle states and counts processes waiting for IO as runnable - which never made sense to me as it is counting apples as oranges. (yes, IO saturation is important for server status but it needs to be inspected separately - the LA number is too coarse for this). --------------enigEFC06817997F83BCCA2912F2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6AlrAACgkQldnAQVacBcimnwCgj1Lfh1gDYpzHRtq4GevRuWni Ku8AoKcdBzN7vZmc9yasYBvLzDOfn1cI =jkKR -----END PGP SIGNATURE----- --------------enigEFC06817997F83BCCA2912F2--