public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* User question: balloon memory, currentMemory and Linux/FreeBSD guests
@ 2012-03-14 11:51 Andy Smith
  2012-03-21 13:22 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Smith @ 2012-03-14 11:51 UTC (permalink / raw)
  To: kvm

Hi,

   I'm a KVM user, using it for the first time and so far very happy 
with it.
I wonder if someone can help me get my head round the issue of balloon 
memory and overallocation.

Basically I have a Debian wheezy/sid KVM server, on which I have a 
couple of Linux guests and several FreeBSD guests and I see different 
behaviour between the two guest types. On FreeBSD I have installed the 
virtio and balloon drivers (disk and network working great!), there is 
definately a balloon process running.
The behaviour I see is that both Linux and FreeBSD guests always show 
the "currentMemory" number when quiered with "qemu-monitor-command --hmp 
ClientName --cmd 'info balloon'". But from a "top" in the debian KVM 
host the "RES" size of the Linux guest processes varies (presumably 
depending on the demand of the guest OS) but the FreeBSD kvm processes 
always sit at exactly the "currentMemory" size.

Basically I'm interested to know what is going on, whether what I see 
is normal and whether balloon currently dynamically manages memory usage 
or if its still the case that it requires administrator intervention to 
re-release memory after the OS has previously been allocated it.

If there's a more appropriate place to ask this type of question please 
let me know,

thanks a lot! Andy.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-21 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14 11:51 User question: balloon memory, currentMemory and Linux/FreeBSD guests Andy Smith
2012-03-21 13:22 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox