kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: tfjellstrom@shaw.ca
Cc: kvm@vger.kernel.org, dlaor@redhat.com
Subject: Re: automatic memory ballooning?
Date: Mon, 17 Aug 2009 14:35:12 +0300	[thread overview]
Message-ID: <4A894070.9080402@redhat.com> (raw)
In-Reply-To: <200908170449.40945.tfjellstrom@shaw.ca>

On 08/17/2009 01:49 PM, Thomas Fjellstrom wrote:
> One thing I found odd about kvm's ballooning is that it actually seems to
> change how much ram the guest has. I really didn't expect "free -m" to report
> that the guest only had 64M ram after I manually ballooned the ram. I was
> however expecting it just to free ram it wasn't using in the host. To me, it
> just doesn't seem to be the same thing. now it'll start swapping at 64M ram
> instead of just reallocating the ram it used to have.
>    

You expectations aren't realistic.  kvm never allocates the ram the 
guest doesn't use in the first place.   Ballooning just the "free" 
memory is pointless since it's usually a very small amount.

It may be worthwhile for the guest to give up that memory voluntarily 
though.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2009-08-17 11:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-16  9:55 automatic memory ballooning? Thomas Fjellstrom
2009-08-16 11:32 ` Avi Kivity
2009-08-16 14:18   ` Thomas Fjellstrom
2009-08-16 14:30     ` Avi Kivity
2009-08-16 15:07     ` Dor Laor
2009-08-17 10:49       ` Thomas Fjellstrom
2009-08-17 11:35         ` Avi Kivity [this message]
2009-08-17 12:32           ` Thomas Fjellstrom
2009-08-17 12:46             ` Avi Kivity
2009-08-17 12:33   ` Thomas Fjellstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A894070.9080402@redhat.com \
    --to=avi@redhat.com \
    --cc=dlaor@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=tfjellstrom@shaw.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).