You are not logged in.

#1 2016-09-23 14:38:09

wh00
Member
Registered: 2016-03-24
Posts: 20

top and htop show incorrect CPU load

Anyone experiencing this or have experienced this in the past?

top and htop both show %CPU as '0' for all processes. However, they'll both show the correct per-core usage.

I'm pretty sure this only happened after my recent upgrade which included linux-firmware

pacman -Qi linux-firmware
Name            : linux-firmware
Version         : 20160915.c4c07a8-1

Last edited by wh00 (2016-09-23 14:40:27)

Offline

#2 2016-09-23 15:22:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: top and htop show incorrect CPU load

Nope.  Works fine here.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-09-23 17:00:22

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: top and htop show incorrect CPU load

Working fine here too. Did you do (and save) any changes to the sorting order?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2016-09-30 16:12:39

wh00
Member
Registered: 2016-03-24
Posts: 20

Re: top and htop show incorrect CPU load

It's not a sorting issue, all the values are at 0% for all processes.

I noticed in /proc/[pid]/stat that utime, stime, cutime, and cstime are all zero

What are potential causes of this?

Not sure if related, but /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq also shows "unknown" instead of a value.


edit: for reference, my CPU is an i7 5820k

Last edited by wh00 (2016-09-30 20:13:40)

Offline

#5 2016-10-04 19:20:00

beardo_diaspora
Member
Registered: 2012-11-01
Posts: 3

Re: top and htop show incorrect CPU load

I can confirm the same problem, all cpuinfo_cur_freq are reported as unknown and all the values in htop are at 0%

I'm on an i7-5930K

Offline

#6 2016-10-12 13:27:11

beardo_diaspora
Member
Registered: 2012-11-01
Posts: 3

Re: top and htop show incorrect CPU load

This was resolved on my end after updating to 4.7.6-1, no new microcode updates that I noticed.

Offline

#7 2016-10-13 14:36:14

wh00
Member
Registered: 2016-03-24
Posts: 20

Re: top and htop show incorrect CPU load

This was not resolved by udpating the kernel for me. However this was resolved by modifying my mobo settings. See this comment

Offline

Board footer

Powered by FluxBB