Bug 669739
| Summary: | bump domain memory limits | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Andrew Jones <drjones> | ||||||
| Component: | kernel | Assignee: | Igor Mammedov <imammedo> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 6.0 | CC: | anton, imammedo, james.brown, jgreguske, jzheng, leiwang, mjenner, pbonzini, pcao, qguan, qwan, sforsber, sghosh, tburke, ted.williams, whayutin | ||||||
| Target Milestone: | rc | Keywords: | EC2, ZStream | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | kernel-2.6.32-163.el6 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
Memory limit for x86_64 domU PV guests has been increased to 128 GB: CONFIG_XEN_MAX_DOMAIN_MEMORY=128.
|
Story Points: | --- | ||||||
| Clone Of: | |||||||||
| : | 716498 (view as bug list) | Environment: | |||||||
| Last Closed: | 2011-12-06 12:41:15 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 653816, 716498, 716539 | ||||||||
| Attachments: |
|
||||||||
|
Description
Andrew Jones
2011-01-14 15:32:08 UTC
Thinking about this more we should probably take all of
commit 58e05027b530ff081ecea68e38de8d59db8f87e0
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge>
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.
New Contents:
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). Host Version: 2.6.18-286.el5xen, x86_64 xen-3.0.3-134.el5 Guest Version: kernel-2.6.32-202.el6, pv Test Matrix: Host(x86_64): - AMD, Intel Guest Arch i386: - Memory Size: 512M, 4G, 8G Guest Arch x86_64: - Memory Size: 1G, 4G, 16G, 32G, 70G, 128G Guest CPU: - 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. http://rhn.redhat.com/errata/RHSA-2011-1530.html |