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 1220761

Summary: Output of cmd 'numastat qemu-kvm' is incomplete and incorrect
Product: Red Hat Enterprise Linux 7 Reporter: Gu Nini <ngu>
Component: numactlAssignee: Petr Oros <poros>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: bgray, michen, xuhan, ypu, zhengtli
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-25 11:46:02 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 Gu Nini 2015-05-12 11:22:26 UTC
Description of problem:
The output of cmd 'numastat qemu-kvm' in ppc64le host is as follows, which shows it losts one qemu-kvm process PID, and the memory usage value in each numa node is incorrect:
[root@ibm-p8-kvm-01-qe /]# numastat -c qemu-kvm

Per-node process memory usage (in MBs)
PID              Node 0 Node 1 Node 16 Node 17 Total
---------------  ------ ------ ------- ------- -----
52952 (qemu-kvm)      0      0       0       0    22
                     20      0       0       0  1580
53508 (qemu-kvm)      9      0       0       0  1181
64727 (qemu-kvm)    323      0       0       0  3446
109395 (qemu-kvm     28      0       0       0  3277
---------------  ------ ------ ------- ------- -----
Total               380      0       0       0  8875
[root@ibm-p8-kvm-01-qe /]# numastat qemu-kvm

Per-node process memory usage (in MBs)
PID                         Node 0          Node 1         Node 16
-----------------  --------------- --------------- ---------------
52952 (qemu-kvm)              0.31            0.00            0.00
                             18.06            0.00            0.00
53508 (qemu-kvm)             11.56            0.00            0.00
64727 (qemu-kvm)            305.12            0.00            0.00
109395 (qemu-kvm)            27.50            0.00            0.00
-----------------  --------------- --------------- ---------------
Total                       362.56            0.00            0.00

PID                        Node 17           Total
-----------------  --------------- ---------------
52952 (qemu-kvm)              0.00           22.31
                              0.00         1579.56
53508 (qemu-kvm)              0.00         1217.94
64727 (qemu-kvm)              0.00         3447.88
109395 (qemu-kvm)             0.00         3311.94
-----------------  --------------- ---------------
Total                         0.00         8911.81


Version-Release number of selected component (if applicable):
Host kernel: 3.10.0-244.ael7b.ppc64le
qemu-kvm-rhev: qemu-kvm-rhev-2.3.0-1.ael7b.ppc64le
Numa:
numactl-2.0.9-4.ael7b.ppc64le
numad-0.5-14.20140620git.ael7b.ppc64le

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Petr Oros 2017-05-25 11:46:02 UTC

*** This bug has been marked as a duplicate of bug 1219445 ***