Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2008 16:34:37 +0100
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Boris Kochergin <spawk@acm.poly.edu>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Patches to add minimum and maximum frequencies to powerd(8)
Message-ID:  <20080813153437.GA718@epsilon.local>
In-Reply-To: <48A2EE7E.6050703@acm.poly.edu>
References:  <48A2EE7E.6050703@acm.poly.edu>

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



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