[libvirt-users] GUEST Memory statistics secret revealed ...

Jean-Pierre Ribeauville jpribeauville at axway.com
Fri Oct 30 15:23:21 UTC 2015


Hi,

I'm wondering how to explain following metrics I got from libvirt,
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 a 1.2.8  libvirt.

Thanks.

Reagrds,

J.P. Ribeauville


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

jpribeauville at axway.com<mailto:jpribeauville at axway.com>
http://www.axway.com<http://www.axway.com/>



P Pensez à l'environnement avant d'imprimer.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20151030/7f7ac027/attachment.htm>


More information about the libvirt-users mailing list