Bug 601690 - virtio balloon driver does not include extended memory statistics
Summary: virtio balloon driver does not include extended memory statistics
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Amit Shah
QA Contact: Virtualization Bugs
Depends On:
Blocks: 802680
TreeView+ depends on / blocked
Reported: 2010-06-08 13:29 UTC by Daniel Berrange
Modified: 2013-01-09 22:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 601692 802680 (view as bug list)
Last Closed: 2010-11-11 16:10:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Daniel Berrange 2010-06-08 13:29:22 UTC
Description of problem:
KVM and libvirt in RHEL6 have support for querying extended memory statistics from the guest kernel balloon driver. The RHEL6 kernel, however, is missing this since IIRC it was only added in 2.6.34. This is causing frequent bug reports from beta testers expecting extended statistics to be present in RHEL6 and is also useful information for host admins. The code is well isolated from the rest of the kernel, so it should be feasible to backport this.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Boot a RHEL6 KVM guest
2. Run 'virsh dommemstat $GUESTNAME' on the host
Actual results:
No output

Expected results:
Similar output to

# virsh dommemstat f14x86_64
swap_in 0
swap_out 0
major_fault 1421
minor_fault 5607546
unused 26672
available 794344

Additional info:
There appear to be at least 3 upstream patches required to provide this support in the kernel virtio balloon driver.


Comment 2 RHEL Product and Program Management 2010-06-08 13:58:37 UTC
This feature request did not get resolved in time for Feature Freeze
for the current Red Hat Enterprise Linux release and has now been
denied. It has been proposed for the next Red Hat Enterprise Linux
release. If you would still like it considered for the current
release as an exception, please make that request with your support

Comment 4 RHEL Product and Program Management 2010-06-08 17:53:21 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 5 Aristeu Rozanski 2010-07-01 16:21:39 UTC
Patch(es) available on kernel-2.6.32-42.el6

Comment 8 lihuang 2010-08-01 16:18:30 UTC
verified on kernel-2.6.32-52.el6

1. on guest : 
[root@dhcp-91-115 ~]# free 
             total       used       free     shared    buffers     cached
Mem:        851084     338288     512796          0      78412     105640
-/+ buffers/cache:     154236     696848
Swap:      6258680          0    6258680

2. on host 
virsh # dommemstat 17
swap_in 0
swap_out 0
major_fault 781
minor_fault 1815889
unused 512812
available 851084

3. on host 
virsh # setmem 17 4096000

4. on host 
virsh # dommemstat 17
swap_in 0
swap_out 0
major_fault 781
minor_fault 1827031
unused 3584788
available 3923084

5. on guest 
[root@dhcp-91-115 ~]# free 
             total       used       free     shared    buffers     cached
Mem:       3923084     338304    3584780          0      78412     105640
-/+ buffers/cache:     154252    3768832
Swap:      6258680          0    6258680

Comment 9 releng-rhel@redhat.com 2010-11-11 16:10:12 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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