From patchwork Fri Dec 10 14:10:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Bader X-Patchwork-Id: 75092 X-Patchwork-Delegate: apw@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 9BAD6B70AA for ; Sat, 11 Dec 2010 01:11:04 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1PR3gR-0004fy-JG; Fri, 10 Dec 2010 14:10:51 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1PR3gQ-0004ft-SP for kernel-team@lists.ubuntu.com; Fri, 10 Dec 2010 14:10:50 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1PR3gQ-0003Ic-QB for ; Fri, 10 Dec 2010 14:10:50 +0000 Received: from p5b2e5002.dip.t-dialin.net ([91.46.80.2] helo=canonical.com) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1PR3gQ-000378-KI for kernel-team@lists.ubuntu.com; Fri, 10 Dec 2010 14:10:50 +0000 From: Stefan Bader To: kernel-team@lists.ubuntu.com Subject: [Mavrick] SRU: Set maximum of domain visible memory to 70G Date: Fri, 10 Dec 2010 15:10:49 +0100 Message-Id: <1291990249-7934-1-git-send-email-stefan.bader@canonical.com> X-Mailer: git-send-email 1.7.0.4 To: kernel-team@lists.ubuntu.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com SRU justification: Impact: The config option XEN_MAX_DOMAIN_MEMORY controls how much memory a Xen instance is seeing. The default for 64bit is 32GB, which is the reason that m2.4xlarge instances only report this amount of memory. Fix: Setting this limit to 70GB as there is a known restriction for t1.micro instances at about 80GB. Testcase: Booted m2.4xlarge with this set to 32GB shows 32GB of memory, when set to 70GB, it correctly reports 68GB. Booted a t1.micro as well to verify this has not caused problems there. From c72705539ee164cdd100570c1340887f81a63d98 Mon Sep 17 00:00:00 2001 From: Stefan Bader Date: Thu, 9 Dec 2010 17:59:36 +0100 Subject: [PATCH] UBUNTU: Set maximum of domain visible memory to 70G BugLink: http://bugs.launchpad.net/bugs/667796 Otherwise the largest instances will be stuck with 32G of memory. 70G was chosen as there are some known problems on small instances around 80GB and the largest instance is using 68GB. Signed-off-by: Stefan Bader --- debian.master/config/config.common.ubuntu | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu index b0c486b..ed8ad01 100644 --- a/debian.master/config/config.common.ubuntu +++ b/debian.master/config/config.common.ubuntu @@ -5014,7 +5014,7 @@ CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_DEV_EVTCHN=m CONFIG_XEN_FBDEV_FRONTEND=m CONFIG_XEN_KBDDEV_FRONTEND=m -CONFIG_XEN_MAX_DOMAIN_MEMORY=32 +CONFIG_XEN_MAX_DOMAIN_MEMORY=70 CONFIG_XEN_SAVE_RESTORE=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XEN_SYS_HYPERVISOR=y