From owner-freebsd-hardware@FreeBSD.ORG Sat Aug 16 17:33:41 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B9B21065676; Sat, 16 Aug 2008 17:33:41 +0000 (UTC) (envelope-from chris@telon.net) Received: from thestra.telon.net (unknown [IPv6:2001:ba8:0:1be::10]) by mx1.freebsd.org (Postfix) with ESMTP id 0F5D78FC1B; Sat, 16 Aug 2008 17:33:40 +0000 (UTC) (envelope-from chris@telon.net) Received: from chris by thestra.telon.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KUPel-0008tl-Uw; Sat, 16 Aug 2008 18:33:39 +0100 Date: Sat, 16 Aug 2008 18:33:39 +0100 From: Chris Elsworth To: Won De Erick Message-ID: <20080816173339.GA34116@thestra.telon.net> References: <897559.10614.qm@web45814.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <897559.10614.qm@web45814.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Chris Elsworth Cc: freebsd-testing@freebsd.org, Jeremy Chadwick , freebsd-performance@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: CPU Utilization on IBM x3755 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 17:33:41 -0000 On Sat, Aug 16, 2008 at 01:18:18AM -0700, Won De Erick wrote: > >Regarding why you're adding up all the individual process statistics: I > >can imagine they would vary a slight bit, but I cannot explain a 7% > >variance. Someone with more knowledge will have to assist there. > > Though the header could be conclusive, I should want the specific processes (or threads). > And come up with a list of breakdowns, like: > > Then match this by adding up all individual processes statistics. And if I couldn't match, at least I could tell some factors that cause variance. At the bottom of man top, reformatted for email width: As with ps(1), things can change while top is collecting information for an update. The picture it gives is only a close approximation to reality. Could this explain the variations you are seeing? top never gives you an accurate snapshot of what the system is doing at any one instant in time, afaik. -- Chris