Date: Wed, 13 Apr 2011 02:52:24 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: Daniel Gerzo <danger@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: powerd / cpufreq question Message-ID: <20110413024230.Y35056@sola.nimnet.asn.au> In-Reply-To: <4DA37E31.4020700@FreeBSD.org> References: <4D9EEDAF.3020803@rulez.sk> <20110411125416.S35056@sola.nimnet.asn.au> <4DA37E31.4020700@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Apr 2011, Daniel Gerzo wrote: > 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. Ok, seems it depends on stathz, not HZ, so 89'd be less than 1 second if your stathz is 128 .. I gather that may be changed with the 9.x timers? > > 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. Thanks. I'll check the single-cpu case again after updating to 8.2-R cheers, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110413024230.Y35056>