WARNING - OLD ARCHIVES

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

xen-devel

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 1.5.0.10 (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
2.6.18.2-34-default
# 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

http://lists.xensource.com/archives/html/xen-users/2007-08/msg00507.html

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?

Regards
Dominik

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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel