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

RE: [Xen-users] RE: XCP 0.5 - dom0 vcpus/RAM settings not working



Hi Jon:

I also noticed /etc/init.d/set-memory-target which seems to reset the
memory based on configuration parameters and installed repos
(/etc/xensource/installed-repos). 

Cheers,

Joe

-----Original Message-----
From: Joe Linoff 
Sent: Wednesday, December 01, 2010 2:02 PM
To: Jonathan Ludlam
Cc: Dante Cinco; xen-users@xxxxxxxxxxxxxxxxxxx; Joe Linoff
Subject: RE: [Xen-users] RE: XCP 0.5 - dom0 vcpus/RAM settings not
working

Hi Jon:

Thank you. This is excellent information. 

> XCP has an init script that unplugs all but 1 VCPU. Look in the script
/etc/init.d/unplug-vcpus.

Do you know whether I can I disable that init script in a clean way? 

> Also, xapi will balloon dom0 using a formula ...

Great. I am looking at it now.

Regards,

Joe


-----Original Message-----
From: Jonathan Ludlam [mailto:Jonathan.Ludlam@xxxxxxxxxxxxx] 
Sent: Wednesday, December 01, 2010 1:08 PM
To: Joe Linoff
Cc: Dante Cinco; xen-users@xxxxxxxxxxxxxxxxxxx; Joe Linoff
Subject: Re: [Xen-users] RE: XCP 0.5 - dom0 vcpus/RAM settings not
working

Hi Joe,

XCP has an init script that unplugs all but 1 VCPU. Look in the script
/etc/init.d/unplug-vcpus. 

Also, xapi will balloon dom0 using a formula based on the amount of
physical ram in your machine. Have a look at
http://support.citrix.com/article/CTX124259 -the procedure for XCP
should be roughly similar.

Hope this helps.

Jon

Sent from my iPad

On 1 Dec 2010, at 18:45, "Joe Linoff" <jlinoff@xxxxxxxxxx> wrote:

> Hi Dante:
> 
> Thank you for your suggestions. I tried them but I am still seeing
477MB
> of RAM and 1 cpu after re-installation. Here are the settings:
> 
>  append xenserver/xen.gz dom0_mem=2048M dom0_max_vcpus=2 ...
> 
> Can you suggest a way to debug this?
> 
> Cheers,
> 
> Joe
> 
> 
> -----Original Message-----
> From: Dante Cinco [mailto:dantecinco@xxxxxxxxx] 
> Sent: Wednesday, December 01, 2010 10:28 AM
> To: xen-users@xxxxxxxxxxxxxxxxxxx; Joe Linoff
> Subject: RE: XCP 0.5 - dom0 vcpus/RAM settings not working
> 
> You need to change dom0_vcpus_max to dom0_max_vcpus.
> 
> If you want 2GB RAM, use dom0_mem=2048M.
> 
> Dante
> 
> 
> 
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Joe Linoff
> Sent: Wednesday, December 01, 2010 10:01 AM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Cc: Joe Linoff
> Subject: [Xen-users] XCP 0.5 - dom0 vcpus/RAM settings not working
> 
> Hi Folks:
> 
> What am I doing wrong? How do I configure my dom0 to have 2 vcpus and
> 2GB RAM?
> 
> I am trying to configure my dom0 to have 2 vcpus and 2GB of RAM. Here
> are my config settings (pxlinux.cfg/default):
> 
> kernel mboot.c32
> append xenserver/xen.gz dom0_mem=2097512 dom0_vcpus_max=2
> dom0_vcpus_pin com1=115200,8n1 console=com1,tty --- xenserver/vmlinux
> ...
> 
> Everything installs correctly but when I log into dom0 and look at
> /proc/cpuinfo there is only processor. Similarly, when I look
> /proc/meminfo I only see 477MB.
> 
> Cheers,
> 
> Joe
> 
> _______________________________________________
> 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.