From: Vladimir Zidar <mr_w@mindnever.org>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: hypervisor memory usage
Date: Wed, 28 Oct 2009 12:19:01 +0100 [thread overview]
Message-ID: <4AE828A4.4080601@mindnever.org> (raw)
In-Reply-To: <C70DD036.18A90%keir.fraser@eu.citrix.com>
I have actually tracked this down to xen version which centos (could be
also what rhel uses):
Version xen.gz-2.6.18-53.1.4.el5.centos.plus gives
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 00000001f00cb000 (usable)
On node 0 totalpages: 2031819
DMA zone: 2031819 pages, LIFO batch:31
and xen.gz-2.6.18-164.el5 gives:
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 00000001dc9c8000 (usable)
On node 0 totalpages: 1952200
DMA zone: 1952200 pages, LIFO batch:31
That is 79619 pages difference - slightly over 300MB.
Both give the same info here:
release : 2.6.18-164.el5xen
version : #1 SMP Thu Sep 3 04:03:03 EDT 2009
machine : x86_64
nr_cpus : 2
nr_nodes : 1
sockets_per_node : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 3013
hw_caps :
178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f
total_memory : 8190
free_memory : 2
node_to_cpu : node0:0-1
xen_major : 3
xen_minor : 1
xen_extra : .2-164.el5
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
cc_compile_by : mockbuild
cc_compile_domain : centos.org
cc_compile_date : Thu Sep 3 03:20:50 EDT 2009
xend_config_format : 2
(except for xen_extra and cc_compiler which are different).
Now I understand that this could be due to rhel patches, and maybe
doesn't relate to official xen builds, but I'd like to know if this
issue was known or not before jumping into xen 3.4 - as it won't be
direct rpm/yum upgrade path.
Kind Regards,
Vladimir
Keir Fraser wrote:
> By default Xen leaves 1/16 of memory free, up to a maximum of 128MB, for
> things like allocation of DMA buffers and swiotlb, and other domains,
> during/after dom0 boot. So you can see this memory is not actually all used,
> but is in Xen free pools, by looking at output of 'xm info' after dom0 has
> booted.
>
> If you want dom0 to be given all available memory, add something like
> 'dom0_mem=64G' to Xen's command line. This overrides the default policy, and
> a really large number like 64GB will get clamped down to merely "all memory
> available".
>
> -- Keir
>
next prev parent reply other threads:[~2009-10-28 11:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 9:29 hypervisor memory usage Vladimir Zidar
2009-10-28 9:45 ` Pasi Kärkkäinen
2009-10-28 9:53 ` Vladimir Zidar
2009-10-28 10:40 ` Keir Fraser
2009-10-28 11:19 ` Vladimir Zidar [this message]
2009-10-28 11:58 ` Pasi Kärkkäinen
2009-10-28 12:02 ` Vladimir Zidar
2009-10-28 13:12 ` Pasi Kärkkäinen
2009-10-28 13:18 ` Chris Lalancette
2009-10-28 14:13 ` Vladimir Zidar
2009-10-29 11:07 ` Vladimir Zidar
2009-10-29 11:19 ` Vladimir Zidar
2009-10-29 12:05 ` Keir Fraser
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=4AE828A4.4080601@mindnever.org \
--to=mr_w@mindnever.org \
--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 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.