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-devel

RE: [Xen-devel] Problems about CPU Affinity

To: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>, "Saori Fukuta" <fukuta.saori@xxxxxxxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Problems about CPU Affinity
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 18 May 2007 12:07:43 +0200
Delivery-date: Fri, 18 May 2007 03:07:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8A87A9A84C201449A0C56B728ACF491E0BA6AA@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceZBl0qjnDmORQ8QPms9KBRfFOKcgAKfVLgAADrajA=
Thread-topic: [Xen-devel] Problems about CPU Affinity
 

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ian Pratt
> Sent: 18 May 2007 10:40
> To: Saori Fukuta; xen-devel
> Subject: RE: [Xen-devel] Problems about CPU Affinity
> 
> > 1. On boot
> >     We do not have the way of setting CPU Affinity to each VCPU of
> guest
> >     domain by using a configuration file.
> >     So we have to execute the commands after starting the guest
> domain.
> 
> I thought you could by specifying a list of physical CPUs? 
> Perhaps this
> got broken by the xapi changes?

No, the problem that the original post talks about, is that you can't
set affinity of individual VCPU's to individual PCPU's, e.g:
vcpus=2
cpus=2
Works well, but there's no way to perform:
vcpu0=pcpu0
vcpu1=pcpu1
Other than running "vm vcpu-set <domain> <vcpu> <pcpu(s)>" after the
domain was started. 

--
Mats
>  
> > 2. On reboot
> >     We lost the information of setting CPU Affinity that 
> set while the
> >     guest domain is running after rebooting the guest domain.
> >     So we have to set it again.
> 
> Affinity information should certainly be persistent.
> 
> Best,
> Ian
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 
> 
> 



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