GUEST Memory statistics secret revealed ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
http://www.axway.com

 

 

P Pensez à l’environnement avant d’imprimer.

 

 

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux