From: Ian Campbell <Ian.Campbell@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-users@lists.xen.org,
StefanoStabellini <Stefano.Stabellini@eu.citrix.com>,
Tim Deegan <tim@xen.org>, Jintack Lim <jintack@cs.columbia.edu>,
xen-devel <xen-devel@lists.xen.org>
Subject: Re: [Xen-users] Xen memory allocation for dom0 and domU
Date: Thu, 5 Feb 2015 10:16:26 +0000 [thread overview]
Message-ID: <1423131386.24924.59.camel@citrix.com> (raw)
In-Reply-To: <54D25C19020000780005CFBA@mail.emea.novell.com>
On Wed, 2015-02-04 at 16:51 +0000, Jan Beulich wrote:
> >>> On 04.02.15 at 17:41, <Ian.Campbell@citrix.com> wrote:
> > I originally used to think that domheap allocations would fall back to
> > the xenheap if the domheap was exhausted, but I think I was mistaken in
> > that.
>
> That's an arch choice actually - there are two variants of the Xen
> heap allocation function.
Ah yes, I keep forgetting about the split which was added to the !
CONFIG_SEPARATE_XENHEAP case recently for x86.
arm32 currently uses CONFIG_SEPARATE_XENHEAP, I don't think it is worth
switching since arm32 will never have truly enormous amounts of RAM I
don't think, plus I'd quite like to be able to backport at least some
aspect of this patch (e.g. the cmdline option if not the change to the
defaults).
arm64 uses !CONFIG_SEPARATE_XENHEAP but doesn't currently register any
RAM above the xenheap_bits limit. We probably will at some point,
although due to the lack of PV guests we have more hypervisor address
space to use for 1:1 than x86 does.
> > Patch for all this below. Jan, I don't think there is any (possibly
> > historical on x86_32) x86 option we should be trying to be consistent
> > with.
>
> On x86-32 it was always fixed 16M. On x86-64 we had a
> "xenheap_megabytes=" option before the sharing of the pools
> got introduced.
I suppose I should use the same thing for at least some sort of
consistency -- it's not like being able to set the xenheap at
sub-megabyte granularity is going to be very useful...
Ian.
next prev parent reply other threads:[~2015-02-05 10:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAHyh4xjOykrATAUXGqNd1h1ThiZ5FX680Pn=_mKxtePaAF-ubQ@mail.gmail.com>
[not found] ` <1423044595.17711.12.camel@citrix.com>
[not found] ` <CAHyh4xiPZsqWkuthvHHC-ina7Ua2YHqeAiiP6U-3oAC=M+pnHw@mail.gmail.com>
[not found] ` <1423061748.24924.10.camel@citrix.com>
2015-02-04 16:41 ` [Xen-users] Xen memory allocation for dom0 and domU Ian Campbell
2015-02-04 16:51 ` Jan Beulich
2015-02-05 10:16 ` Ian Campbell [this message]
2015-02-05 2:55 ` Jintack Lim
2015-02-05 3:39 ` Jintack Lim
2015-02-05 10:07 ` Ian Campbell
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=1423131386.24924.59.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=jintack@cs.columbia.edu \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.org \
--cc=xen-users@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.