[one-users] A question about the utilization of VMs

Adnan Pasic pqado at yahoo.de
Thu Nov 24 01:19:57 PST 2011


Okay, here is what I do:
- first I turned off the KSM function on the host that is going to hold my
VM
- then: onevm create vm_2GB.qemu
- then: ssh user at vm_2GB
- then: lookbusy -m 2000M
 --> Via "top" or "free" I can see that this VM is fully utilized now!
 --> In the physical machine I get the same result - 2GB utilized, which is
as expected!
- then, after some time: killall lookbusy (from inside the VM)
 --> "top" or "free" now say that the VM is empty in regard to memory
utilization
- However when I now execute the "free" command on my host, I get this:

             total       used       free     shared    buffers     cached
Mem:          3023       2933         89          0         21        675
-/+ buffers/cache:       2236        786
Swap:         6234          9       6225

As you can see the utilized memory is not cached or whatsoever, but really
utilized (as we can see in line 2: 2236 MB used!!!).
Any ideas? :-(




More information about the Users mailing list