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] memory quesion

On Sat, Dec 12, 2009 at 3:28 AM, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
>>> My system has 64GB of Physical RAM. When I boot the system with Xen
>>> kernel,
>>> I can see only 32GB assigned to dom0. my xm info o/p is;
>>>
>>> total_memory           : 65530
>>> free_memory            : 31513
>>>
>>> My understanding is when the system is booted with xen kernel, all of the
>>> memory should be assigned to dom0.

No, it shouldn't. In fact, it's actually best practice to LIMIT the
ammount of dom0 memory from the start.

>>>
>>> Os is: RH 5.4 64bit.
>>
>> This is a limitation of the Xen kernel; only 32GB will be visible to Dom0.
>> The "missing" 32GB can still be allocated to DomU's, however.

AFAIK it's a "limitation" of RHEL's kernel-xen. They did it for a very
good reason though: providing a usable dom0 system on servers with >=
32GB memory.

You could probably override that behavior with some kernel command
line options, but it's not recommended.

> Do I need mem=64G in grub or not ?

If you plan to have some domUs running on it, you can leave it as it
is. domU will be able to use the 32GB currently not in use by dom0.

In fact, domUs can also use some memory currently used by dom0, so if
already have an idea how much memory domUs will be using in total, you
can (later) limit dom0 memory usage to start with less memory (I
usually set it to somewhere between 500M - 1G).

-- 
Fajar

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

<Prev in Thread] Current Thread [Next in Thread>