xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: PGNet Dev <pgnet.dev@gmail.com>
Cc: Wei Liu <wei.liu2@citrix.com>, xen-devel@lists.xen.org
Subject: Re: Xen 4.6 --with-ovmf, on UEFI Dom0 host up/running, but logging repeated "d1v0 Over-allocation for domain" ?
Date: Fri, 18 Mar 2016 16:03:22 +0000	[thread overview]
Message-ID: <20160318160322.GJ28955@citrix.com> (raw)
In-Reply-To: <856c20f8-ae91-6553-115d-48241c4f4d36@gmail.com>

On Fri, Mar 18, 2016 at 08:55:16AM -0700, PGNet Dev wrote:
> On 03/18/2016 08:48 AM, Wei Liu wrote:> The log message isn't necessarily
> indication for a bug.
> >
> >OVMF is huge, so it pushes up total memory consumption of the guest.  It
> >is normal that you see that message when using OVMF during boot time.
> >
> >What is unclear to me is why your guest keeps trying to ask for more
> >pages after it boots up.  Is your guest trying to balloon in pages?
> 
> Re: ballooning. I don't _think_ so, but not sure how to verify that.
> 

In Dom0:

  xenstore-ls -f /local/domain/$guest_domid

and paste it here.

> Currently, my DomO's cmd line is
> 
> 	xen_commandline        : dom0_mem=4096M,max:4096M dom0_max_vcpus=1
> dom0_vcpus_pin=true cpuidle=1 cpufreq=xen clocksource=hpet iommu=verbose
> sched=credit vga=gfx-1920x1080x16 com1=115200,8n1,pci console=com1,vga
> console_timestamps sync_console console_to_ring conring_size=64
> earlyprintk=vga,keep log_buf_len=16M sched_debug apic_verbosity=verbose
> debug loglvl=debug guest_loglvl=debug
> 
> Yes, I'm sure it's subject to improvement.
> 
> On the guest,
> 
> 	Kernel command line: BOOT_IMAGE=/vmlinuz root=LABEL=ROOT resume=LABEL=SWAP
> kbdtype=us headless text quiet nofb apparmor=0 edd=off splash=silent noshell
> showopts net.ifnames=0 console=ttyS0,19200n8 systemd.log_level=info
> systemd.log_target=kmsg
> 

First observation is that the log message starts with d1v0, which means
domain 1 vcpu 0, so Dom0 is irrelevant in that case.

The guest kernel command line looks normal.

You can also verify if your guest is trying to balloon in memory by
looking at sysfs knobs.

According to Linux kernel documentation, the relevant knobs live under

/sys/devices/system/xen_memory0/*

> >Do you see the same message repeated when using seabios?
> 
> Haven't yet checked.
> 
> Atm, I've only UEFI guests, setup.  To test, I'll just have to spin up a
> non-UEFI guest.  A bit later ...

Yes, this would be helpful for identifying the issue.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-03-18 16:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 15:21 Xen 4.6 --with-ovmf, on UEFI Dom0 host up/running, but logging repeated "d1v0 Over-allocation for domain" ? PGNet Dev
2016-03-18 15:48 ` Wei Liu
2016-03-18 15:55   ` PGNet Dev
2016-03-18 16:03     ` Wei Liu [this message]
2016-03-18 16:19       ` PGNet Dev

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=20160318160322.GJ28955@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=pgnet.dev@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 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).