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 :



[root@sparring 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

[root@sparring 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

[root@sparring bin]#





Thanks.



Regards,



J.P. Ribeauville



J.P. Ribeauville


P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5  Bureau 4

jpribeauvi...@axway.com<mailto:jpribeauvi...@axway.com>
http://www.axway.com<http://www.axway.com/>



P Pensez à l'environnement avant d'imprimer.



Reply via email to