search for: swap_in

Displaying 6 results from an estimated 6 matches for "swap_in".

2014 Jul 08
2
Re: memoryStats question
At Fri, 04 Jul 2014 16:18:45 +0200, Ján Tomko wrote: > > [1 <text/plain; ISO-8859-1 (quoted-printable)>] > On 07/04/2014 03:18 PM, Claudio Bley wrote: > > At Thu, 03 Jul 2014 17:46:14 +0300, > > Gleb Voronich wrote: > >> > >> > >>> virDomainMemoryStats() gets those stats, if qemu is new enough to > >>> provide them, and if the
2020 Mar 23
0
how can i get enough mem stat detai from win7 vm with virtio-win driver install and blnsrv started ?
...y one I have some trouble with the virsh to get vm mem-usage in guest os. [root@localhost ~]# virsh list --all Id Name State 1 wwl_centos7_1708 running 2 windows-virtio-template running I create two vms one guest os is centos, the other is window 7 virsh dommemstat wwl_centos7_1708 actual 4194304 swap_in 0 swap_out 0 major_fault 194 minor_fault 219454 unused 3729588 available 3881812 last_update 1581406529 rss 2969400 so i can get the vm mem-used detail, but if my guest os is windows, though I install virtio-win driver and run blnsrv.exe -i start the service, I fail to get not enough vm mem stat in...
2011 Feb 10
0
How to retrieve Memory stat of the KVM using python binding with Libvirt API
Hi , I am using ubuntu host machine and KVM is present as guest in that machine.Two virtual machines are there.I am using Python binding to query on the hypervisor and extract the VM related information.I like to print memory stat of the VM like SWAP_IN , SWAP_OUT,free memory, mem cached etc.So, the code, I have written for this, is : #!/usr/local/bin/python import libvirt import sys conn = libvirt.openReadOnly(None) if conn == None: print "Failed to open connection to the hypervisor" sys.exit(1) try: domIds = conn.listDom...
2014 Jul 08
0
Re: memoryStats question
> In that case, I'd guess that Gleb just forgot to call > virDomainSetMemoryStatsPeriod, perhaps? I've just performed the same test with CentOS 7 at the host and CentOS 7 at the guest. Everything works. # virsh dommemstat vm1 actual 1048576 swap_in 0 swap_out 0 major_fault 751 minor_fault 3958627 unused 375900 available 1017988 rss 978248 I don't know the reason it doesn't work with ELRepo 3.10.45 kernel but I'd really like to. According to https://bugzilla.redhat.com/show_bug.cgi?id=601690 memoryStats should work at host's...
2014 Jul 03
2
Re: memoryStats question
...ble 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 out */ MAJFLT 2 /* Number of major faults */ MINFLT 3 /* Number of minor faults */ MEMFREE 4 /* Total amount of free memory */ MEMTOT 5 /* Total amount of memory */ See https://github.com/YanVugenfirer/k...
2014 Jul 03
3
memoryStats question
Hello, I'm trying to get memory usage statistic inside a guest machine using virDomainMemoryStats function at libvirt. 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