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] [PATCH] xen, tools/python/xen: pincpu support, vcpus, ad

To: "Andrew Theurer" <habanero@xxxxxxxxxx>, "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] xen, tools/python/xen: pincpu support, vcpus, add vcpu to cpu map
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 14 Apr 2005 20:23:55 +0100
Cc: Ryan Harper <ryanh@xxxxxxxxxx>, Sam Gill <samg@xxxxxxxxxxxxx>
Delivery-date: Thu, 14 Apr 2005 19:23:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcVBJTogiIRf+sg/TDyjTnw0WH72fgAAghqg
Thread-topic: [Xen-devel] [PATCH] xen, tools/python/xen: pincpu support, vcpus, add vcpu to cpu map
> > Yep. 'xm info' should give the total number of logical 
> CPUs, then show 
> > the hierarchy: nodes, sockets, cores, hyperthreads (in that order, 
> > which is how they should be enumerated to get the scalar 
> CPU number).
> 
> Any thoughts how this would work with hotplug cpu support (in 
> xen)?  Do we currently leave gaps in the cpu numbering for 
> missing cpus?
> 
> For example, we have a 4 socket HT system with 2 chips 
> installed, available cpu id's may look like 0,1,3,4.

Interesting point. What does Linux do? I guess it has a sparse set of
CPU id's?

Ian

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