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

Fwd: [Xen-users] Why limit dom0's memory?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Gastón Keller" <gastonkeller@xxxxxxxxx>
  • Date: Sat, 14 Jun 2008 08:35:44 -0400
  • Delivery-date: Sat, 14 Jun 2008 05:36:14 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=MoWpIB3zkmemN9uCzbE+j6EzoPILUNzyMpvSUISlHZ00M0YeIIgNW+/ApEDf5EshSE 22P8RiCwPkbR34gzLVMFkVvvdWzF27FvCL+AcUTcJoTRfDc88Bq/q3SVD4UvaxpRkunz lqHdz+EXzh8RuNbCwcRY9GzZjAlwYpm5jbQaI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

---------- Forwarded message ----------
From: Gastón Keller <gastonkeller@xxxxxxxxx>
Date: Sat, 14 Jun 2008 08:34:56 -0400
Subject: Re: [Xen-users] Why limit dom0's memory?
To: "Sandor W. Sklar" <ssklar@xxxxxxxxxxxx>

On 6/14/08, Sandor W. Sklar <ssklar@xxxxxxxxxxxx> wrote:
>
> Could someone explain why it is recommended to limit the amount of
> memory on the Dom0 via setting dom0_mem=XXX in grub.conf?  Are there
> situations where the dom0 would grab onto more memory then it needs?
>
> I've got two systems (RHEL5.1) running with the Xen kernel; each
> system (X86-64) has 8 GB of RAM.
>
> On one system, as reported by "xm list", the dom0 is using 4978 MiB,
> while the sum of the five domU's memory usage is 2075 MiB, which
> roughly equals full usage of the 8 GB.
>
> On the other, the dom0 is using 2943 MiB, while the sum of the six
> domUs is 5114 MiB, again with a rough total of 8 GB.
>
> So, it appears that the dom0 basically just consumes all memory not
> used by domUs, and will release that memory when it is needed by a new
> guest.  If that is true, then I don't see the advantage of forcing the
> dom0 to a hard memory limit, but there must be one, since the option
> is there and people are using it (or so google tells me.)
>
> Do I have this wrong, or am I not understanding something?

AFAIK what some people is doing is setting a level of memory for Dom0
for it to never go down that level (giving memory to the guests). That
is, if you set the memory to 1 GB, Dom0 will allocate all your memory
except for that 1 GB. It's a way of ensuring that Dom0 will never run
out of memory.

 Gaston
>
> Thanks,
>       -s-
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>


-- 
La única verdad es la realidad.



-- 
La única verdad es la realidad.

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