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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Fwd: [Xen-users] Why limit dom0's memory?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=IJgA/RLUICMeTzJj6YpMBC/2QIbUagF716jdVMjwewQ=; b=vpv6BjXSgA5t4SiBx4y7tUDy4zOUftfj/0DDpwWuxfVdKzs7Ug30RS6LeFbZTQ1sTn VRjBO5V+Kjx8OtqA/UHWzYX2QHuXoOoA8QaUlfoR0sCF+TvQ26hmUklZu9RzSZVjuzSv vwtaKkYELDX8knPakVdYnUoyYRaEMQXAe/mKY=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bd6e1f920806140534s1bc2c406k871149cdc077eee8@xxxxxxxxxxxxxx>
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: <B32A2735-4BBC-4A2B-B83C-F49AA4745C26@xxxxxxxxxxxx> <bd6e1f920806140534s1bc2c406k871149cdc077eee8@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
---------- 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