From: Dave McCracken <dcm@mccr.org>
To: xen-devel@lists.xen.org, Jan Beulich <JBeulich@suse.com>,
George Dunlap <george.dunlap@eu.citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: Issue with PV superpage handling
Date: Mon, 25 Jun 2012 11:07:43 -0500 [thread overview]
Message-ID: <201206251107.44096.dcm@mccr.org> (raw)
In-Reply-To: <4FE8A450020000780008BBD1@nat28.tlf.novell.com>
On Monday, June 25, 2012, Jan Beulich wrote:
> > My question is, what is the value of enforcing all-or-nothing for PV
> > guests? Is it the case that PV guests have to be entirely in either one
> > mode or the other?
>
> Since I understand a PV guest's balloon driver must play with
> this, I indeed think this is a strictly separated set.
I specifically need to be able to guarantee superpage-backed memory in PV
guests to be able to map them as superpages (hugepages in Linux). I'm trying
to come up with some benefit for opportunistic superpages in PV guests, but
nothing comes to mind.
> > I'm not particularly fussed about having a way to disable the
> > opportunistic superpage allocation for HVM guests, and just turning that
> > on all the time. I only really used the flag because I saw it was being
> > passed but wasn't being used; I didn't realize it was meant to have the
> > "use superpages or abort" semantics. My only non-negotiable is that we
> > have a way to get opportunistic superpages for HVM guests.
>
> Couldn't we have the setting be an override for the HVM
> allocation behavior (defaulting to enabled there), and have
> the originally intended meaning for PV (disabled by default)?
I like this idea. It would be simple enough.
Is there any reason to allow disabling HVM superpage allocation? HVM domain
creation always allocates as many superpages as it can, then falls back to
small pages for the rest. Wouldn't it be reasonable to make restore always do
this too?
Dave McCracken
Oracle Corp.
next prev parent reply other threads:[~2012-06-25 16:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 14:38 Issue with PV superpage handling Dave McCracken
2012-06-25 15:08 ` George Dunlap
2012-06-25 15:48 ` Jan Beulich
2012-06-25 16:07 ` Dave McCracken [this message]
2012-06-25 17:07 ` George Dunlap
2012-06-26 6:52 ` Jan Beulich
2012-07-09 6:02 ` Juergen Gross
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=201206251107.44096.dcm@mccr.org \
--to=dcm@mccr.org \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=george.dunlap@eu.citrix.com \
--cc=xen-devel@lists.xen.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.