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

Re: [Xen-users] Dom0 Memory?



Ian, 

Youâre a legend! This has been giving me grief for a long time, had no idea of 
this setting.

Thanks

Ian



-----Original Message-----
From: Ian Campbell [mailto:Ian.Campbell@xxxxxxxxxx] 
Sent: 11 May 2012 09:27
To: Ian Tobin
Cc: ray@xxxxxxxxx; xen-users@xxxxxxxxxxxxx
Subject: Re: [Xen-users] Dom0 Memory?

On Fri, 2012-05-11 at 09:11 +0100, Ian Tobin wrote:
> Hello,
> 
> There is still a bug. 
> 
> For example I have 16Gb RAM, 512 dedicated to Dom0, 2 Gb dedicated to 
> VM1 which leaves me this amount of RAM
> 
> Xl info
> 
> total_memory           : 15869
> free_memory            : 13124
> 
> this is correct as 512MB is missing because it is assigned to Dom0.
> 
> Now I create a new config file for VM2 and I set the RAM
> 
> memory = 12288
> 
> Now this should be fine and allow me to boot the VM as I should still have a 
> bit of memory left over.
> 
> Xl create vm2
> 
> 
> libxl: error: libxl.c:2150:libxl_set_memory_target new target 0 for 
> dom0 is below the minimum threshold
> 
> libxl: error: libxl.c:2150:libxl_set_memory_target new target 0 for 
> dom0 is below the minimum threshold
> 
> libxl: error: libxl.c:2150:libxl_set_memory_target new target 0 for 
> dom0 is below the minimum threshold
> 
> failed to free memory for the domain
> 
> Why it is trying to take memory from dom0??

You need to set "autoballoon=0" in /etc/xen/xl.conf if you don't want xl to 
automatically balloon dom0 down when starting a domain -- for example if you 
use the dom0_mem option.

Ian.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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