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] [PATCH 2/4] [HVM] introduce CPU affinity for allocate_ph

To: Andre Przywara <andre.przywara@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2/4] [HVM] introduce CPU affinity for allocate_physmap call
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 15 Aug 2007 11:43:12 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 15 Aug 2007 03:43:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46C2D1B2.2070203@xxxxxxx>
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: AcffKROrUnXRk0scEdybswAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH 2/4] [HVM] introduce CPU affinity for allocate_physmap call
User-agent: Microsoft-Entourage/

On 15/8/07 11:13, "Andre Przywara" <andre.przywara@xxxxxxx> wrote:

>> I think we should add topology discovery hypercalls. Xen needs to know this
>> stuff anyway, so we just provide a mechanism for guests to extract it. An
>> alternative is to start exporting virtual ACPI tables to PV guests.
> I will look at this next. The HVM approach seemed to be easier from my
> POV, but this NUMA propagation is also benefical for PV guests. Maybe
> one should solve the whole NUMA-ballooning issue while looking at this.

Topology discovery hypercalls are the way to go imo. And to fix ballooking
it's just going to have to become numa-aware, by hooking into whatever numa
apis Linux provides internally.

 -- Keir

Xen-devel mailing list