So, I'm having some overheating problems with an HP Envy 15 that are driving me nuts. See this and this for reference.
Anyway, I did an Ubuntu 18.04 fresh install. Also installed tlp and cpufrequtils. So, if I do tlp stat -p ...
+++ Processor
CPU model = Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
[....]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = performance
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 3100000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 3100000 [kHz]
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 25 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo = 0
/sys/devices/system/cpu/intel_pstate/turbo_pct = 50 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates = 24
Now, since I want to use a powersave governor, as per this, I get to use it.
+++ Processor
CPU model = Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
[....]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 3100000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 3100000 [kHz]
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 25 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo = 0
/sys/devices/system/cpu/intel_pstate/turbo_pct = 50 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates = 24
So far, so good.
Two things do call my attention:
- If I do start using my laptopt again, don't know why, but from time to time, the
tlp stat -pshows again that thescaling_governor=performance. - Why are
scaling_min_freqandscaling_max_freqequal? I'd like to reduce both of them to see if I can somehow control the overheating problem that I'm facing.
How can I avoid the performance governor? How can I tune the min and max scaling?
thanks!
Lucas
cpufrequtilsIf you really need it you can install it again. I suspect it is the culprit. – WinEunuuchs2Unix Aug 29 '18 at 00:06cpufrequtilsto set thepowersavegovernor. If I uninstall it, how do I change the governor then? – Lucas Aimaretto Aug 29 '18 at 00:12powersaveis the default governor. You have to forceperformanceon. I suspectcpufrequtilsis forcing it on. It is also probably responsible for settingminequal tomax. – WinEunuuchs2Unix Aug 29 '18 at 00:16apt purge cpufrequtils, rebooted the laptop and after atlp stat -pI get to seeperformanceagain: no changes at all. Doing acat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governorshowsperformance, so it's something else doing the dirty job ... :-( – Lucas Aimaretto Aug 29 '18 at 00:22tlpconfiguration file? – WinEunuuchs2Unix Aug 29 '18 at 00:26tlpis. Indeed, after your comment I was looking for it to see if there is something in there ... – Lucas Aimaretto Aug 29 '18 at 00:28tlpfor years and my laptop has always been atpowersave. I haven't usedcpufrequtilsbut I guess you can reinstall it if it wasn't the culprit. Hopefully someone else has experienced the same anomaly and will comment/answer. – WinEunuuchs2Unix Aug 29 '18 at 00:29performancefor 1 minute, then it will change topowersave. Is it possible you have been looking too soon after boot? – Doug Smythies Aug 29 '18 at 18:17