From: "Jan Beulich" <jbeulich@novell.com>
To: mukesh.rathor@oracle.com
Cc: xen-devel@lists.xensource.com
Subject: Re: bring up Hypervisor on large (512GB) memory
Date: Tue, 10 Feb 2009 08:11:20 +0000 [thread overview]
Message-ID: <499144B8.76E4.0078.0@novell.com> (raw)
In-Reply-To: <4990EFC7.9000907@oracle.com>
Minus the regression Keir talks about, we have indications that Xen (even
3.3 iirc) itself boots fine even with 1Tb. The issues come with Dom0
booting: I recently submitted a patch to add infrastructure in Xen to allow
Dom0 to get a valid initial memory map, but the kernel side changes we
have could not easily be applied to the 2.6.18 tree, so that kernel will
continue to not be suitable for this large an amount of memory. Nor can I
at this point really tell whether those changes were all that's needed to get
things going, as the testing get stalled by the testers losing access to the
single machine that had this much memory.
For SLES10 (3.2 based), where we backported the necessary hypervisor
changes, we have indications that there might be other issues (as the
testers reported even booting with mem=400G failed), but we haven't
got hard data (read: back traces), and I haven't been able to spot
further issues by static code inspection.
Jan
>>> Mukesh Rathor <mukesh.rathor@oracle.com> 10.02.09 04:08 >>>
Hi all,
Trying to bring up the hypervisor on 512GB :
1. Started with xen 3.1.4 (last oracle release), and 512GB, the system
panic'd right away:
(XEN) Early fatal page fault at e008:ffff828c801ce0ad
(cr2=ffff8300cfc00000, ec=0002)
I noticed an anomaly here in the RAM map:
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000009f400 (usable)
(XEN) 000000000009f400 - 00000000000a0000 (reserved)
(XEN) 00000000000f0000 - 0000000000100000 (reserved)
(XEN) 0000000000100000 - 00000000cfd4c000 (usable)
(XEN) 00000000cfd4c000 - 00000000cfd56000 (ACPI data)
(XEN) 00000000cfd56000 - 00000000cfd57000 (usable)
(XEN) 00000000cfd57000 - 00000000e0000000 (reserved)
(XEN) 00000000fec00000 - 00000000fed00000 (reserved)
(XEN) 00000000fee00000 - 00000000fee10000 (reserved)
(XEN) 00000000ffc00000 - 0000000100000000 (reserved)
(XEN) 0000000100000000 - 000000802ffff000 (usable) <-------
Seems that should be 0000008000000000 ???
2. Reduce some RAM, and booting with 440GB, map makes more sense:
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000009f400 (usable)
(XEN) 000000000009f400 - 00000000000a0000 (reserved)
(XEN) 00000000000f0000 - 0000000000100000 (reserved)
(XEN) 0000000000100000 - 00000000cfd4c000 (usable)
(XEN) 00000000cfd4c000 - 00000000cfd56000 (ACPI data)
(XEN) 00000000cfd56000 - 00000000cfd57000 (usable)
(XEN) 00000000cfd57000 - 00000000e0000000 (reserved)
(XEN) 00000000fec00000 - 00000000fed00000 (reserved)
(XEN) 00000000fee00000 - 00000000fee10000 (reserved)
(XEN) 00000000ffc00000 - 0000000100000000 (reserved)
(XEN) 0000000100000000 - 0000006e00000000 (usable)
Panic again:
(XEN) Early fatal page fault at e008:ffff828c80210460
(cr2=ffff8300cfc00000, ec=0002)
The panic is trying to allocate bitmap in init_boot_allocator(). The bitmap
starts at cfac0000 and given the size dc1000, won't fit.
3. Moving to unstable 19164, looks like things are even more tighter!! I
couldn't even boot with 64GB. bitmap_start:cfac0000, bitmap_size:201000,
alloc_bitmap:ffff8300cfac0000
The only solution I can think of is moving the bitmap elsewhere, above 4GB in
this case:
figure the size of bitmap, DIRECT map space, allocate the map,
mark it reserved in the RAM map, and should work!
I'd have add a loop around init_boot_allocator() in __start_xen()
iterating thru the RAM map again, and finding space above 16M.
Am I on the right track?
Thanks,
Mukesh
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2009-02-10 8:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 3:08 bring up Hypervisor on large (512GB) memory Mukesh Rathor
2009-02-10 4:52 ` Tian, Kevin
2009-02-10 5:34 ` Keir Fraser
2009-02-10 23:43 ` Mukesh Rathor
2009-02-10 8:11 ` Jan Beulich [this message]
2009-02-10 8:47 ` Keir Fraser
2009-02-11 10:43 ` Keir Fraser
2009-02-27 4:42 ` Mukesh Rathor
2009-02-27 9:36 ` 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=499144B8.76E4.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=mukesh.rathor@oracle.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 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.