From: Wei Liu Subject: Re: [OSSTEST PATCH v2] ts-windows-install: Bump RAM from 512M to 1536M Date: Thu, 16 Jul 2015 12:23:55 +0100 Message-ID: <20150716112355.GR12455@zion.uk.xensource.com> References: <1437044041.32371.170.camel@citrix.com> <1437045672-25324-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZFhHH-0004xO-Qw for xen-devel@lists.xenproject.org; Thu, 16 Jul 2015 11:24:35 +0000 Content-Disposition: inline In-Reply-To: <1437045672-25324-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xenproject.org, Wei Liu , Ian Campbell , Andrew Cooper List-Id: xen-devel@lists.xenproject.org On Thu, Jul 16, 2015 at 12:21:12PM +0100, Ian Jackson wrote: > Sadly we lack a proper infrastructure for handing guest memory size > and fitting it into the host. We don't currently even have in our > database the amount of RAM the host has. > > The recommended minimum for Windows is 2Gby. But we have (in the > Cambridge instance) some hosts which only have 4Gby. We allow 512 for > dom0. We need to leave some spare for Xen and other overheads. So > set this to 1536 (1.5Gby) which should fit even during localhost > migration. > > Later we may want to do something more sophisticated, like adjusting > this to 2048 if the host has enough, or only running the test on > bigger hosts, or something. > > Signed-off-by: Ian Jackson > CC: Wei Liu > CC: Andrew Cooper > --- > v2: 1536 not 1700. > Mention migration in the commit message. > --- > ts-windows-install | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ts-windows-install b/ts-windows-install > index 7740ee6..bdedf2b 100755 > --- a/ts-windows-install > +++ b/ts-windows-install > @@ -28,7 +28,7 @@ our $ho= selecthost($whhost); > > our $gho; > > -our $ram_mb= 512; > +our $ram_mb= 1700; This disagrees with your commit message. > our $disk_mb= 10000; > > our $guesthost= 'win.guest.osstest'; > -- > 1.7.10.4