Setting the CPU Governor to Performance on Ubuntu Wily (15.10)

Hi,

I prefer to always set the CPU to the performance governor as it always boosts my computer’s performance:

Update: The kernel module loaded by default that controls the cpu frequency in Ubuntu Wily’s kernel is “linux_pstate”. You have to disable it before applying the steps in the next section. You can do this by modifying “/etc/default/grub” and adding “intel_pstate=false” parameter to the “GRUB_CMDLINE_LINUX_DEFAULT” line, it should look like this:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash intel_pstate=disable”

save the file, then run “sudo update-grub”

Reboot, then do the steps below:

  1. Install the cpufrequtils package: “sudo apt-get install cpufrequtils”
  2. Edit the “/etc/init.d/cpufrequtils” file and set the following line to the governor you need (performance in my case): “GOVERNOR=”performance””
  3. Save the file and exit
  4. Reboot

That’s it! Enjoy!

Reference

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Setting the CPU Governor to Performance on Ubuntu Wily (15.10)

  1. Bob English says:

    Nice try, but I do not have an Intel processor, and the line:
    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash intel_pstate=disable”
    you are referring to, looks like this on my AMD quad core system:
    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” (No intel_pstate= anything!!!!!), so I have no way of knowing what to do in my case, and you do not make any mention of how this relates to the system platform, if at all. It would not be the first time something looks misleading but will work universally, or worse: looks universal but is platform specific!

    Also you are not clear about the “intel_pstate=false” and or ”intel_pstate=disable” statements, and it is confusing since they look like they mean one and the same thing, and you either need to pick one, or clarify what exactly one should expect to find, and what exactly to change it to.

    It is all to easy for us Linux noob’s to hose our systems without more detailed and non confusing instructions!

    I am running Ubuntu Studio 15.10 with KXStudio upgrades, so the Kernel may be higher than the default supplied by Canonical. I am a musician who wants to use the PC as a recording studio, but the performance is terrible so far, and way insufficient for that purpose! What were they thinking?!? “Studio” My A$$!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s