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

2011-12-06 Thread Fabian Wenk
Hello Adnan On 04.12.2011 18:18, Adnan Pasic wrote: I can't really tell you what lookbusy does, as it's not a programme coded by me, but found on the internet to fulfill its duties ;) Or it does not properly as you would need it. Also, the website where I downloaded it from doesn't say

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

2011-12-06 Thread Antonio Messina
On 06/12/11 20.10, Fabian Wenk wrote: Hello Adnan On 04.12.2011 18:18, Adnan Pasic wrote: I can't really tell you what lookbusy does, as it's not a programme coded by me, but found on the internet to fulfill its duties ;) Or it does not properly as you would need it. Also, the website

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

2011-12-04 Thread Adnan Pasic
Hello Fabian, thank you very much for your answer. I can't really tell you what lookbusy does, as it's not a programme coded by me, but found on the internet to fulfill its duties ;) Also, the website where I downloaded it from doesn't say anything on how the programme is really working, and

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

2011-11-27 Thread Fabian Wenk
Hello Adnan On 24.11.2011 21:16, Adnan Pasic wrote: Is there a way to circumvent that? For my diploma thesis I need to utilize deployed VMs for a period of up to 12 hours. However, if KSM is active, the physical host doesn't hold this utilization, but adjusts the used memory pages. I do not

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

2011-11-24 Thread Adnan Pasic
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@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

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

2011-11-24 Thread Ruben S. Montero
Well that's normal if not usinng balloning. The hypervisor (outside the VM) allocates the whole memory till the VM is destroyed On Thu, Nov 24, 2011 at 10:19 AM, Adnan Pasic pq...@yahoo.de wrote: Okay, here is what I do: - first I turned off the KSM function on the host that is going to hold my

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

2011-11-24 Thread Adnan Pasic
Is there a way to circumvent that? For my diploma thesis I need to utilize deployed VMs for a period of up to 12 hours. However, if KSM is active, the physical host doesn't hold this utilization, but adjusts the used memory pages. Since I want to measure the power consumption of the physical host

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

2011-11-23 Thread Steven Timm
What hypervisor are you using? If you are using KVM then this behavior is normal, KVM only actually occupies the amount of RAM that the virtual machine is actually using at the time and OpenNebula reports the usage accordingly. this makes it possible to overbook and put 16 2-GB KVM VM's on a

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

2011-11-23 Thread Adnan Pasic
Yes, I am using KVM, indeed. But let me set this straight, the programme lookbusy that I am using, utilizes the VMs completely (the whole 2GB) and when I e.g. look at the memory usage inside the VM (via top, or free) it shows that the whole 2GB are used. However, the physical machine doesn't

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

2011-11-23 Thread Adnan Pasic
Okay, I found out additional infos regarding my problem. As it seems, the fact that the libvirt’s “ksm” dynamically manages the memory pages, which obviously leads to a stabilization of used memory, when the VM’s virtual memory is utilized to the maximum. This is why I deactivated “ksm” and voila:

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

2011-11-23 Thread Ruben S. Montero
However, I have another problem now – after I finish the utilization of my VM (which means, I kill the util. process, thus making all my virtual memory free again), the real host memory still stays utilized. Could that the memory no freed be in the cached/buffers? What could be the reason