old blog,

HOWTO: Controlling cpu temperature and scaling using cpuspeed

Izhar Firdaus Izhar Firdaus Follow Support Jan 25, 2008 · 1 min read
HOWTO: Controlling cpu temperature and scaling using cpuspeed
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
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~.
Written by Izhar Firdaus Follow Support
I'm a system architect, data engineer and developer advocate with passion in Free / Open Source software, entrepreneurship, community building, education and martial art. I take enjoyment in bridging and bringing together different FOSS technologies to help businesses and organizations utilize IT infrastructure to aid and optimize their business and organizational process.

Micropolis-Activity RPM

Following the post I've made about the MicropolisCore package, I've packaged micropolis-activity.The package was applied a patchset b...

In old blog, Jan 25, 2008

« Previous Post

Fedora 9 Codename Announced???

Okay, Josh Boyer announced it @ fedora-announce-list, and the winner is Sulphur (at least from the vote results)https://www.redhat.co...

In old blog, Jan 27, 2008

Next Post »