powerd doesn't decrease CPU frequency in some cases

Rui Paulo rpaulo at fnop.net
Mon Dec 24 04:43:51 PST 2007


At Mon, 24 Dec 2007 11:15:11 +0200,
Aragon Gouveia wrote:
> 
> Hi,
> 
> I recently experienced the exact same behaviour as you are experiencing. 
> I'm running an HP Pavilion dv2610ei.  In my case, dev.cpu.0.freq_levels
> shows frequencies 2201 and 2200 (2.2 GHz Core2Duo CPU), and setting
> frequency to 2200 jumps to 2201.  This was completely messing with powerd as
> it does not expect a frequency change to jump to another level.
> 
> I wrote a powerd patch a while ago which adds a check condition and removes
> a frequency level if it fails to get set.  It's attached.  Please feel free
> to test it and report back. :)

Isn't it better to teach est(4) to ignore values that differ in, say,  
+/- 5Mhz ?

--
Rui Paulo


More information about the freebsd-acpi mailing list