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: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Use of memory on Dom0 ?
From: "Olivier B." <xen.list@xxxxxxxxx>
Date: Thu, 11 Feb 2010 17:35:05 +0100
Delivery-date: Thu, 11 Feb 2010 08:35:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f1002110747s13eda40enaf6fbc5c7b8627d9@xxxxxxxxxxxxxx>
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> <7207d96f1002110747s13eda40enaf6fbc5c7b8627d9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)
Fajar A. Nugraha a écrit :
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.

You're right, it's a solution yes (all my domU are PV).
But how does it works if a software use "1800" of that memory, and I reduce it to 1000 ?

Or maybe is there a way to reserve this memory for disk caching only ?


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

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