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: Mon, 27 Aug 2007 08:35:57 +0200
Delivery-date: Sun, 26 Aug 2007 23:36:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46D26A91.4090509@xxxxxxxxxxxxxxxx>
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: <C2F20397.14757%Keir.Fraser@xxxxxxxxxxxx> <46D26A91.4090509@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070403)
Dominik Klein schrieb:
If you want to tie dom0 VCPUs 1:1 with physical CPUs then you can put
dom0_vcpus_pin on your Xen command line.
So then, when I do "xm vcpu-pin my-domain 0 1", it will pin VCPU0 in
my-domain to the second HT of physical CPU 1?

That would be great as it would be straight forward.

Enumeration order is not guaranteed across systems. This could be fixed by
sorting the processor info records after we've found them in the BIOS
tables.

Well I meant on the system I mentioned, which showed
CPU1=HT1+HT2
CPU2=HT3+HT4
without Xen.

I'll give it a try today.

Well, it doesn't do what I would have wanted it to. It just does
something like
xm vcpu-pin 0 0 0
xm vcpu-pin 0 1 1
xm vcpu-pin 0 2 2
xm vcpu-pin 0 3 3

So is there currently a way to see the processors in the same numeration as in Linux without Xen?

Regards
Dominik


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>