Patches to add minimum and maximum frequencies to powerd(8)

Rui Paulo rpaulo at FreeBSD.org
Wed Aug 13 16:02:03 UTC 2008


On Wed, Aug 13, 2008 at 10:23:58AM -0400, Boris Kochergin wrote:
> Hi, list. A friend asked me if it was possible to tell powerd(8) not to 
> throttle lower than a certain frequency, so I hacked something up, then 
> thought I'd try my hand at a more proper implementation of minimum and 
> maximum frequency specifications, as I recall similar requests on other 
> lists.
>
> For interested parties, the patches can be found at 
> http://acm.poly.edu/~spawk/powerd/ and are against RELENG_7_0 sources, but 
> the changes should be the same for -CURRENT. Comments are welcome.

See the cpufreq(4) man page:

     debug.cpufreq.lowest
             Lowest CPU frequency in MHz to offer to users.  This setting is
             also accessible via a tunable with the same name.  This can be
             used to disable very low levels that may be unusable on some sys-
             tems.

I think this is what you want.

Regards,
-- 
Rui Paulo


More information about the freebsd-acpi mailing list