Ian Pratt
2005-Apr-14 19:00 UTC
RE: [Xen-devel] [PATCH] xen, tools/python/xen: pincpu support, vcpus, add vcpu to cpu map
> 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). Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Andrew Theurer
2005-Apr-14 19:07 UTC
Re: [Xen-devel] [PATCH] xen, tools/python/xen: pincpu support, vcpus, add vcpu to cpu map
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@lists.xensource.com http://lists.xensource.com/xen-devel