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] flexible memory management?

To: Sven Köhler <skoehler@xxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] flexible memory management?
From: "Gary W. Smith" <gary@xxxxxxxxxxxxxxx>
Date: Thu, 8 Feb 2007 16:57:31 -0800
Delivery-date: Thu, 08 Feb 2007 16:57:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <eqgdac$d1m$1@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/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: <eqgdac$d1m$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdL3NwKoYm7Dhx4RVqC3lcjJYsWrQACA1IQ
Thread-topic: [Xen-users] flexible memory management?
Um, remove dom0_mem=128M or set it higher.  The memory allocation is dynamic 
and grows down as the DomU's need it.  So set it to something like 512mb and 
let Xen reduce it as it needs to.  

Also, if you want to compile on the Dom0 then stop the DomU's so you have the 
resources available to do the compile.

Can you compile the code elsewhere (like in a DomU or on another machine).

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Sven Köhler
> Sent: Thursday, February 08, 2007 3:56 PM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] flexible memory management?
> 
> Hi,
> 
> i'm passing dom0_mem=128M to the xen-hypervisor.
> Then i'm starting two domUs with 435MB each.
> 
> Now i'm compiling something on my dom0. The dom0 is swapping, and
> swapping, and swapping. The gcc-process is about 300megabytes. That
> doesn't fit into the 128MB.
> 
> So is there some feature, with a minimum of performenace penalty, that
> xen manages memory so that memory can be assigned, moved, and so on?
> 
> I could stop a domU to gain more memory for my dom0. Maybe it's even
> possible to tell the domU to free 100MB and assign them to my dom0
> temporarly etc.
> 
> But at the moment, my dom0 has 128MB statically. That's it.
> 
> So is there some more flexible way, like i'm imagining?
> (well, without rebooting?)
> 
> 
> Thanks,
>   Sven


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