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] RE: XCP 0.5 - dom0 vcpus/RAM settings not working

To: "Joe Linoff" <jlinoff@xxxxxxxxxx>, "Jonathan Ludlam" <Jonathan.Ludlam@xxxxxxxxxxxxx>
Subject: RE: [Xen-users] RE: XCP 0.5 - dom0 vcpus/RAM settings not working
From: "Joe Linoff" <jlinoff@xxxxxxxxxx>
Date: Wed, 1 Dec 2010 14:34:16 -0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Dante Cinco <dantecinco@xxxxxxxxx>
Delivery-date: Wed, 01 Dec 2010 14:37:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8AD4194C251EC74CB897E261038F447868FCFE@xxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=LiBzzHzXvcvD+xwXbp_c+XtOXETw19QQni+pB@xxxxxxxxxxxxxx> <8AD4194C251EC74CB897E261038F447868FCD1@xxxxxxxxxxxxxxxxxxx> <E73D1475-6E60-4211-9CF5-BF01F8975AA5@xxxxxxxxxxxxx> <8AD4194C251EC74CB897E261038F447868FCFE@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuRm6iwbzzb3uefRH6ireEp2KmGsQABtLywAAFFe+A=
Thread-topic: [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