disable cpuspeed while X session active and screensaver not running

Jon Nettleton jon.nettleton at gmail.com
Thu Oct 11 18:11:38 UTC 2007


On 10/11/07, Denis Leroy <denis at poolshark.org> wrote:
> Florin Andrei wrote:
> > Florin Andrei wrote:
> >>
> >> But come to think of it, I only want to disable cpuspeed
> >
> > Well, it's not even required to disable cpuspeed. It's enough if
> > cpuspeed can be told somehow "a user is on the GUI now, and the system
> > is not running on batteries, don't throttle the CPU."
> >
> > When the screensaver kicks in, or when the laptop switches to batteries,
> > or when there's no active X session, cpuspeed should be told to resume
> > normal throttling.
>
> On that subject, does anyone knows how to tell the Frequency Monitor
> applet to keep the cpu in lower frequency all the time (i.e. 'killall
> -USR2 cpuspeed', which is what you want typically when running on
> batteries) ?
>

If you don't run cpuspeed and use the in kernel governors you can
choose the different governor you want to use to control your speed,
or a static speed from the applet.  This is the behavior by default on
newer cpu's, but for some reason the cpuspeed damon is still used on
older processors.  I have some scripts that load these modules for
older cpu's if anyone is interested.

This whole process is being re-architected right now.  This should all
change, hopefully in time for F9.

Jon




More information about the fedora-devel-list mailing list