Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
public:turn_off_intel_turbo_boost_on_linux [2016/07/21 17:17]
fangfufu
public:turn_off_intel_turbo_boost_on_linux [2018/03/31 01:38] (current)
Line 1: Line 1:
 +====== Turning off Intel Turbo Boost(TM) on Linux ======
 +My laptop is a Lenovo T440p with a i7-4900MQ. I run Folding@Home on two of my CPU cores. The CPU constantly overheats, and my fan is always spinning at 4440 RPM. I find the noise annoying. So here is what I do to control Turbo Boost:
  
 +<code bash>
 +fangfufu@illustrious:​~$ cat /​usr/​local/​bin/​turbo-boost
 +#!/bin/bash
 +    echo "Intel Turbo Boost(TM) Status:"​
 +    if [[ $1 == "​off"​ ]]; then
 +        echo 1 > /​sys/​devices/​system/​cpu/​intel_pstate/​no_turbo
 +    fi
 +    if [[ $1 == "​on"​ ]]; then
 +        echo 0 > /​sys/​devices/​system/​cpu/​intel_pstate/​no_turbo
 +    fi
 +
 +    state=$( cat /​sys/​devices/​system/​cpu/​intel_pstate/​no_turbo )
 +    if [[ $state -eq 1 ]]; then
 +        echo "​Off"​
 +    else
 +        echo "​On"​
 +    fi
 +
 +</​code>​
 +
 +By turning off Turbo Boost, my CPU fan speed floats around 4000 RPM.