Hi. I notice that my Librem v15 is throttling. But it don’t reach high temperatures, just throttle and all. To disable power throttling, we will use msr-tools package and devmem2 utility to rewrite throttling parameters.
But without power limit we can damage our processor, because it can easily reach 85 degrees Celsius. To avoid damage, we will set thermal throttling to 65 Celsius degree. You can set your own target for thermal throttling with instructions below.
Add msr module to /etc/modules-load.d/modules.conf
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
msr
First line is target for thermal throttling to 65 Celsius degree. Other lines is disabling power throttling. To create your own target to thermal throttling, use undervolt tool, read MSR value with rdmsr 0x1a2 and replace line in sctipt. Don’t forget 0x in start of value.
Create systemd service in this file /etc/systemd/system/power-setup.service
But you can ask: “We replace power throttling to thermal throttling. Why?” Answer is because with thermal throttling your fans spin less agressive when your CPU frequency boost to 3.1 GHz for short period of time and drop frequency on sustained state. Because your boost will turn off because of temperature, not because turboboost period was finished.
It safe while your temperatures under control. Also, CPU have some technoligies, which allow to safe processor if it overheating, like thermal throttling (standart target is 95 C), automatical power off.
About “fan full blast” after waking up, i got this issue today, but it first time when i catch this issue after 1.5 years of using. Usually, fan spin at fine speed.
I agree and confirm that the “fan full blast” issue is now happening quite rarely. However, when I tried working around the issue and when (for whatever reason) it ‘hit’ me more frequently, none of the documented tricks to influence the processor frequency had any effect.
Hence my question whether the ‘wrmsr’ commands you show in your original post would be able to get the system unstuck from 400MHz. This would then be a real workaround rather than having to close the lid, wait, try again … Rest assured, great fun for you colleagues who have a Mac
You tried “turbostat” utility? It can show all limit values and more. To control CPU frequency, i usually use “cpupower” utility (all utilities included in “linux-cpupower” package). Probably it can help you to find, what limit you to 400 MHz.
Thanks!!! It’ a long time that I tried, but I believe I tried cpupower-frequency-set in vain … The tools are installed on my Librem, and once I encounter the next ‘fan full blast’ incident (and have time), I will try (again).