From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Elena Ufimtseva <ufimtseva@gmail.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: xen pv hugepages
Date: Fri, 7 Feb 2014 10:34:15 -0500 [thread overview]
Message-ID: <20140207153415.GC3605@phenom.dumpdata.com> (raw)
In-Reply-To: <CAEr7rXhqCdUNo3rGORPMkFudY_0TW4Vmbogq4DpmRBv+z3_s_g@mail.gmail.com>
On Thu, Feb 06, 2014 at 07:12:24PM -0500, Elena Ufimtseva wrote:
> On Thu, Feb 6, 2014 at 6:59 PM, Konrad Rzeszutek Wilk
> <konrad.wilk@oracle.com> wrote:
> > On February 6, 2014 5:17:44 PM EST, Elena Ufimtseva <ufimtseva@gmail.com> wrote:
> >>Hello
> >>
> >>As I can see there is no support for hugepages in Xen for PV kernels.
> >>Is this something in the future plans or there is no really need to
> >>have this implemented?
> >
> > It was implemented. The UEK2 kernel (Oracle's) and SLES (I think) has this implemented. But making it upstream means adding some Xen specific code in the generic code which is a no-go.
> >
> > If you use PVH you get it for free. With the patches that Mukesh posted to enable some cpuid flags I was able to boot a guest with 2MB and 1GB pages without any trouble.
>
> Ok, I see. Well, I would think then that the kernel then should not
> provide any possibility to use it? Otherwise there are oopses and some
> other unpleasant things happening when trying to use huge pages. I am
> not sure, maybe if its clearly states that there is no hugetlb support
> for pv, then there is no need for this?
I was under the impression that the hugetlb option only gets enabled
if the 'cpu_has_pse' bit is set. And for PV that is cleared so it won't
be set.
>
> >>
> >>I came across this paper
> >>https://www.kernel.org/doc/ols/2011/ols2011-gadre.pdf,
> >>not sure if this was somehow presented to xen community, I can't find
> >>any code related to this.
> >>
> >>Thank you!
> >
> >
>
>
>
> --
> Elena
next prev parent reply other threads:[~2014-02-07 15:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 22:17 xen pv hugepages Elena Ufimtseva
2014-02-06 23:59 ` Konrad Rzeszutek Wilk
2014-02-07 0:12 ` Elena Ufimtseva
2014-02-07 10:41 ` Jan Beulich
2014-02-07 15:34 ` Konrad Rzeszutek Wilk [this message]
2014-02-07 10:38 ` Jan Beulich
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=20140207153415.GC3605@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=ufimtseva@gmail.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.