From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 22:35:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 650EE1065672 for ; Mon, 11 Apr 2011 22:35:37 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from services.syscare.sk (services.syscare.sk [188.40.39.36]) by mx1.freebsd.org (Postfix) with ESMTP id 20C0E8FC0A for ; Mon, 11 Apr 2011 22:35:36 +0000 (UTC) Received: from services.syscare.sk (services [188.40.39.36]) by services.syscare.sk (Postfix) with ESMTP id 935C493E01 for ; Tue, 12 Apr 2011 00:18:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at rulez.sk Received: from services.syscare.sk ([188.40.39.36]) by services.syscare.sk (services.rulez.sk [188.40.39.36]) (amavisd-new, port 10024) with ESMTP id 6AykCZcYPoiq for ; Tue, 12 Apr 2011 00:18:25 +0200 (CEST) Received: from danger-mbp.local (59576.ba.3pp.slovanet.sk [84.16.39.226]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danger@rulez.sk) by services.syscare.sk (Postfix) with ESMTPSA id C747C93DEE for ; Tue, 12 Apr 2011 00:18:25 +0200 (CEST) Message-ID: <4DA37E31.4020700@FreeBSD.org> Date: Tue, 12 Apr 2011 00:18:25 +0200 From: Daniel Gerzo Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17pre) Gecko/20110331 Lanikai/3.1.10pre MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D9EEDAF.3020803@rulez.sk> <20110411125416.S35056@sola.nimnet.asn.au> In-Reply-To: <20110411125416.S35056@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: powerd / cpufreq question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 22:35:37 -0000 On 11.4.2011 6:08, Ian Smith wrote: > > As you see, total of differences for each cpu is here 89 ticks, but I've > no idea of the interval between your two readings, or your value of HZ? the interval may have been around 1-2 seconds. My value of HZ is default, 1000. > Are those kern.cp_times values as they came, or did you remove trailing > zeroes? Reason I ask is that on my Thinkpad T23, single-core 1133/733 > MHz, sysctl kern.cp_time shows the usual 5 values, but kern.cp_times has > the same 5 values for cpu0, but then 5 zeroes for each of cpu1 through > cpu31, on 8.2-PRE about early January. I need to update the script to > remove surplus data for non-existing cpus, but wonder if the extra data > also appeared on your 12 core box? I haven't removed anything, it's a pure copy&paste. -- S pozdravom / Best regards Daniel Gerzo, FreeBSD committer