[Goodies-dev] [Bug 14641] CPU freq is incorrect when hyperthreading is disabled

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Sep 12 15:08:33 CEST 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14641

--- Comment #2 from 520dhh at gmail.com ---
(In reply to Andre Miranda from comment #1)
> What do you mean by incorrect? Is it stuck on the same value or is it
> different than cat /proc/cpuinfo | grep "MHz"?
> Which governor are you using?
> 
> You can also compare the average results with watch -n1 "cat /proc/cpuinfo |
> grep 'MHz' | cut -d: -f2 | awk '{a+=\$1+0} END{print a/NR}'"

My laptop has 8 logical cores. When Hyperthreading is disabled, only 4 physical
cores have frequencies. /proc/cpuinfo is correctly showing 4 cpu info. But
apparently the plugin didn't get freq from /proc/cpuinfo. There are 4 disabled
cores which have 0 freq. And they are being calculated for avg and min freq.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Goodies-dev mailing list