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/
Home Products Support Community News


Re: [Xen-devel] Xen 3.4.1 NUMA support

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Andre Przywara <andre.przywara@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen 3.4.1 NUMA support
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 13 Nov 2009 16:02:38 +0000
Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Papagiannis Anastasios <apapag@xxxxxxxxxxxx>
Delivery-date: Fri, 13 Nov 2009 08:03:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4FA716B1526C7C4DB0375C6DADBC4EA342A71C17D7@xxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acpka+pZmF499CPITS21072Y6vG4PAAAFTTAAAJj9MAAAGcVwAAA01VM
Thread-topic: [Xen-devel] Xen 3.4.1 NUMA support
User-agent: Microsoft-Entourage/
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