From owner-freebsd-questions@FreeBSD.ORG Mon Aug 22 14:21:19 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 D06D016A41F for ; Mon, 22 Aug 2005 14:21:19 +0000 (GMT) (envelope-from m@MHoerich.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1800343D48 for ; Mon, 22 Aug 2005 14:21:14 +0000 (GMT) (envelope-from m@MHoerich.de) Received: (qmail invoked by alias); 22 Aug 2005 14:21:13 -0000 Received: from p548B6476.dip.t-dialin.net (EHLO localhost) [84.139.100.118] by mail.gmx.net (mp024) with SMTP; 22 Aug 2005 16:21:13 +0200 X-Authenticated: #5114400 Date: Mon, 22 Aug 2005 16:21:02 +0200 From: Mario Hoerich To: "pobox@verysmall.org" Message-ID: <20050822142101.GB74593@Pandora.MHoerich.de> References: <4309C9F7.3070904@verysmall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4309C9F7.3070904@verysmall.org> User-Agent: Mutt/1.4.2.1i X-Y-GMX-Trusted: 0 Cc: 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 14:21:19 -0000 # pobox@verysmall.org: > We upgraded from 4.9 to 5.4 and the 'top -I' and load average seem to > behave slightly different. 'top -I' in 5.4 stays empty most of the time > with processes flashing in and out from time to time. Well, I'd actually expect them to, as -I filters out any idle process. Justed tested on my 6.0B2, major CPU hogs are shown as expected. > In 4.9 the processes stayed there until they are done. Where's the difference to top [-i], then? I don't really know enough about how load and utilization are calculated. I'd guess load is calculated by the scheduler, based on the number of processes whining for more/larger time slices, whereas utilization is guessimated elsewhere, probably something like process CPU time / available CPU time. I'm none too sure there's an actual correlation between these values, let alone load 1 = utilization 100%. Cheers. Mario