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] CPU enumeration in Xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] CPU enumeration in Xen
From: Dominik Klein <dk@xxxxxxxxxxxxxxxx>
Date: Wed, 22 Aug 2007 15:39:09 +0200
Delivery-date: Wed, 22 Aug 2007 06:39:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2F1EBF7.146DF%Keir.Fraser@xxxxxxxxxxxx>
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: <C2F1EBF7.146DF%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20070403)
Keir Fraser schrieb:
It seems a bit unlikely, since the enumeration code is from Linux. Perhaps
the enumeration order has changed in Linux?

Here's what I see without Xen:

# uname -r
# grep -E "processor|physical" /proc/cpuinfo
processor       : 0
physical id     : 0
processor       : 1
physical id     : 0
processor       : 2
physical id     : 3
processor       : 3
physical id     : 3


This was tested on the exact machine the output above is from. The described tests were made with 2.6.18 and xen 3.1.0 compiled from source. No redhat patches or something like that.

From what I saw and described, it looks pretty clear that the numeration in Xen is different, but I cannot see the physical ID in /proc/cpuinfo to confirm that.

Maybe there is another way to see that?


ps. i'll be on holiday for 3 days from now but i'll be happy to supply more information when i am back

Xen-devel mailing list