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:33:04 -0500
Cc: Ryan Harper <ryanh@xxxxxxxxxx>, Sam Gill <samg@xxxxxxxxxxxxx>
Delivery-date: Thu, 14 Apr 2005 19:33:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3B90@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: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3B90@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
On Thursday 14 April 2005 14:23, Ian Pratt wrote:
> > > 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?

I believe once hotplug cpu went in Linux, that's when it got the sparse 
numbering. So, if you were to disable HT on a 4 socket Intel system, it 
might look like 0,2,4,6.  Maybe we don't need this for xen-3, but IMO, 
not a bad thing to keep in mind for a future release.

-Andrew

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