From owner-freebsd-performance@FreeBSD.ORG Tue Jun 13 16:08:16 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25C8916A41A for ; Tue, 13 Jun 2006 16:08:16 +0000 (UTC) (envelope-from danial_thom@yahoo.com) Received: from web33307.mail.mud.yahoo.com (web33307.mail.mud.yahoo.com [68.142.206.122]) by mx1.FreeBSD.org (Postfix) with SMTP id 1695943D53 for ; Tue, 13 Jun 2006 16:08:15 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: (qmail 41748 invoked by uid 60001); 13 Jun 2006 16:08:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=28FpI0xpG4cnO8SAQ9qoQNfJbW7F0gd4Jq9l8bOYTQe7WYuxFCPOd0f15OQpkla4PLxNN6PKIiQyWf+8rFqsWD2tyZEitJYOInYpcJDKahwMQzgdcn6vjqye+7TThg5Reqv4Atj4XtRlPd78Q1OY2vT7ADxv+opJbw3MDL7p9hY= ; Message-ID: <20060613160814.41746.qmail@web33307.mail.mud.yahoo.com> Received: from [65.34.182.15] by web33307.mail.mud.yahoo.com via HTTP; Tue, 13 Jun 2006 09:08:14 PDT Date: Tue, 13 Jun 2006 09:08:14 -0700 (PDT) From: Danial Thom To: Robert Watson In-Reply-To: <20060613162933.U88691@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-performance@freebsd.org, David Xu Subject: Re: Initial 6.1 questions X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: danial_thom@yahoo.com List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 16:08:16 -0000 --- Robert Watson wrote: > > On Tue, 13 Jun 2006, Danial Thom wrote: > > > I'm sorry if I missed it, but I don't believe > anyone answered this question: > > > >> Lastly, is there a utility similar to > cpustat in > > > >> DragonflyBSD which shows the per-cpu usage > stats? > > > > I need to gauge the efficiency of SMP for a > particular application, and also > > have some way of measuring the effects of > code changes. > > I didn't answer it because I don't know what > output cpustat provides. What > output does cpustat provide on DragonflyBSD? Its a simple output such as: CPU-0 state: 14.00% user, 0.00% nice, 2.00% sys, 6.00% intr, 78.00% idle CPU-1 state: 4.00% user, 0.00% nice, 17.00% sys, 2.00% intr, 77.00% idle Of course, hp-ux type output for top would be ideal: Load averages: 0.27, 0.28, 0.28 203 processes: 186 sleeping, 17 running Cpu states: CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 0 0.05 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0% 1 0.92 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0% 2 0.03 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0% 3 0.08 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0% --- ---- ----- ----- ----- ----- ----- ----- ----- ----- avg 0.27 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0% What is the plan for FreeBSD, as I don't see that top shows any distribution among cpus? DT __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com