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] Contending RAM

To: Andy Davidson <andy@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Contending RAM
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Wed, 31 May 2006 14:37:02 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 May 2006 12:37:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C61FFBEF-5188-46D8-AC7C-C3E52320430A@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <C61FFBEF-5188-46D8-AC7C-C3E52320430A@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (X11/20060522)
Andy Davidson wrote:


Hi, guys --

We make fairly extensive use of Xen on our QA and testing platform. We like to pseudo-physically separate apache instances running different release candidates of our software.

This works well. However, we could do with more ram in our 'child' virtual machines.

We have 4GB on each host computer. We like to install 10 or so virtual machines on each host. This leaves each VM very resource starved. Since we only tend to hit environments on an ad-hoc basis, we need the vms available, but a lot of resources get wasted as they tend to be hit one after the other.

Ideally, we'd like to content system ram - so each machine is configured to have 1GB available. This obviously means we need to contend memory .. probably 3:1 (including the requirements of the Dom-0). Is this possible ?

maxmem = 1024
memory = 256

When it comes time to use the VM you care about, use xm mem-set to increase it's memory to 1G (and after you're finished, decrease it back down to 256).

Regards,

Anthony Liguori

cheers
-a


(sample config file from oru setup below)

kernel = "/boot/vmlinuz-2.6.12.6-xenU"
memory = 256
name = "qa01"
vif = [ 'ip=10.22.22.101' ]
disk = ['file:/vm/p1/qa01.img,hda1,w','file:/vm/p1/qa01.swap,hda2,w']
netmask="255.255.254.0"
gateway="10.0.12.1"
root = "/dev/hda1"
extra = "4"




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


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

<Prev in Thread] Current Thread [Next in Thread>