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: Dominik Klein <dk@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] CPU enumeration in Xen
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 22 Aug 2007 15:15:35 +0100
Delivery-date: Wed, 22 Aug 2007 07:16:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46CC4283.3040502@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acfkxuf7JklGGFC6Edyp4wAX8io7RQ==
Thread-topic: [Xen-devel] CPU enumeration in Xen
User-agent: Microsoft-Entourage/
On 22/8/07 15:04, "Dominik Klein" <dk@xxxxxxxxxxxxxxxx> wrote:

>> 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

 -- Keir

Xen-devel mailing list