HOWTO: Controlling cpu temperature and scaling using cpuspeed

My beloved R51 which I bought almost 3 years ago is suffering of old-age. It processor heats up quite fast to 80/85 Celsius and sometimes triggered shutdown alarm on 90C. The temperature during idle is around 50C, which is pretty hot. Adding external fan and overriding the speed of the internal fan doesn't help much.

Whenever it goes to 80C, I manually scale down the processor to cool it down. Hassle, but at least it works. However, there is an easier way to control this without any manual interaction, and that is through using the cpuspeed daemon. It should have been installed by default in your computer. If it isn't , you can install it through:

yum install cpuspeed

cpuspeed in Fedora by default only turns on the default scaling governor and didn't do anything else. You will need to configure it through /etc/sysconfig/cpuspeed.

Remember to set the Governor to "userspace" or your cpuspeed will not be started through the init script.

In my setup to ensure that I don't burn my processor too much, I set my UP_THRESHOLD=99 DOWN_THRESHOLD=90, and uncommented the lowest line for the temperature check and set the max temperature as 75. Yes, theres no scientific explanation to explain whether the values I selected is good or not. I simply set in so that my processor will only scale up if its being used 100%, scales down as soon as the processor usage reduce to 90%, and forbid scaling up if the temperature is above 75C.

Once you have configured it, restart cpuspeed

/sbin/service cpuspeed restart

After I applied those above, my processor doesn't gets hot easily anymore :D. Yay~.

Popular posts from this blog

Adding simple popup to Plone frontpage

Tee'ing Python subprocess.Popen output

Consolidated community site infrastructure on Plone