Sample Header Ad - 728x90

Set CPU to high performance

11 votes
2 answers
6274 views
I spent hours searching for an answer in Internet. All I could find doesn't help. I have Intel i9-9980HK, running under Ubuntu 20.04, kernel 5.4.0-33. The problem is that under the full load the CPU lowers the frequency to 2.7 GHZ, I guess in order to stay under low power budget. Whatever I try I can't make it run faster. It stays under 65C, quietly and slowly crunching numbers. For comparison the same machine under Windows runs from 3 to 4+ GHz under the full load. What I tried: - Change the governor to performance. No effect. - Set /sys/devices/system/cpu/cpufreq/policyX/energy_performance_preference to performance. No effect. - sudo service thermald stop. No effect. - Increase /sys/devices/system/cpu/intel_pstate/turbo_pct. Access denied even for root. - Increase /sys/devices/system/cpu/cpufreq/policyX/scaling_min_freq. No effect. I am lost. What does it want? Btw, /sys/devices/system/cpu/intel_pstate/status is active. **Update**. I think I know the reason. When intel_pstate is active, it ignores all the settings (like governor, everything under /sys/devices/system/cpu/cpufreq). Tools like cpupower cannot control intel_pstate. So the question pretty much boils down to how control intel_pstate driver.
Asked by facetus (308 rep)
Jun 19, 2020, 03:38 AM
Last activity: Nov 24, 2022, 04:17 PM