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 1520238

Summary: Output of "numastat -p" is not correct.
Product: Red Hat Enterprise Linux 7 Reporter: Min Deng <mdeng>
Component: numactlAssignee: Petr Oros <poros>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: high    
Version: 7.5CC: skozina
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-12-04 08:17:22 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 Min Deng 2017-12-04 06:09:11 UTC
Description of problem:
Output of "numastat -p" is not correct.

Version-Release number of selected component (if applicable):
kernel-4.14.0-11.el7a.ppc64le
qemu-kvm-rhev-2.10.0-10.el7.ppc64le
SLOF-20170724-2.git89f519f.el7.noarch

numactl-2.0.9-6.el7_2.ppc64le
numad-0.5-17.20150602git.el7.ppc64le
numactl-libs-2.0.9-6.el7_2.ppc64le

How reproducible:
5/5

Steps to Reproduce:
1.boot up guest with 
  /usr/libexec/qemu-kvm -name virt-tests-vm1 -sandbox off -machine pseries-rhel7.5.0 -nodefaults -vga std -device virtio-blk-pci,id=virtio_blk_pci0,disable-legacy=off,disable-modern=off,drive=drive_image1 -drive id=drive_image1,if=none,cache=none,aio=native,format=qcow2,file=rhel-numa-75alt.qcow2 -qmp tcp:0:4444,server,nowait -vnc :1 -rtc base=utc,clock=host,driftfix=slew -boot order=cdn,once=c,menu=off,strict=off -monitor stdio -device nec-usb-xhci,id=usb1 -device usb-kbd,id=input0 -device usb-mouse,id=input1 -device usb-tablet,id=input2 -netdev tap,script=/etc/qemu-ifup,downscript=/etc/qemu-down,id=hostnet1,vhost=on -device virtio-net-pci,netdev=hostnet1,id=net1,mac=00:52:11:36:3f:01 -machine accel=kvm -chardev socket,id=serial_id_serial0,path=/tmp/min,server,nowait -device spapr-vty,reg=0x30000000,chardev=serial_id_serial0 -m 24G,maxmem=200G,slots=200 -smp 2 -numa node -numa node

2.on host and 
  #ps -aux|grep qemu-kvm  
  #[root@localhost home]# numastat -p 14932
Per-node process memory usage (in MBs) for PID 14932 (qemu-kvm)
                           Node 0          Node 8        Node 250
                  --------------- --------------- ---------------
Huge                         0.00            0.00            0.00
Heap                        25.19            0.00            0.00
Stack                        0.12            0.00            0.00
Private                   1936.88            0.00            0.00
----------------  --------------- --------------- ---------------
Total                     1962.19            0.00            0.00

                         Node 251        Node 252        Node 253
                  --------------- --------------- ---------------
Huge                         0.00            0.00            0.00
Heap                         0.00            0.00            0.00
Stack                        0.00            0.00            0.00
Private                      0.00            0.00            0.00
----------------  --------------- --------------- ---------------
Total                        0.00            0.00            0.00

                         Node 254        Node 255           Total
                  --------------- --------------- ---------------
Huge                         0.00            0.00            0.00
Heap                         0.00            0.00           25.31
Stack                        0.00            0.00            0.12
Private                      0.00            0.00         4168.88
----------------  --------------- --------------- ---------------
Total                        0.00            0.00         4194.31

3.

Actual results:
The total output is more than node 0's but there wasn't any extra data from other nodes.

Expected results:
The output should be reasonable and understandable.

Additional info:

Comment 2 Petr Oros 2017-12-04 08:17:22 UTC

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