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: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>, "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: Andrew Theurer <habanero@xxxxxxxxxx>
Date: Thu, 14 Apr 2005 14:07:17 -0500
Cc: Ryan Harper <ryanh@xxxxxxxxxx>, Sam Gill <samg@xxxxxxxxxxxxx>
Delivery-date: Thu, 14 Apr 2005 19:07:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3B8B@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: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3B8B@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
On Thursday 14 April 2005 14:00, Ian Pratt wrote:
> > If the enumeration is done in a standardised way then it's
> > possible to work out in userspace what CPU id is where but
> > it's not at all obvious to the user right now.  Would
> > definitely be good for the management tools to give more
> > information to the user on this stuff.
>
> 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.

-Andrew




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