CPU Scaling

From FreekiWiki
Jump to navigation Jump to search

!Needs Cleaning!

CPU throttling in Ubuntu often causes freezing problems. This can be characterized by the following log message(s) in the "message" log:

</nowiki>Insert formula here Marking TSC unstable due to cpufreq changes Switcing to clocksource acpi_pm</nowiki>

This is a feature of the system component "ondemand" and can be disabled to prevent freezing. To do so, we must install a program called "rcconf"; use the following steps in the terminal:

</nowiki>sudo apt-get install rcconf</nowiki>

Once the program is installed, you may disable scaling one of two ways. The first would be to add a tray applet to any ubuntu system bar by right clicking and selecting, "Add to panel." From the window that pops up, choose "CPU Frequency Scaling Monitor." This applet allows you to change the scaling to "Performance" to disable scaling. To set this option, simply left-click on the new applet and select the relavent option.

The second means of disabling scaling is to call "rcconf" from the terminal:

</nowiki>sudo rcconf</nowiki>

A new window will pop up. Scroll down using the directional keys from your keyboard until you have "ondemand" selected. Using the Spacebar, deselect the component. Use the Tab key to select the "OK" and use the Enter key to make the changes.