From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Yang Z Zhang <yang.z.zhang@intel.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
"'Ian Campbell (Ian.Campbell@citrix.com)'"
<Ian.Campbell@citrix.com>
Subject: Re: real physical e820 table for dom0?
Date: Mon, 10 Mar 2014 14:37:57 -0400 [thread overview]
Message-ID: <20140310183757.GA11068@phenom.dumpdata.com> (raw)
In-Reply-To: <531DF8C102000078001227DF@nat28.tlf.novell.com>
On Mon, Mar 10, 2014 at 04:39:13PM +0000, Jan Beulich wrote:
> >>> On 10.03.14 at 17:27, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
> > On Mon, Mar 10, 2014 at 08:22:48AM +0000, Zhang, Yang Z wrote:
> >> Konrad Rzeszutek Wilk wrote on 2014-03-07:
> >> > On Fri, Mar 07, 2014 at 01:29:31AM +0000, Zhang, Yang Z wrote:
> >> >
> >> > How do you use the dom0_mem_max= argument? And what version of Xen are
> >> > you using?
> >> >
> >>
> >> I tried it both in Xen and dom0, no help. But adding
> > "dom0_mem=4096M,max:4096M" to xen cmdline helps.
> >> I am using the latest Xen upstream.
> >
> > Right. That is how it is suppose to work. What did you have before?
> > dom0_mem=4G?
> >
> > That means it will boot with all the memory that Xen sees and balloon down
> > to 4GB.
>
> Since when?
I was thinking this would be it:
8f370c14acf1c326a5e0ab8c505414600ff3c0
Author: David Vrabel <david.vrabel@citrix.com>
Date: Mon Aug 22 10:05:27 2011 +0100
x86: use 'dom0_mem' to limit the number of pages for dom0
Use the 'dom0_mem' command line option to set the maximum number of
pages for dom0. dom0 can use then use the XENMEM_maximum_reservation
memory op to automatically find this limit and reduce the size of any
page tables etc.
But now that I look at the code, I see that if you specific
dom0_mem=4G it will boot with 4GB and no more.
And the Linux kernel should be able to work with that.
next prev parent reply other threads:[~2014-03-10 18:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 8:45 real physical e820 table for dom0? Zhang, Yang Z
2014-03-06 10:19 ` Gordan Bobic
2014-03-06 18:45 ` Konrad Rzeszutek Wilk
2014-03-07 1:29 ` Zhang, Yang Z
2014-03-07 13:56 ` Konrad Rzeszutek Wilk
2014-03-10 8:22 ` Zhang, Yang Z
2014-03-10 16:27 ` Konrad Rzeszutek Wilk
2014-03-10 16:39 ` Jan Beulich
2014-03-10 18:37 ` Konrad Rzeszutek Wilk [this message]
2014-03-11 10:28 ` David Vrabel
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=20140310183757.GA11068@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xenproject.org \
--cc=yang.z.zhang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).