Skip to content

Instantly share code, notes, and snippets.

@phackwer
Last active August 17, 2020 13:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save phackwer/9f9db7bc95396a48b240f5c3a42cf944 to your computer and use it in GitHub Desktop.
Save phackwer/9f9db7bc95396a48b240f5c3a42cf944 to your computer and use it in GitHub Desktop.
Undervolting linux ubuntu 18.04 (XPS 9570 i9 32GB RAM)
Very useful for the i9 XPS 9570 overheating on Linux. Since I use Linux for development, I don't use the nvidia that comes
with the note and also don't need turboboost enabled, even running dozens of docker containers. I was having problems with
temperature. Notebook was getting so hot it was hard to type for more than 4 hours straight.
Here are my temperatures before undevolting:
phackwer@phackwer-XPS-15-9570 ~/P/p/poc> sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +53.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +52.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +52.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +53.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +53.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +51.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +51.0°C (high = +100.0°C, crit = +100.0°C)
acpitz-virtual-0
Adapter: Virtual device
temp1: +25.0°C (crit = +107.0°C)
pch_cannonlake-virtual-0
Adapter: Virtual device
temp1: +63.0°C
And now, after undervolting, fresh reboot, almost nothing running:
phackwer@phackwer-XPS-15-9570 ~> sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +35.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +34.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +34.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +35.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +35.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +34.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +33.0°C (high = +100.0°C, crit = +100.0°C)
acpitz-virtual-0
Adapter: Virtual device
temp1: +25.0°C (crit = +107.0°C)
pch_cannonlake-virtual-0
Adapter: Virtual device
temp1: +33.0°C
Temperatures with undervolting after I start all my processes for a normal coding day (Docker - at least 6 instances per
project, Intellij Idea, DBeaver, Terminator, Chrome, Franz, Mailspring, Gnome Calendar, etc, etc)
phackwer@phackwer-XPS-15-9570 ~/P/p/platform> sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +45.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +44.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +45.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +45.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +45.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +44.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +43.0°C (high = +100.0°C, crit = +100.0°C)
===================================================
EASIEST WAY TO DO IT:
You will install msr-tools and pip to get undervolt (https://github.com/georgewhewell/undervolt) working:
$ sudo apt-get install msr-tools python3-pip
$ sudo pip3 install undervolt
And add to your rc.local or whatever boot start scripts you use:
/home/{$USER}/.local/bin/undervolt --core -125 --cache -125 --gpu -125
-125 has been proven a nice value to undervolt those 3 processors in your computer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment