[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel][PATCH]pcpu tuples [was Re: [Xen-devel] Xen 3.4.1 NUMA support]
Attached is a patch to construct pcpu tuples of the form (node.socket.core.thread), and (currently)used by xm vcpu-pin utility. -dulloor On Fri, Nov 13, 2009 at 11:02 AM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote: > On 13/11/2009 15:40, "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx> wrote: > >>> Even better would be to have pCPUs addressable and listable explicitly as >>> dotted tuples. That can be implemented entirely within the toolstack, and >>> could even allow wildcarding of tuple components to efficiently express >>> cpumasks. >> >> Yes, I'd certainly like to see the toolstack support dotted tuple notation. >> >> However, I just don't trust the toolstack to get this right unless xen has >> already set it up nicely for it with a sensible enumeration and defined >> sockets-per-node, cores-per-socket and threads-per-core parameters. Xen >> should >> provide a clean interface to the toolstack in this respect. > > Xen provides a topology-interrogation hypercall which should suffice for > tools to build up a {node,socket,core,thread}<->cpuid mapping table. > > -- Keir > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-devel > Attachment:
pcpu-tuple.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |