Red Hat Bugzilla – Bug 669739
bump domain memory limits
Last modified: 2013-01-09 18:29:13 EST
RHEL6 arch/x86/xen/Kconfig sets 32-bit guests to 8G and 64-bit guests to 32G for maximum memory. Upstream now has that at 128, which makes more sense considering the pseudo-physical memory map allows up to 168G.
Thinking about this more we should probably take all of
Author: Jeremy Fitzhardinge <email@example.com>
Date: Fri Aug 27 13:28:48 2010 -0700
xen: convert p2m to a 3 level tree
which is the upstream patch that bumps the memory limit. If we don't take this whole patch then we'll have a cost of one page per gig. Right now we have the small cost of 8 pages for 32-bit guests and 32 pages for 64-bit guests. We could maybe double those without being too wasteful, but going to 128 would certainly be overly expensive. The full upstream patch switches to using early_brk() when setting up the p2m map, and thus any unused pages that were reserved for early_brk are freed.
Since nobody seems to be hitting the current limits, then I'm inclined to move the consideration of the full backport to 6.2, and not even bother doing the Kconfig change to increase (double?) the current limits.
http://xen.1045712.n5.nabble.com/PATCH-xen-convert-p2m-to-a-3-level-tree-partial-revert-td3359827.html points out a possible regression from bumping the memory limits. Upstream commits e5f15b45 and 14988a4d should fix this.
upstream 8e1b4cf210 maybe useful here too.
*** Bug 716274 has been marked as a duplicate of this bug. ***
We need to bump up to at least 70G for x86_64 guests per the requirements of
one customer. At this time we have no request to change 32-bit guest limits,
but while we're in the business it might be good to try 16G.
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update release.
Backported 58e05027b530ff0 and patches it depends on.
Tested x32 PV guest with 10Gb RAM on my WS (boots/saves/resumes).
Waiting for a reservation of a beaker host with sufficient amount of memory to
test x64 PV guest.
Patch(es) available on kernel-2.6.32-163.el6
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Memory limit for x86_64 domU PV guests has been increased to 128 GB: CONFIG_XEN_MAX_DOMAIN_MEMORY=128.
Verify this problem with kernel-2.6.32-202.el6 (128G memory guest excluded).
- AMD, Intel
Guest Arch i386:
- Memory Size: 512M, 4G, 8G
Guest Arch x86_64:
- Memory Size: 1G, 4G, 16G, 32G, 70G, 128G
- UP, SMP
For guest with 128G memory, sanity test pass with kernel-2.6.32-211.el6. Please
refer to bug 743590 comment 8.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.