Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1237286

Summary: virt-who-0.11-5.el7.noarch has 100% CPU usage when querying environment.
Product: Red Hat Enterprise Linux 7 Reporter: William <wlehman>
Component: virt-whoAssignee: Radek Novacek <rnovacek>
Status: CLOSED ERRATA QA Contact: xingge <gxing>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.1CC: alanm, gxing, hsun, jherrman, ldai, ovasik, sgao, shihliu, syangsao
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-who-0.14-1.el7 Doc Type: Bug Fix
Doc Text:
Previously, virt-who queries in some situations consumed significantly more CPU resources than expected. This update addresses the bug, and virt-who queries are now more consistently efficient in CPU usage.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:56:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description William 2015-06-30 17:48:40 UTC
Description of problem:

On RHEL 7.1 install virt-who is consuming 100% CPU when making queries.


Version-Release number of selected component (if applicable):
RHEL 7.1
virt-who-0.11-5.el7.noarch  

How reproducible:
Persistent in the customer environment

Steps to Reproduce:
1.Install RHEL 7 on 1+ CPU system
2. configure virt-who
3. report on 100+ hypervisor /1500+ VM environment

Actual results:
100% CPU usage until virt-who completes

Expected results:
Does not consume 100% CPU resources

Additional info:

Tested virt-who-0.14-1.el7.noarch.rpm in the customer environment.  This dropepd query time to 3.5 min and CPU usage to ~35%

Comment 2 Radek Novacek 2015-07-02 06:33:03 UTC
Is the performance you've measured with virt-who-0.14-1.el7 sufficient or should we try to improve it further?

The rebased version will get to RHEL-7.2.

Comment 4 Radek Novacek 2015-07-14 07:11:25 UTC
William, thanks for confirmation. It looks that new version of virt-who has sufficient performance.

Comment 6 Eko 2015-09-07 05:11:55 UTC
we test the virt-who performance with virt-who-0.14-4.el7.noarch, no performance issue found.

10 hosts x 100 guests = 1000 guests 

The cpu and memory usage is acceptable.

Details, please refer to: https://mojo.redhat.com/docs/DOC-1044700

Comment 8 Radek Novacek 2015-09-29 07:35:03 UTC
Alan,

the change is not easy to backport into RHEL-7.1 virt-who package. The whole part touching VMWare hypervisor is rewritten and it requires changes all over the codebase.

I think it would be better to provide the same virt-who package that will be part of RHEL-7.2 to the customer now. This version is thoroughly tested by QE team.

Do you agree to provide latest virt-who package (virt-who-0.14-9.el7) to the customer as hotfix for this issue? I can rebuild it and tag it as hotfix if necessary.

Comment 10 Radek Novacek 2015-10-06 08:17:05 UTC
Hotfix build done:

https://brewweb.devel.redhat.com/taskinfo?taskID=9923102

Let me know if you need anything else.

Comment 11 errata-xmlrpc 2015-11-19 11:56:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2370.html

Comment 12 Red Hat Bugzilla 2023-09-14 03:01:22 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days