Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 19:09:52 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        "pobox@verysmall.org" <pobox@verysmall.org>
Cc:        Mario Hoerich <spambox@MHoerich.de>, freebsd-questions@freebsd.org
Subject:   Re: top -I and load average from 4.9 into 5.4
Message-ID:  <20050822230952.GA12574@xor.obsecurity.org>
In-Reply-To: <4309E2DB.1070000@verysmall.org>
References:  <4309C9F7.3070904@verysmall.org> <20050822142101.GB74593@Pandora.MHoerich.de> <4309E2DB.1070000@verysmall.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050822230952.GA12574>