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

Re: [Xen-users] how much memory does the hypervisor need


  • From: Thomas Goirand <thomas@xxxxxxxxxx>
  • Date: Wed, 18 Feb 2009 12:55:34 +0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 17 Feb 2009 20:56:23 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=goirand.fr; h=message-id:date:from:mime-version:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=postfix; b= YSDx9Zm5ZVYFpKwi9+0FuiQkJrByrVKg8oOx/UKI5CppgAuP6BMwVo/fn9Hkg/o2 H9s7NFcfnMJsQcFJbY74uBtjE7r91GoP04juxVwsN336Qjha2kSwGaEE43ue/AHn 5fpIE/zfTGL0c3RdSNo4/qWObAbKu8fXS7fWwhnAAvc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Openpgp: id=98EF9A49

Philipp Schmid wrote:
> so if i take the 16384mb of ram minus the used space and the space xen
> sys it still has i get:
> 
> 16384 - 14037 - 1930744/1024 ~= 461.5mb
> 
> does the hypervisor really need 460mb of memory?
> is there a way to calculate how much memory the hypervisior needs?
> 
> lg philipp


There is no need to do such calculation. Type "xm info" and it will tell
you how much memory you have left. But anyway, I don't think that Xen is
wrong when it tells you there is not enough RAM left.

If you wish to resize the dom0, you can do like this:

xm mem-set Domain-0 384

This will set your dom0 with 384 MB of RAM, which is quite enough if you
don't run too many things in the dom0. At the time of xen 2.0.7, with
sarge, we used to set 128 MB of RAM, and it was quite ok. Now, with
newer operating systems, 384 MB seems to be a reasonable value with
which we never have issues (note that we set 512 MB of swap).

As said Gary, a good idea is to set the dom0 memory footprint in your
grub config, and/or NOT let it baloon out too much (for example by
setting the minimum in xend-config.sxp).

Best Regards,

    Thomas Goirand

-- 
Thomas Goirand
GPLHost CEO
Web: http://www.gplhost.com
GPLHost:>_ Open source hosting worldwide
Web spaces featuring our LGPL control panel and Xen VPS
Locations in Singapore, Sydney, Seattle, Florida, Paris, London,
             Barcelona and Israel

_______________________________________________
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®.