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]Add free memory size of every NUMA node in phsica

To: "Duan, Ronghui" <ronghui.duan@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH]Add free memory size of every NUMA node in phsical info
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Tue, 26 Feb 2008 03:02:08 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 25 Feb 2008 19:02:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <82C666AA63DC75449C51EAD62E8B2BEC5CE8AD@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20080226023936.GR2614@xxxxxxxxxx> <82C666AA63DC75449C51EAD62E8B2BEC5CE8AD@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Tue, Feb 26, 2008 at 10:46:17AM +0800, Duan, Ronghui wrote:
> I see that, the reason I don't use that function is there need one more
> time hypercall, I only reuse the function which have been realized in
> hypervisor. Thanks for your advice.

The performance impact of doing 1 extra hypercall for 'availheap' is
completely irrelevant in this context. The time for 1 extra hypercall
is dwarfed (by several orders of magnitude) by the overhead due to
'xm' and 'xend' being in python & using XML-RPC. We should just use
the existing hypercall & not worry about time overhead we'll never
notice.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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