WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Dynamic Memory Management and Migration (3.0.4-0)

To: Timo Benk <timo.benk@xxxxxx>
Subject: Re: [Xen-devel] Dynamic Memory Management and Migration (3.0.4-0)
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Wed, 31 Jan 2007 17:27:56 +0000
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 31 Jan 2007 09:27:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45C0B5D5.5010103@xxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <45C0B5D5.5010103@xxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Wed, Jan 31, 2007 at 04:29:25PM +0100, Timo Benk wrote:
> Hello,
> 
> i noticed the following Problem:
> 
> if i want to allow dynamic memory management of Linux-domains, i need to
> set the following kernel parameter. Otherwise it is not possible, to
> increase the memory of the domain above the initial assigned value:
> 
> extra = "mem=10240M"

That should not be neccessary. We fixed the Hypervisor to implement the
neccessary magic so that XenD can utilize the 'maxmem' parameter in
guest config files correctly So for example

  mem=500
  maxmem=800

Will make the guest VM boot up with 500 MB of initial RAM. It will also
tell it to allocate page tables entries big enough to address 800 MB of
RAM. So after boot up, you will be able to balloon the guest upto this
maxmimum of 800 MB simply using 'xm mem-set 800'.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel