Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2011 00:18:25 +0200
From:      Daniel Gerzo <danger@FreeBSD.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: powerd / cpufreq question
Message-ID:  <4DA37E31.4020700@FreeBSD.org>
In-Reply-To: <20110411125416.S35056@sola.nimnet.asn.au>
References:  <4D9EEDAF.3020803@rulez.sk> <20110411125416.S35056@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DA37E31.4020700>