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] allocating memory to dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] allocating memory to dom0
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Oct 2006 08:51:56 +0200
Delivery-date: Fri, 20 Oct 2006 08:33:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4170c1720610191443v7015aa8bm61092f35d8b642f2@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>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 19 Oct 2006 at 22:43, john maclean wrote:

> Hey chaps, having a minor dispute with a friend. According the README
> in the Xen sources....
> "
>    The Xen command line takes a number of optional arguments described
>    in the manual. The most common is 'dom0_mem=xxxM' which sets the
>    amount of memory to allocate for use by your initial virtual
>    machine (known as domain 0). Note that Xen itself reserves about
>    32MB memory for internal use, which is not available for allocation
>    to virtual machines.
> .."
> 
> I've taken this to mean that one allocates say, half of one's RAM to
> dom0 with the command `dom0_mem=xxxM`. The domUs will then use up to
> the other half of the box's RAM. Is this correct?
> 
> My buddy says that this is unnecessary as the dom0 only needs 32M of
> ram. It will give the RAM away to the domU chaps until it has no more
> RAM to spare.
> 

Hi,

let me add: I got the idea that all DomUs take their RAM from the Dom0 RAM, so 
if 
I limit the RAM of Dom0, will I waste RAM? Maybe some documentation about 
memory 
management should be added to the user manual...

Regards,
Ulrich


> -- 
> John Maclean  - 07739 171 531
> MSc (DIC)
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



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