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] [PATCH] initialize some more cpuinfo fields

To: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] initialize some more cpuinfo fields
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 8 May 2006 14:46:23 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 May 2006 06:46:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <445F5F50.76E4.0078.0@xxxxxxxxxx>
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: <445F5F50.76E4.0078.0@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 8 May 2006, at 14:10, Jan Beulich wrote:

Namely preventing systems to look like single-socket ones with many cores (because all CPUs show physical ID being
zero).

Is it a problem to look like a many-core processor? Given that VCPUS can get moved around between physical CPUs to load-balance, it doesn't make much sense to take the physical IDs of CPUs that VCPUs happen to run on when they boot.

If the many-core appearance is a problem then we could synthesise different physical IDs for VCPUs (probably by forcing physical ID to VCPU number).

The only exception to this 'lie' could perhaps be domain0 in some situations, if we guarantee to run a dom0 VCPU on every physical CPU and never change the pinning. Then calling identify_cpu() for each VCPU makes sense, as does parsing SRAT data or otherwise obtaining NUMA info via a Xen hypercall.

 -- Keir


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