Tuesday 5 February 2013

Turn off CPU throttling ubuntu

Open terminal and enter following command:

$ sudo /usr/bin/cpufreq-selector -g performance


Most of the time you will be unable to find /usr/bin/cpufreq-selector command.

Just do the following steps:

$sudo apt-get install gnome-applets
$sudo apt-get install gnome-applets-data
$sudo apt-get install libpanel-applets2-0


after that the command will work.


P.S: CPU throttling is the option in modern operating systems that dynamically changes the cpu frequency based on the workload. you CPU will keep on switching between different frequency scale. Usually its better for bench marking purpose to turn off the throttling option.

2 comments:

  1. Your last sudo command, sudo apt-get install libpanel-applets2-0 dose not work. I am a ubuntu user and after following two other commands and autoremove, commanding sudo /usr/bin/cpufreq-selector -g performance results in No cpufreq support.

    ReplyDelete
  2. Most probably libpanel-applets2-0 is outdated, i tried to install libpanel-applet-4-0 as suggested by apt-get, yet the cpufreq command didn't succeed

    ReplyDelete