4

I was looking into undervolting my laptop CPU. I could only find guides on phc that are said to be outdated. Is there a tool for that in the new version? Is it possible with TLP?

amanusk
  • 1,576

2 Answers2

1

Yes, with TLP you can scale you CPU frequency (Look at this post: TLP don't change CPU frequency). You can specify to reduce the CPU frequency.

CPU_SCALING_GOVERNOR_ON_AC=powersave
CPU_SCALING_GOVERNOR_ON_BAT=powersave 

More info here: http://linrunner.de/en/tlp/docs/tlp-configuration.html

However I found another article about CPU limiting

http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups

Although, it isn't about limit CPU frequency, you could reduce your CPU load/consumption with an application like cpulimit (https://github.com/opsengine/cpulimit)

Hope this helps.

  • 2
    Thanks, but I was not interested in decreasing frequency. This could be done with for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq; do echo "3500000" > $file; done I was specifically interested in decreasing voltage per frequency. – amanusk Jun 28 '16 at 21:24
  • I misunderstood, sorry. But TLP can control undervolting ability, but I couldn't find and tool to do it. However I found a good tutorial: http://www.ullright.org/ullWiki/show/ubuntu-undervoltage-linux-ppc – FabricioFCarv Jun 30 '16 at 13:04
0

You need a PHC module to start undevolting, see this forum: http://www.linux-phc.org/forum/index.php.

However, this is not compatible with newer intel processors that use intel p-states, instead of the old acpi-cpufreq (google " Undervolting Ivy bridge core i7 laptop with Ubuntu 16.04 - TLP & PHC not suitable"). It appears that we might never be able to undervolt in newer PCs using linux unless somebody with coding experience steps up to the task....

Unless you are using an older laptop, then you should find your answer in the first link ;) and a compatible PHC module here: http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267. The tutorial suggested by FabricioFCarv should be fine (have not tested myself).

Good luck!

BNDR
  • 33