From: Dave McCracken <dcm@mccr.org>
To: xen-devel@lists.xensource.com
Cc: Ian Pratt <Ian.Pratt@eu.citrix.com>,
"Mick.Jordan@sun.com" <Mick.Jordan@sun.com>,
Jeremy Fitzhardinge <jeremy@goop.org>,
Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: 2MB page PV guest support clarification
Date: Mon, 2 Mar 2009 07:45:29 -0600 [thread overview]
Message-ID: <200903020745.30110.dcm@mccr.org> (raw)
In-Reply-To: <C5CECC86.397A%keir.fraser@eu.citrix.com>
On Saturday 28 February 2009, Keir Fraser wrote:
> On 28/02/2009 00:03, "Ian Pratt" <Ian.Pratt@eu.citrix.com> wrote:
> >> Its a work in progress, but there's nothing usable yet, as far as I
> >> know.
> >
> > Oracle have been working on PV 2MB page support, and I expect they'll
> > pitch in with an update.
> >
> > Over the last 18 months or so there have been a number of changes to
> > xen's PV PT handling that make support of 2MB pages significantly easier
> > than it was previously. However, the guest has to be careful how it uses
> > them as it can't alias any memory that may be used for storing pagetables
> > pages (that must be RO).
>
> Oracle already got their code checked in. You have to specify
> 'allowhugepage' on Xen's command line to enable it. It has limitations,
> such as save/restore doesn't work.
I am the person at Oracle working on PV guest support for 2MB pages. I did
get an initial patch accepted into the Xen hypervisor that enables basic 2MB
page support. As Keir said, it requires 'allowhugepage' on the Xen
hypervisor command line. It supports the basic ability to specify PSE in the
page table, and takes care of the associated type and reference tracking for
the mapped page(s).
What this patch does not do is make any guarantee about the alignment of the
mapped page, which is a hardware requirement. The solution I am working on
for this is to create domains with 2MB pages. The hypervisor already
supports populating a domain with larger pages. I am working on supporting
2MB page domains at creation time and restore time. This approach will also
require that balloon drivers understand and work with 2MB pages.
Dave McCracken
Oracle Corp.
next prev parent reply other threads:[~2009-03-02 13:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-27 23:01 2MB page PV guest support clarification Mick Jordan
2009-02-27 23:28 ` Jeremy Fitzhardinge
2009-02-27 23:54 ` Mick Jordan
2009-02-28 0:03 ` Ian Pratt
2009-02-28 0:42 ` Mick Jordan
2009-02-28 1:28 ` Ian Pratt
2009-02-28 1:37 ` Mick Jordan
2009-03-02 10:44 ` Rolf Neugebauer
2009-02-28 11:12 ` Keir Fraser
2009-03-02 13:45 ` Dave McCracken [this message]
2009-03-02 16:38 ` Mick Jordan
2009-03-02 16:23 ` Mick Jordan
2009-03-02 16:34 ` Keir Fraser
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=200903020745.30110.dcm@mccr.org \
--to=dcm@mccr.org \
--cc=Ian.Pratt@eu.citrix.com \
--cc=Mick.Jordan@sun.com \
--cc=jeremy@goop.org \
--cc=keir.fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.