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] Configuring CPUs on domU

To: "sachin goel" <sachin.goel@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Configuring CPUs on domU
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 11 May 2007 12:39:36 +0200
Delivery-date: Fri, 11 May 2007 03:38:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <464437D9.9030700@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceTr0wTP+jQ8D8zTEG3N4pV3w/5+wACP22A
Thread-topic: [Xen-users] Configuring CPUs on domU
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> sachin goel
> Sent: 11 May 2007 10:31
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Configuring CPUs on domU
> 
> Hi,
>     I have a server with four CPUs.  I need to create a domU 
> on it with 
> two virtual CPUs. I want to map the virtual CPUs like this :
> First VCPU -- first and second Physical CPU
> Second VCPU -- third and fourth Physical CPU.

You can do that manually after you've started the Domain, but you can't
do it in the configuration script for the domain. Use "xm vcpu-pin
<domain> <vcpu> <pcpu(s)>", so for example:

# xm vcpu-pin vm1 0 0-1
# xm vcpu-pin vm1 1 2-3

This will do what you describe above.

--
Mats
>      I need to know if that can be done for a xen domU and if 
> yes, how 
> shud I specify that setting in the config file of the domU.
>     Any help will be much appreciated.
> 
> Thanks,
> Sachin.
> 
>    
> 
> _______________________________________________
> 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

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