You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Umair Azam <ua...@i2cinc.com> on 2014/02/10 19:32:51 UTC

dom0 configuration of Xenserver

Hi,

I have x86 Core2Duo machine with 4GB RAM, what should be the dom0 memory 
cpu configurations for Citrix xen? i want my SSVM and proxy VM to run on 
hypervisor of these specs.

-- 
Umair Azam


Re: dom0 configuration of Xenserver

Posted by Matthew Kaufman <mk...@gmail.com>.
You're welcome, anytime :)!  I am aiming to contribute in a lot more areas
overall in many mailing lists.

I usually just read.


On Tue, Feb 11, 2014 at 2:50 PM, Umair Azam <ua...@i2cinc.com> wrote:

> Matthew,
>
> Thank you so much for detailed information.
>
> Umair Azam
>
>
> On 2/11/2014 10:20 AM, Matthew Kaufman wrote:
>
>> Hello,
>>
>> "By default, XenServer automatically tunes the dom0 settings during
>>
>> installation. IIRC, on a 4G system, ~768MB gets allocated to dom0.
>>
>>
>> The defaults should work just fine for you.
>>
>> dom0_mem = 502MB + int(physical_mem * 0.0205)
>>
>> *Table 2.1. Default Dom0 Memory Size*
>>
>>
>> Physical Memory
>>
>> Dom0 Memory
>>
>> 2 GB
>>
>> 543 MB
>>
>> 4 GB
>>
>> 585 MB
>>
>> 8 GB
>>
>> 669 MB
>>
>> 16 GB
>>
>> 837 MB
>>
>> 32 GB
>>
>> 1173 MB
>>
>> 64 GB
>>
>> 1845 MB
>>
>> 128 GB
>>
>> 3188 MB
>>
>> 256 GB
>>
>> 5875 MB
>>
>> 512 GB
>>
>> 11249 MB
>>
>> 1024 GB
>>
>> 21997 MB
>>
>> 2048 GB
>>
>> 43493 MB
>>
>>
>>
>> Hello,
>>
>> Citrix Xen related questions should probably be asked on the Citrix Xen
>> mailing lists :)
>>
>> Actually; His question is regarding dom0 Sizing WITH His Configuration of
>> 4GB RAM.
>>
>> So it shouldn't be on Citirx Xen; it applies to CloudStack hardware
>> builders too or anyone running Apache CloudStack ON physical hardware (I'd
>> imagine most everybody is here on this mailing list).
>>
>>
>>  By default, XenServer automatically tunes the dom0 settings during
>>> installation.
>>>
>>
>>
>>  IIRC, on a 4G system, ~768MB gets allocated to dom0
>>>
>>>  Here, we use the following sizing computation rules:
>>
>> Rule:
>> dom0_mem = 502 + int(physical_mem * 0.0205)
>>
>> You should always dedicate a fixed amount of RAM for Xen dom0.
>>
>> This can be done by specifying "dom0_mem=512M,max:512M" option for the Xen
>> hypervisor (usually xen.gz) in grub.conf/menu.lst. This makes sure that
>> the
>> initial amount of memory allocated for dom0 is 512 MB (note: Replace this
>> value with the amount of memory you want to allocate to dom0) and leaves
>> the rest of the host system's RAM available for other guests. See this
>> grub.conf example for GRUB1:
>>
>> *Table 2.1. Default Dom0 Memory Size*
>>
>>
>> Physical Memory
>>
>> Dom0 Memory
>>
>> 2 GB
>>
>> 543 MB
>>
>> 4 GB
>>
>> 585 MB
>>
>> 8 GB
>>
>> 669 MB
>>
>> 16 GB
>>
>> 837 MB
>>
>> 32 GB
>>
>> 1173 MB
>>
>> 64 GB
>>
>> 1845 MB
>>
>> 128 GB
>>
>> 3188 MB
>>
>> 256 GB
>>
>> 5875 MB
>>
>> 512 GB
>>
>> 11249 MB
>>
>> 1024 GB
>>
>> 21997 MB
>>
>> 2048 GB
>>
>> 43493 MB
>>
>>
>> http://wiki.xen.org/wiki/Xen_Best_Practices#Xen_dom0_
>> dedicated_memory_and_preventing_dom0_memory_ballooning
>>
>>
>

Re: dom0 configuration of Xenserver

Posted by Umair Azam <ua...@i2cinc.com>.
Matthew,

Thank you so much for detailed information.

Umair Azam

