Re: cpuspeed throttling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-02-10 at 12:01 +1100, Tony Crouch wrote:
> 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.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-          When all else fails, try reading the instructions.        -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux