All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Chris Leduc <chris.leduc@ericsson.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Partial huge page backing with KVM/qemu
Date: Sun, 25 Aug 2013 11:52:10 +0300	[thread overview]
Message-ID: <20130825085210.GI8218@redhat.com> (raw)
In-Reply-To: <7F858974825DC945874D45551C161B941156CCC4@eusaamb105.ericsson.se>

On Sat, Aug 24, 2013 at 12:32:07AM +0000, Chris Leduc wrote:
> Hi - In a KVM/qemu environment is it possible for the host to back only a portion of the guests memory with huge pages?  In some situations it may not be desirable to back the entirety of a guest's memory with huge pages (as can be done via libvirt memoryBacking option).
What are those situations?

> What would be very useful is to request huge pages in the guest, either at boot time or dynamically, and have the host back them with physical huge pages, but not back the rest of the normal page guest memory with huge pages from the host.
> 
> The equivalent in Xen is setting allowsuperpage=1 on the hypervisor boot line.
> 
As far as I can tell this disables/enables use of huge pages by XEN vm,
not something you say you want.
 
--
			Gleb.

  reply	other threads:[~2013-08-25  8:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-24  0:32 Partial huge page backing with KVM/qemu Chris Leduc
2013-08-25  8:52 ` Gleb Natapov [this message]
2013-08-26  2:09   ` Chris Leduc
2013-08-26  8:02     ` Gleb Natapov
2013-10-09  7:09       ` Gleb Natapov

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=20130825085210.GI8218@redhat.com \
    --to=gleb@redhat.com \
    --cc=chris.leduc@ericsson.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.