Red Hat Bugzilla – Bug 1289042
system monitor does not show CPU load values correctly
Last modified: 2015-12-07 08:52:32 EST
Created attachment 1103134 [details]
Description of problem:
In attached image you can see that processes with PID 9866,9867 have 100% CPU load in htop, but in gnome-system-utility same processes have only 25% and 24% CPU load.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
3.run stress --cpu 2 --timeout 60
4.compare cpu load values in both tools
values are different, gnome-system-monitor shows about one quarter from htop values
values should correspond
This is expected, and because gnome-system monitor is showing the CPU load averaged over the number of cores, whereas htop is showing the load in terms of a single core.
There is an option to configure this behaviour in the gnome-system-monitor prefences ("Divide CPU usage by CPU count") which can be changed by the user.
Good, i misunderstood the following TCMS test case
which was saying that values in htop and gnome-disk-utility "could be slightly different", I will update the case so we can prevent misunderstanding in future.