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] Use of memory on Dom0 ?

To: "Olivier B." <xen.list@xxxxxxxxx>
Subject: Re: [Xen-users] Use of memory on Dom0 ?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Thu, 11 Feb 2010 22:47:52 +0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 11 Feb 2010 07:48:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B741C72.20106@xxxxxxxxx>
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: <4B741C72.20106@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Feb 11, 2010 at 10:04 PM, Olivier B. <xen.list@xxxxxxxxx> wrote:
> Hi,
>
> I have two hosts with 48GB of memory. On each of them I will run multiple
> DomU which will use near 24GB of memory : I keep 24GB of unused memory on
> each servers to allow migrate of all VM on only 1 host.
>
> So my question : is there a usefull way to use the 24GB of memory on the
> dom0 ? As a "big" disk cache for example ? (but all my domUs use drbd
> devices...).

What kind of domU are you running? If it's PV, you should be able to
use "memory" and "maxmem". So for example you have this on domU config
file

memory = "1000"
maxmem = "2000"

It will start with 1000MB memory, but you can extend it up to 2000 MB
online with "xm mem-set" without having to reboot domU. When you need
to migrate some domUs, you can reduce its memory usage back to the
original.

-- 
Fajar

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

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