From: Ian Campbell <Ian.Campbell@citrix.com>
To: Anthony PERARD <anthony.perard@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: xl.cfg, memory options clarification
Date: Fri, 9 Mar 2012 08:55:52 -0800 [thread overview]
Message-ID: <1331312152.3560.19.camel@cthulhu.hellion.org.uk> (raw)
In-Reply-To: <4F5A179F.8060608@citrix.com>
On Fri, 2012-03-09 at 09:45 -0500, Anthony PERARD wrote:
> I also try something else with the default qemu, having memory=128 and
> maxmem=1024. The guest boot, but after using it a bit Xen print:
>
> (XEN) p2m_pod_demand_populate: Out of populate-on-demand memory!
> tot_pages 31733 pod_entries 231424
> (XEN) domain_crash called from p2m-pod.c:1076
This might just be because a 128:1024 ratio is too much for PoD to cope
with? Or is your guest not running a balloon driver perhaps?
Using maxmem>memory for an HVM guest requires that the balloon driver
gets starts pretty early on in the guest boot up.
> [...]
> (XEN) Panic on CPU 0:
> (XEN) Assertion 'lock->recurse_cnt < 0xfu' failed at spinlock.c:251
This seems like a bug to me -- running out of PoD memory shouldn't crash
the host...
> and reboot.
>
> Is maxmem not suppose to be used with a guest ? Or is just broken.
>
> From all of that, I think I'll just make a change to the
> build_dm_args_new and give "-m $((maxmem - videoram))" instead of targetmem.
I think the value is probably correct but I guess there ought to be a
libxl__ function to just give you the right amount rather than
calculating it yourself -- perhaps Stefano can advise?
Ian.
prev parent reply other threads:[~2012-03-09 16:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-09 14:45 xl.cfg, memory options clarification Anthony PERARD
2012-03-09 14:59 ` Olaf Hering
2012-03-09 16:55 ` Ian Campbell [this message]
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=1331312152.3560.19.camel@cthulhu.hellion.org.uk \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=anthony.perard@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 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).