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] vcpu-pin ?

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] vcpu-pin ?
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Thu, 13 Oct 2005 09:32:47 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>, Nicholas Lee <emptysands@xxxxxxxxx>
Delivery-date: Thu, 13 Oct 2005 14:30:53 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D32E348@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>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D32E348@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx> [2005-10-13 09:01]:
>  
> > I'm I reading this as meaning a single VCPU domain can be 
> > switch from one 'real' CPU to another and back again?
> > 
> >   vcpu-pin <DomId> <VCpu> <CPUS>    set which cpus a VCPU can use.
> 
> SMP domains have multiple VCPUs, so you can specify which VCPU the pin
> operation refers to.
> 
> The CPUs parameter can actually be a list of eligible physical CPUs.
> 
> [NB: I'm actually not sure how useful this command is -- its probably
> easier from a user point of view to specify a set of physcial CPUS for a
> domain, and have eiher xen or xend allocate VCPUs to eligible physical
> CPUs]

Working on this right now.  I had introduced a field, allocmap, which
was to specify which physical cpus vcpus would be allowed to use when
being created.  I am reworking the patch now that we have build-time
vcpu allocation and plan to convert the allocmap into a series of pincpu
operations. 

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx

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

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