powerd / cpufreq question
mav at FreeBSD.org
Tue Apr 12 18:57:35 UTC 2011
Ian Smith wrote:
> 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?
9-CURRENT tries to set stathz to 127, or at least somewhere around. The
main difference there is that clocks really tick only when CPU is
running and emulated during idle periods to allow C-states do their job.
More information about the freebsd-stable