From: Thomas Fjellstrom <tfjellstrom@shaw.ca>
To: kvm@vger.kernel.org
Cc: Avi Kivity <avi@redhat.com>
Subject: Re: Memory under KVM?
Date: Tue, 15 Dec 2009 16:21:18 -0700 [thread overview]
Message-ID: <200912151621.19082.tfjellstrom@shaw.ca> (raw)
In-Reply-To: <4B275FB1.7000608@redhat.com>
On Tue December 15 2009, Avi Kivity wrote:
> On 12/13/2009 07:16 PM, Thomas Fjellstrom wrote:
> >> Linux usually keeps very little RAM free (it's kept as cache). So
> >> there has to be some action on the part of the host to get the guest
> >> to free things. For Windows guests you can use ksm to reclaim free
> >> memory (since Windows will zero it).
> >
> > I'm waiting for 2.6.32 to hit Debian Sid before I start playing with
> > ksm (I don't think its in 2.6.31).
> >
> > The problem is it should be automatic. The balloon driver itself or
> > some other mechanism should be capable of noticing when it can free up
> > a bunch of guest memory. I can't be bothered to manually sit around and
> > monitor memory usage on my host so I can then go into virt-manager to
> > reduce memory to each guest.
>
> That should be pretty easy though it will have an effect on guest
> performance.
>
As long as its only done after an appropriately long idle period (ie: theres
been X MB's free for a long time, give it back), I can't see it harming
performance too much. At least not more than setting ram too low when
manually (de)ballooning memory.
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
next prev parent reply other threads:[~2009-12-15 23:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-11 21:43 Memory under KVM? rek2
2009-12-11 22:54 ` Brian Jackson
2009-12-12 8:09 ` Avi Kivity
2009-12-12 20:37 ` Thomas Fjellstrom
2009-12-13 10:08 ` Avi Kivity
2009-12-13 16:41 ` Thomas Fjellstrom
2009-12-13 16:45 ` Avi Kivity
2009-12-13 17:16 ` Thomas Fjellstrom
2009-12-15 10:06 ` Avi Kivity
2009-12-15 23:21 ` Thomas Fjellstrom [this message]
2009-12-16 9:55 ` Avi Kivity
2009-12-16 9:58 ` Thomas Fjellstrom
2009-12-16 10:00 ` Avi Kivity
2009-12-16 10:09 ` Thomas Fjellstrom
2009-12-13 20:23 ` rek2
2009-12-13 21:42 ` Thomas Fjellstrom
2009-12-13 22:06 ` rek2
2009-12-14 15:50 ` rek2
2009-12-14 19:57 ` Thomas Fjellstrom
2009-12-15 10:07 ` Avi Kivity
-- strict thread matches above, loose matches on Subject: below --
2009-12-10 22:10 Christian Fernandez
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=200912151621.19082.tfjellstrom@shaw.ca \
--to=tfjellstrom@shaw.ca \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.