Ubuntu – Disabling Intel Turbo Boost in 12.04

12.04intelturbo-boost

I have a question concerning Intel Turbo Boost and the ability to disable it in Ubuntu 12.04. I wanted to disable Turbo Boost because it produced a lot of heat and I didn't find a need for it in Ubuntu (being so lightweight as it is compared to Windows). I found that by installing msr-tools and running modprobe msr and then:

wrmsr -p(PROCESSOR) 0x1a0 0x4000850089

Where PROCESSOR is the number of my CPU core allowed me to shut off Turbo Boost for that core. After appending msr into my etc/modules and the wrmsr lines into my rc.local I found I was able to shut off Turbo Boost at boot.

My question is: Is this method I've used safely disabling Turbo Boost, or should I attempt to find a different workaround.

I have an MSI-GE60 with no setting in the BIOS for Turbo Boost, so changing it like this appeared to be the only way.

Thanks to anyone who can help.

Best Answer

You could set the max CPU frequencies to a setting just under the turbo boost - attached is the code I use in rc.local

echo 1 > /sys/module/processor/parameters/ignore_ppc

for x in /sys/devices/system/cpu/cpu[0-3]/cpufreq/;do 
  echo 2501000 > $x/scaling_max_freq
done

In my system the speed of 250100 is a turbo speed, non-turbo being 2500000

Charles Green

Related Question