Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2011 21:57:18 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: powerd / cpufreq question
Message-ID:  <4DA4A08E.6020505@FreeBSD.org>
In-Reply-To: <mailpost.1302627213.2952832.6932.mailing.freebsd.stable@FreeBSD.cs.nctu.edu.tw>
References:  <4DA37E31.4020700@FreeBSD.org> <mailpost.1302627213.2952832.6932.mailing.freebsd.stable@FreeBSD.cs.nctu.edu.tw>

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

-- 
Alexander Motin



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