From owner-freebsd-questions@FreeBSD.ORG Mon Aug 22 23:09:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF65316A41F for ; Mon, 22 Aug 2005 23:09:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E22943D48 for ; Mon, 22 Aug 2005 23:09:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j7MN9svf019439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Aug 2005 19:09:54 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j7MN9r6P015575; Mon, 22 Aug 2005 19:09:53 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B9F0C512F0; Mon, 22 Aug 2005 19:09:52 -0400 (EDT) Date: Mon, 22 Aug 2005 19:09:52 -0400 From: Kris Kennaway To: "pobox@verysmall.org" Message-ID: <20050822230952.GA12574@xor.obsecurity.org> References: <4309C9F7.3070904@verysmall.org> <20050822142101.GB74593@Pandora.MHoerich.de> <4309E2DB.1070000@verysmall.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <4309E2DB.1070000@verysmall.org> User-Agent: Mutt/1.4.2.1i Cc: Mario Hoerich , freebsd-questions@freebsd.org Subject: Re: top -I and load average from 4.9 into 5.4 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, 22 Aug 2005 23:09:55 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2005 at 04:36:11PM +0200, pobox@verysmall.org wrote: > >>We upgraded from 4.9 to 5.4 and the 'top -I' and load average seem to= =20 > >>behave slightly different. 'top -I' in 5.4 stays empty most of the time= =20 > >>with processes flashing in and out from time to time.=20 > > > >Well, I'd actually expect them to, as -I filters out any idle=20 > >process. Justed tested on my 6.0B2, major CPU hogs are shown > >as expected. >=20 > That's clear. Just on the same server under 4.9 somehow the processes=20 > tend to 'stay longer' and not just flash for parts of the second. Now=20 > under 5.4 the list 'top -I' is most of the time empty while the CPU goes= =20 > from 0% to 20% and back all the time. And just very seldom a process=20 > flashes in the list. 'top' under 5.4 shows all the time 3-5 active=20 > processes at the top of the list. Sampling error. In order for top to run, nothing else can run on that CPU at the same time, so you won't get a very meaningful picture of short-lived processes that are instantaneously 'active'. Kris --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDCltAWry0BWjoQKURAp7KAJ4gTCJSBMMD8KtVcyrQZ/vZsUp+SgCguhU7 viv2YRYqbVeVXlWem6Zrfdw= =lJ8L -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--