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-users

Re: [Xen-users] Memory Ballooning / Overcommitting

To: Robert Read <rread@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Memory Ballooning / Overcommitting
From: Matt Ayres <matta@xxxxxxxxxxxx>
Date: Fri, 18 Jul 2008 13:17:52 -0400
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>, Chris Hane <chrishane@xxxxxxxxx>
Delivery-date: Fri, 18 Jul 2008 10:20:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <555BAC68-89D5-4926-860E-578D87EA3F6D@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <487FD74A.9040401@xxxxxxxxx> <555BAC68-89D5-4926-860E-578D87EA3F6D@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
Robert Read wrote:

On Jul 17, 2008, at 16:35 , Chris Hane wrote:

I have a xen server setup that I want to install a lot of vms on if possible. The vms will have no utilization for the most part; and brief utilization when active. The server has 2GB of RAM.

We were running into a problem were the dom0 would not let us add anymore vms because we were out of physical memory.

I have started to read about memory ballooning and hoping someone could point me in the right direction. If my understanding is correct, ballooning will increase the vm memory if needed up to a maxmem setting. And can decrease memory if requested by the dom0.

Is this an automatic process, or do I have to manually issue a command to increase/decrease the domU memory? The command I know about is:
> xm mem-set <Domain> <Mem>

There is no automatic process for increasing guest memory, yet. As Mark mentioned yesterday there are some patches floating around to do this if someone wants to try it out.
xenballoond was committed to xen-unstable for the next release. It was designed for pretty much this exact reason.

Details: http://wiki.xensource.com/xenwiki/Open_Topics_For_Discussion?action=AttachFile&do=get&target=Memory+Overcommit.pdf

Thanks,
Matt

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