cpuspeed throttling

Tony Crouch acrouch2 at une.edu.au
Sat Feb 10 04:04:34 UTC 2007


Hi Rick,
Thanks for your suggestions. I have tried both of these and they do seem
to work for most processes, but there are still some which are keeping the
processor at 3Ghz (instead of the MAXSPEED specified 1.6Ghz) long enough
to cause trouble.

I was wondering if there is any way of being more "forceful" with this
limit process?

Thanks for your help.

All the best.

Cheers,
Tony Crouch

> Hi All,
> I was wondering if there is a way to make the cpuspeed CPU throttling
> program permanently throttle to an elected CPU speed.
>
> For example, I have a 3Ghz CPU in my laptop which is extremely prone to
> over-heating and freezing. But while the laptop is running at 1.6Ghz it is
> fine.
>
> The problem I am facing is keeping the CPU at this lower speed when
> services kick into gear (i.e. yum update, makewhatis, etc. etc.).
>
> I was wondering if anyone might have an idea as to how this permanent
> throttling can be done.

Several ways.  The most correct way is to first:

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

The values displayed are in KHz (kilohertz).  Find your appropriate
maximum frequency (my laptop shows 2000000, 1800000, and 1000000
corresponding to 2GHz, 1.8GHz and 1GHz).  Next, edit  your
"/etc/cpuspeed.conf" file and insert that value into the "MAXSPEED="
entry.  On reboot, you'll limit your speed.

To do it manually now, do "cpuspeed -M 1600000" as the root user.






More information about the fedora-list mailing list