On 2/11/2014 10:20 AM, Matthew Kaufman wrote:
> Hello,
>
> "By default, XenServer automatically tunes the dom0 settings during
>
> installation. IIRC, on a 4G system, ~768MB gets allocated to dom0.
>
>
> The defaults should work just fine for you.
>
> dom0_mem = 502MB + int(physical_mem * 0.0205)
>
> *Table 2.1. Default Dom0 Memory Size*
>
> Physical Memory
>
> Dom0 Memory
>
> 2 GB
>
> 543 MB
>
> 4 GB
>
> 585 MB
>
> 8 GB
>
> 669 MB
>
> 16 GB
>
> 837 MB
>
> 32 GB
>
> 1173 MB
>
> 64 GB
>
> 1845 MB
>
> 128 GB
>
> 3188 MB
>
> 256 GB
>
> 5875 MB
>
> 512 GB
>
> 11249 MB
>
> 1024 GB
>
> 21997 MB
>
> 2048 GB
>
> 43493 MB
>
>
>
> Hello,
>
> Citrix Xen related questions should probably be asked on the Citrix Xen
> mailing lists :)
>
> Actually; His question is regarding dom0 Sizing WITH His Configuration of
> 4GB RAM.
>
> So it shouldn't be on Citirx Xen; it applies to CloudStack hardware
> builders too or anyone running Apache CloudStack ON physical hardware (I'd
> imagine most everybody is here on this mailing list).
>
>
>> By default, XenServer automatically tunes the dom0 settings during
>> installation.
>
>
>> IIRC, on a 4G system, ~768MB gets allocated to dom0
>>
> Here, we use the following sizing computation rules:
>
> Rule:
> dom0_mem = 502 + int(physical_mem * 0.0205)
>
> You should always dedicate a fixed amount of RAM for Xen dom0.
>
> This can be done by specifying "dom0_mem=512M,max:512M" option for the Xen
> hypervisor (usually xen.gz) in grub.conf/menu.lst. This makes sure that the
> initial amount of memory allocated for dom0 is 512 MB (note: Replace this
> value with the amount of memory you want to allocate to dom0) and leaves
> the rest of the host system's RAM available for other guests. See this
> grub.conf example for GRUB1:
>
> *Table 2.1. Default Dom0 Memory Size*
>
> Physical Memory
>
> Dom0 Memory
>
> 2 GB
>
> 543 MB
>
> 4 GB
>
> 585 MB
>
> 8 GB
>
> 669 MB
>
> 16 GB
>
> 837 MB
>
> 32 GB
>
> 1173 MB
>
> 64 GB
>
> 1845 MB
>
> 128 GB
>
> 3188 MB
>
> 256 GB
>
> 5875 MB
>
> 512 GB
>
> 11249 MB
>
> 1024 GB
>
> 21997 MB
>
> 2048 GB
>
> 43493 MB
>
>
> http://wiki.xen.org/wiki/Xen_Best_Practices#Xen_dom0_dedicated_memory_and_preventing_dom0_memory_ballooning
>


Re: dom0 configuration of Xenserver

Posted by Matthew Kaufman <mk...@gmail.com>.
Hello,

"By default, XenServer automatically tunes the dom0 settings during

installation. IIRC, on a 4G system, ~768MB gets allocated to dom0.


The defaults should work just fine for you.

dom0_mem = 502MB + int(physical_mem * 0.0205)

*Table 2.1. Default Dom0 Memory Size*

Physical Memory

Dom0 Memory

2 GB

543 MB

4 GB

585 MB

8 GB

669 MB

16 GB

837 MB

32 GB

1173 MB

64 GB

1845 MB

128 GB

3188 MB

256 GB

5875 MB

512 GB

11249 MB

1024 GB

21997 MB

2048 GB

43493 MB



Hello,

Citrix Xen related questions should probably be asked on the Citrix Xen
mailing lists :)

Actually; His question is regarding dom0 Sizing WITH His Configuration of
4GB RAM.

So it shouldn't be on Citirx Xen; it applies to CloudStack hardware
builders too or anyone running Apache CloudStack ON physical hardware (I'd
imagine most everybody is here on this mailing list).


> By default, XenServer automatically tunes the dom0 settings during
> installation.



> IIRC, on a 4G system, ~768MB gets allocated to dom0
>

Here, we use the following sizing computation rules:

Rule:
dom0_mem = 502 + int(physical_mem * 0.0205)

You should always dedicate a fixed amount of RAM for Xen dom0.

This can be done by specifying "dom0_mem=512M,max:512M" option for the Xen
hypervisor (usually xen.gz) in grub.conf/menu.lst. This makes sure that the
initial amount of memory allocated for dom0 is 512 MB (note: Replace this
value with the amount of memory you want to allocate to dom0) and leaves
the rest of the host system's RAM available for other guests. See this
grub.conf example for GRUB1:

*Table 2.1. Default Dom0 Memory Size*

Physical Memory

Dom0 Memory

2 GB

543 MB

4 GB

585 MB

8 GB

669 MB

16 GB

837 MB

32 GB

1173 MB

64 GB

1845 MB

128 GB

3188 MB

256 GB

5875 MB

512 GB

11249 MB

1024 GB

21997 MB

2048 GB

43493 MB


http://wiki.xen.org/wiki/Xen_Best_Practices#Xen_dom0_dedicated_memory_and_preventing_dom0_memory_ballooning

Re: dom0 configuration of Xenserver

Posted by Shanker Balan <sh...@shapeblue.com>.
Hi Umair,

Citrix Xen related questions should probably be asked on the Citrix Xen mailing lists :)


On 11-Feb-2014, at 12:02 am, Umair Azam <ua...@i2cinc.com> wrote:

> Hi,
>
> I have x86 Core2Duo machine with 4GB RAM, what should be the dom0 memory cpu configurations for Citrix xen? i want my SSVM and proxy VM to run on hypervisor of these specs.


By default, XenServer automatically tunes the dom0 settings during
installation. IIRC, on a 4G system, ~768MB gets allocated to dom0.

The defaults should work just fine for you.

Regards.
@shankerbalan


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.