I have a Lenovo G50-80 with an i5-5200U CPU running Ubuntu 16.04.2 on 4.4.0-79-generic
. I would like to disable CPU frequency scaling and processor halts for running a project. I have installed i7z
and its output tells me that my CPU frequency varies a lot and my processor goes into C1 and C3 states when I'm not using it.
I have tried to change the governor from powersave
to performance
by following this answer. Running cpufreq-info
tells me that powersave
and performance
are available governors and performance
is set as the governor. Yet the output of i7z
shows varying frequency and C1 states being in use. I have tried every other answer in the thread as well as from this answer. Going through the debian wiki doesn't help either.
TL,DR; change governor from powersave
to performance
does not have any effect
Quick Edit: This guy has the same issue too.
Edit: Here's the dump of my cpufreq-info
for one of the logical cores.
analyzing CPU 3:
driver: intel_pstate
CPUs which run at the same hardware frequency: 3
CPUs which need to have their frequency coordinated by software: 3
maximum transition latency: 0.97 ms.
hardware limits: 500 MHz - 2.70 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 500 MHz and 2.70 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 2.18 GHz.
sudo update-grub
after the edit to grub, and reboot? – Charles Green Jun 16 '17 at 13:25sudo update-grub
and restarted. I can't find any sort of options in the BIOS to disable frequency scaling. As for c-states I addedintel_pstate=disable
and managed to get C0 to 100%. C1 however shows random values with a max of 30% though – RecursiveCursive Jun 18 '17 at 06:39pstate
disable reverts back to cpufreq_utilities, rather than cpupower utilities. – Charles Green Jun 18 '17 at 13:39