Open martin-kokos opened 2 years ago
The same problem
I think the problem stems from this comment. On my intel CPU, the read delay reaches 16000us, but the /proc/cpuinfo
may have wrong CPU frequencies( #953 ). So I feel like we need to add an option to decide where to read the CPU frequency from.
Htop shows maximum base frequency of 2800MHz usually on 7 of 8 cores while system is idle and intel_pstate governor is being used with a performance hint (
/sys/devices/system/cpu/intel_pstate/max_perf_pct
) of 20% which should force a lower frequency, as confirmed by cpufreq. The cores are sleeping a lot, C3 15%, C7 55%. I would speculate a cpu that happens to be sleeping shows the base frequency.Similar issue: https://www.reddit.com/r/linuxquestions/comments/pw19c8/htop_is_not_showing_the_correct_cpu_frequency/
current frequencies:
htop
cpupower:
lscpu
htop version 3.2.1