[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Use of memory on Dom0 ?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.