While researching another unrelated problem, i noticed that my CPU frequency will basically never go below maximum even if the CPU load is only around 5%. It will shortly downclock to around 2 GHz when the load is 1-2% and otherwise stays at 3.8 GHz.
So i assumed the CPU governor was misconfigured or acting up.
cpupower frequency-info
analyzing CPU 4:
driver: intel_cpufreq
CPUs which run at the same hardware frequency: 4
CPUs which need to have their frequency coordinated by software: 4
maximum transition latency: 20.0 us
hardware limits: 800 MHz - 3.80 GHz
available cpufreq governors: ondemand performance schedutil
current policy: frequency should be within 800 MHz and 3.80 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 3.80 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
On Solus and Manjaro KDE the governor was always set to “ondemand”.
Digging into this article didn’t really explain what “schedutil” is, so could someone please elaborate?
Also the “driver: intel_cpufreq” is odd, because this archwiki article says it should be using “intel_pstate” since my Xeon is a Haswell based cpu and def. newer then Sandy Bridge.
Is there some config option i’m missing?
I would really like to go back to 800 MHz when nothing is happening.
I feel like this issue could also explain why Gamemode is not able to set the CPU governor to performance when running.
There seems to be a Tumbleweed ←→ Leap difference – here with Leap 15.5 –
# inxi -Cxxx
CPU:
Info: quad core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64
type: MT MCP smt: enabled arch: Zen/Zen+ note: check rev: 1 cache:
L1: 384 KiB L2: 2 MiB L3: 4 MiB
Speed (MHz): avg: 1400 min/max: 1400/3700 boost: enabled volts: 1.5 V
ext-clock: 100 MHz cores: 1: 1400 2: 1400 3: 1400 4: 1400 5: 1400 6: 1400
7: 1400 8: 1400 bogomips: 59092
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
#
# LANG=C cpupower frequency-info
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.40 GHz - 3.70 GHz
available frequency steps: 3.70 GHz, 2.30 GHz, 1.40 GHz
available cpufreq governors: ondemand performance schedutil
current policy: frequency should be within 1.40 GHz and 3.70 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency: 1.40 GHz (asserted by call to hardware)
boost state support:
Supported: no
Active: no
Total States: 3
Pstate-P0: 3700MHz
Pstate-P1: 2300MHz
Pstate-P2: 1400MHz
#
I wish i could tell when this started happening … i’m gonna say somewhere in 6.6.x
The unrelated issue was that one of my case fan’s started failing and being insanely loud. After confirming the fan is just loud and not a danger to the system, i had to delay the issue for a few weeks due to work and recently finally pulled the plug on the fan and noticed that my system was still way louder then expected.
After checking all the remaining fan’s in the case, bios fan curves and other stuff … and confirming they work correctly … i checked temps and power states … and posted this issue.
All i can say with certainty is that issue was not present when completely fresh installed 6 months ago … and started somewhere in the last 1 month or so.
I have not touched any bios settings in years and manually running fwupd shows the same stuff manjaro showed me where the issue was not present.
It has to be something with the cpu gov under Tumbleweed.
@Teroh Hi, schedutil has been the default scheduler for a long time on Tumbleweed. You may have to watch a specific cpu and see if it drops to 800MHz (or looks at all) eg watch -n 5 cpupower frequency-info -f likewise turbostat is likely to provide better information.
intel_cpufreq is intel_pstate in passive mode. It may mean that HWP is not correctly implemented by your particular model or may be disabled by BIOS. Provide dmesg output after boot.
I have to do the restart tomorrow. Too much games to play tonight with friends. I will keep an eye on this thread and provide any restartless info i can provide.
Also have to look at the bio’s ( of an almost 10 year old mainboard ) again since the Archwiki article linked above also mentioned c/p states.
But why would Tumbleweed complain about those, possibly wrong, bios settings, when win10, solus and Manjaro did not?
You should have /sys/devices/system/cpu/intel_pstate/ directory with various intel_pstate parameters, in particular state which is passive in my case.
Can you post
@Teroh So your cpu is unlocked, so are there BIOS setting for this setup that you have modified?
I have a Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz setup here, your turbostat data shows strange wattage reports as well… Mine is dropping to the lowest frequency of 1.6GHz.