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 03/11] [XEN] NUMA guest tools interface

To: Andre Przywara <andre.przywara@xxxxxxx>, Dulloor <dulloor@xxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 03/11] [XEN] NUMA guest tools interface
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Wed, 7 Apr 2010 22:52:22 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 07 Apr 2010 07:55:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BBC76E2.9020603@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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <y2h940bcfd21004041230s4b8054c6h7f62afa4651bd35@xxxxxxxxxxxxxx> <4BBC76E2.9020603@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrWS/CGvzmdWrRgRAudAeTvD5QoDQAFJsog
Thread-topic: [Xen-devel] [PATCH 03/11] [XEN] NUMA guest tools interface
Andre Przywara wrote:
> Dulloor wrote:
>> The patch adds hypercall interfaces to get/set the virtual numa
>> layout for a domain.
> I don't see the need for introducing this many new interfaces. I
I also have the same feeling. :-)

> couldn't find a reference for the nodemap information (mfn_to_nid) to
> be actually used somewhere, is there any missing part or was it just
> for the sake of completeness?
> Beside that, cpu_to_node is already in physinfo, and via xc_availheap
> (which takes a node parameter) you can query the amount of free memory
> per node. I think that is all we need to know about the host's NUMA
> topology, but correct me if I am wrong.
> (OK, the distance information is missing...)
I'd like to have Nitin's patch: 
http://old.nabble.com/Host-Numa-informtion-in-dom0-td27379527.html.

>  From a design point of view I would avoid exporting so many host
> machine information to Dom0 unless we really need it.
Agree. I think we should have a fundamental and brief API to export the 
necessary info.

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