Displaying 9 results from an estimated 9 matches for "vir_domain_memory_stat_rss".
2014 Jul 03
3
memoryStats question
...irt.
According to
http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
structure could have a lot of useful memory statistic but the amount of
parameters depends on the hypervisor and the driver.
However using KVM I'm able to get VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
and VIR_DOMAIN_MEMORY_STAT_RSS only.
Am I right it is not possible to get additional info such as used/unused
memory inside a guest machine in case of KVM?
2015 Oct 28
0
How to find memory utilization percent of kvm guest?
...nt utilization using following API
rVal = virDomainMemoryStats (domPtr, memStats, VIR_DOMAIN_MEMORY_STAT_NR, 0) ;
for (i = 0; i < rVal; i++)
{
if (memStats[i].tag == 7)
memUsed = memStats[i].val;
}
Which is the value of "VIR_DOMAIN_MEMORY_STAT_RSS = 7"
Then I calculate util as (memUsed/memTotal)
But the value of memUsed exceeds value of memTotal by small amount resulting in memUtil to be around 101 %.
I understand that VIR_DOMAIN_MEMORY_STAT_RSS is Resident Set Size of the process running the domain.
How do I Calculate the...
2015 Nov 02
1
Re: virDomainMemoryStats missing counters ...
...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
I got 3 tags as returned by virDomainMemoryStats ()
0 --> VIR_DOMAIN_MEMORY_STAT_SWAP_IN
6 --> VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
7 --> VIR_DOMAIN_MEMORY_STAT_RSS
Does it mean that other values don't exist or are null ?
Regards,
J.P.
-----Message d'origine-----
De : Michal Privoznik [mailto:mprivozn@redhat.com]
Envoyé : lundi 2 novembre 2015 11:52
À : Jean-Pierre Ribeauville; libvirt-users@redhat.com
Objet : Re: [libvirt-users] virDomainMemoryS...
2015 Oct 30
0
GUEST Memory statistics secret revealed ...
...se 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_...
2015 Oct 30
2
virDomainMemoryStats missing counters ...
Hi,
In which libvirt version are these virDomainMemoryStats() counters handled ?
VIR_DOMAIN_MEMORY_STAT_SWAP_OUT
VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT
VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT
VIR_DOMAIN_MEMORY_STAT_UNUSED
VIR_DOMAIN_MEMORY_STAT_AVAILABLE
Thanks.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
2016 Feb 05
0
virDomainMemoryStats available tags
Hi,
By using libvirt-1.2.8-16.el7_1.3.x86_64 , it looks like there are 3 virDomainMemoryStats tags available :
VIR_DOMAIN_MEMORY_STAT_SWAP_IN
VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
VIR_DOMAIN_MEMORY_STAT_RSS
Is there a plan to add the other ones ?
Meanwhile , do you know which metrics ovirt uses to display memory column value in the manager GUI ?
Thx.
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http:/...
2014 Jul 03
0
Re: memoryStats question
...o
>http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
>structure could have a lot of useful memory statistic but the amount of
>parameters depends on the hypervisor and the driver.
>However using KVM I'm able to get VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
>and VIR_DOMAIN_MEMORY_STAT_RSS only.
>
QEMU/KVM only supports these two IIRC.
>Am I right it is not possible to get additional info such as used/unused
>memory inside a guest machine in case of KVM?
>
Yes. Actually reporting some data from *inside* the domain is not
what libvirt aims to provide.
Martin
2014 Jul 03
2
Re: memoryStats question
....org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
> >structure could have a lot of useful memory statistic but the amount of
> >parameters depends on the hypervisor and the driver.
> >However using KVM I'm able to get VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
> >and VIR_DOMAIN_MEMORY_STAT_RSS only.
> >
>
> QEMU/KVM only supports these two IIRC.
Actually, you should get more stats when using the virtio balloon
driver in your guests.
E.g. the windows virtio driver supports these stats:
SWAP_IN 0 /* Amount of memory swapped in */
SWAP_OUT 1 /* Amount of memory swapped...
2014 Jul 03
2
Re: memoryStats question
....org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
>> structure could have a lot of useful memory statistic but the amount of
>> parameters depends on the hypervisor and the driver.
>> However using KVM I'm able to get VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
>> and VIR_DOMAIN_MEMORY_STAT_RSS only.
>>
>
> QEMU/KVM only supports these two IIRC.
>
>> Am I right it is not possible to get additional info such as used/unused
>> memory inside a guest machine in case of KVM?
>>
>
> Yes. Actually reporting some data from *inside* the domain is not
>...