RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1289042 - system monitor does not show CPU load values correctly
Summary: system monitor does not show CPU load values correctly
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-system-monitor
Version: 7.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: David King
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-07 10:14 UTC by Martin Krajnak
Modified: 2015-12-07 13:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 12:43:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot.jpg (192.39 KB, image/jpeg)
2015-12-07 10:14 UTC, Martin Krajnak
no flags Details

Description Martin Krajnak 2015-12-07 10:14:19 UTC
Created attachment 1103134 [details]
screenshot.jpg

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):
gnome-system-monitor-3.14.1-3.el7.x86_64
kernel-3.10.0-327.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.run htop
2.run gnome-system-monitor
3.run stress --cpu 2 --timeout 60
4.compare cpu load values in both tools

Actual results:
values are different, gnome-system-monitor shows about one quarter from htop values

Expected results:
values should correspond

Comment 1 David King 2015-12-07 12:43:44 UTC
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.

Comment 2 Martin Krajnak 2015-12-07 13:52:32 UTC
Good, i misunderstood the following TCMS test case

https://tcms.engineering.redhat.com/case/422330/?from_plan=15435

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.


Note You need to log in before you can comment on or make changes to this bug.