|
From: | Jean-Pierre Ribeauville |
Subject: | [Qemu-discuss] GUEST Memory statistics understanding .... |
Date: | Mon, 2 Nov 2015 15:11:33 +0000 |
Hi, I'm wondering how to explain following metrics I got from virDomainMemoryStats(), regarding memory stats for the two GUESTS running on my host. 1) virDomainGetXMLDesc() shows these values : memmax (1024000.000000) memcurrent(1024000.000000) memmax (2048000.000000) .memcurrent(2048000.000000) 2) As values returned by virDomainMemoryStats(), I got these values : VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON: active_balloon (1024000.000000) active_balloon (2048000.000000) VIR_DOMAIN_MEMORY_STAT_RSS: rss(1194195.312500) rss(2039269.531250 3) By using cgroup counters "memory.usage_in_bytes" for both Guests, I got these values : memusage (1 207 207 031 250) memusage (2 834 503 906 250) How is it possible to have a balloon size equal to memcurrent ? What "memory.usage_in_bytes" stands for (it's the maximum value of the three metrics I got for each GUEST) ? FYI , I use these releases : address@hidden bin]# rpm -qa | grep qemu libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64 qemu-kvm-1.5.3-86.el7_1.5.x86_64 qemu-kvm-common-1.5.3-86.el7_1.5.x86_64 qemu-guest-agent-2.1.0-4.el7.x86_64 ipxe-roms-qemu-20130517-6.gitc4bce43.el7.noarch qemu-img-1.5.3-86.el7_1.5.x86_64 address@hidden bin]# rpm -qa | grep libvirt libvirt-gconfig-0.1.7-3.el7.x86_64 libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-storage-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-network-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-secret-1.2.8-16.el7_1.3.x86_64 libvirt-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-nwfilter-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-lxc-1.2.8-16.el7_1.3.x86_64 libvirt-docs-1.2.8-16.el7_1.3.x86_64 libvirt-python-1.2.8-7.el7.x86_64 libvirt-gobject-0.1.7-3.el7.x86_64 libvirt-glib-0.1.7-3.el7.x86_64 libvirt-client-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-nodedev-1.2.8-16.el7_1.3.x86_64 libvirt-devel-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-kvm-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-config-network-1.2.8-16.el7_1.3.x86_64 libvirt-daemon-driver-interface-1.2.8-16.el7_1.3.x86_64 address@hidden bin]# Thanks. Regards, J.P. Ribeauville
|
[Prev in Thread] | Current Thread | [Next in Thread] |