From owner-freebsd-current@FreeBSD.ORG Sat Feb 23 03:25:43 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C39A16A402; Sat, 23 Feb 2008 03:25:43 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.213.67.47]) by mx1.freebsd.org (Postfix) with ESMTP id D287913C469; Sat, 23 Feb 2008 03:25:42 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (unknown [172.16.100.24]) by mail.barafranca.com (Postfix) with ESMTP id 0D8DB10B0; Sat, 23 Feb 2008 03:11:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at barafranca.com Received: from mail.barafranca.com ([172.16.100.24]) by localhost (mail.barafranca.com [172.16.100.24]) (amavisd-new, port 10024) with ESMTP id LUDUf6lHlH8V; Sat, 23 Feb 2008 03:10:35 +0000 (UTC) Received: from nexus.bsdlan.org (a213-22-25-165.cpe.netcabo.pt [213.22.25.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id 2156010AB; Sat, 23 Feb 2008 03:10:34 +0000 (UTC) Message-ID: <47BF8EB7.9090007@barafranca.com> Date: Sat, 23 Feb 2008 03:10:47 +0000 From: Hugo Silva User-Agent: Thunderbird 2.0.0.6 (X11/20070816) MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG References: <845250.18624.qm@web63909.mail.re1.yahoo.com> <47BF5702.3020204@FreeBSD.org> In-Reply-To: <47BF5702.3020204@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kris Kennaway Subject: Re: cpu usage in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2008 03:25:43 -0000 Kris Kennaway wrote: > Barney Cordoba wrote: >> I have a dual core system running 7.0 and I can't get >> top to show more than 100% usage no matter how I >> hammer it. My MAC shows over 100% often, but its not >> clear if top is averaging the 2 cpus or just not going >> over 100, or just showing 1 of the cpus. > > 100% in FreeBSD means "all of your CPUs are completely active". It is > hard to exceed this amount :-) You should see my production mysql going over 458% on service startup, on a quad core server :-) > >> Is there any way to show the per-cpu usage to get an >> idea of the overall efficiency of sharing? Are there >> any tools that can be used to monitor this? What >> exactly is top showing? > > Not in 7.0. 8.0 supports top -P and vmstat -P > > Kris 11 root 1 171 ki31 0K 16K CPU3 3 81.1H 100.00% idle: cpu3 12 root 1 171 ki31 0K 16K CPU2 2 81.0H 100.00% idle: cpu2 13 root 1 171 ki31 0K 16K CPU1 1 80.9H 100.00% idle: cpu1 14 root 1 171 ki31 0K 16K RUN 0 80.3H 100.00% idle: cpu0 top -S (7.0-RC2) > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"