intel_powerclamp: Start/Stop forced idle injection
Warning: check your CPU temperature. On my system, idle injection starts only when things get hot. The OS protects the hardware from overheating.
See intel_powerclamp
manual. It has "Usage and Interfaces" section which describes how to control it.
TL;DR sudo rmmod intel_powerclamp
, but you've been warned.
More gentle means to control the thing exist.
First, locate the abstract "thermal device" corresponding to the power consumption control loop:
# grep -l intel_powerclamp /sys/class/thermal/cooling_device*/type
/sys/class/thermal/cooling_device11/type
# cd /sys/class/thermal/cooling_device11
Now, the "slowdown" percentage of the control loop can be adjusted:
# echo 25 > cur_state
It's possible to set 0 there. Percentage above 50 is not allowed.
It'd be great if someone came up with an applet for controlling this contraption easily (i.e. if someone added the obviously needed general user controls), perhaps with rules (AC/battery, time of day, screen idle etc).
In the running system, you can get rid of intel_powerclamp
:
sudo rmmod intel_powerclamp
To disable it permanently and suppress loading it altogether, in addition do:
cd /etc/modprobe.d
sudo su
echo install intel_powerclamp /bin/true >intel_powerclamp.conf
Then, after a reboot, it wont come back.