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] pin cpu 0 to dom0.

To: "Mauro" <mrsanna1@xxxxxxxxx>,"xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] pin cpu 0 to dom0.
From: "Robert Dunkley" <Robert@xxxxxxxxx>
Date: Fri, 4 Jun 2010 12:12:40 +0100
Cc:
Delivery-date: Fri, 04 Jun 2010 04:14:15 -0700
Envelope-to: www-data@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: <AANLkTimj750o6z118GKV5plVy_S41HsZ2sp8YDrcHA-b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsD0ovgSL6RUw1OTrWFXco7b9NepAAA/o6A
Thread-topic: [Xen-users] pin cpu 0 to dom0.
Hi,

First try setting the option in xend-config:
vi /etc/xen/xend-config.sxp  -  set “(dom0-min-mem 0)” and set “(dom0-cpus 1)”

You might also need to fix the Dom0 Ram:
dom0_mem=2048M (Put this in the kernel boot line)


Rob

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mauro
Sent: 04 June 2010 11:40
To: xen-users
Subject: [Xen-users] pin cpu 0 to dom0.

I'm using debian lenny with xen 3.2.
I want to pin cpu 0 to dom0.
My boot parameters are:

boot/vmlinuz-2.6.26-2-xen-amd64
root=UUID=56288354-501c-48e7-80c1-1870898edf61 ro console=tty0
clocksource=jiffies dom0_max_vcpus=1 dom0_vcpus_pin

but xm list still says:

Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 13068    16

and xm vcp-list:

Name                                ID  VCPU   CPU State   Time(s) CPU Affinity
Domain-0                             0     0     2   -b-       9.5 any cpu
Domain-0                             0     1     8   -b-       3.4 any cpu
Domain-0                             0     2    14   -b-       5.0 any cpu
Domain-0                             0     3    15   -b-      14.5 any cpu
Domain-0                             0     4     6   -b-       3.8 any cpu
Domain-0                             0     5     0   -b-       3.6 any cpu
Domain-0                             0     6    15   -b-       3.1 any cpu
Domain-0                             0     7    12   -b-       2.8 any cpu
Domain-0                             0     8     5   -b-       3.1 any cpu
Domain-0                             0     9    10   -b-       2.7 any cpu
Domain-0                             0    10    13   -b-       2.6 any cpu
Domain-0                             0    11     0   -b-       2.4 any cpu
Domain-0                             0    12     1   -b-       3.1 any cpu
Domain-0                             0    13     7   -b-       2.7 any cpu
Domain-0                             0    14     3   r--       2.6 any cpu
Domain-0                             0    15     9   -b-       2.8 any cpu

I think something goes worng.

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

The SAQ Group

Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ
SAQ is the trading name of SEMTEC Limited. Registered in England & Wales
Company Number: 06481952

http://www.saqnet.co.uk AS29219

SAQ Group Delivers high quality, honestly priced communication and I.T. 
services to UK Business.

Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : 
Backups : Managed Networks : Remote Support.

ISPA Member


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