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


[Xen-devel][PATCH]pcpu tuples [was Re: [Xen-devel] Xen 3.4.1 NUMA suppo

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel][PATCH]pcpu tuples [was Re: [Xen-devel] Xen 3.4.1 NUMA support]
From: Dulloor <dulloor@xxxxxxxxx>
Date: Tue, 17 Nov 2009 01:56:08 -0500
Cc: Andre Przywara <andre.przywara@xxxxxxx>, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Papagiannis Anastasios <apapag@xxxxxxxxxxxx>
Delivery-date: Mon, 16 Nov 2009 22:56:36 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=0bkJtXRgrQ6bbrN5IFB60TbtzqOVENevbLw7saCyXlg=; b=tOWnaOE6MD4QSMDwE9l8KDTesOQLMW7kdPUSRmJzF2oVlweN2H5fuwfVH20lCFivyA tgaBOv2UCo9Mt4NMaYIjLdANzLV3DWuT9tMvNbkpQWV8eUfqc5IYKBTuAKcOetG8Ctem rMNUyWQnmih5c9ENDuqq2dB7RVictiyYMo2kM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=G4CLg0bBKIsfDCjyf0QEnAcEKahr9SaWDsqinMbHDhw5/NEeMaUJ+8bpVqDy4F4ZOH 0+SUr4Hz/10T/4JlvXwcqBsD5BJoHDhqAfWhv1+ojnHq0HvYl510FwhuGmz069C0rA4t WPz7Azz9hXKXsAdu56vCUU/kcjWRfjrGAC4NI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Attached is a patch to construct pcpu tuples of the form
(node.socket.core.thread), and (currently)used by xm vcpu-pin utility.


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
Description: Text Data

Xen-devel mailing list