From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: [PATCH]Add free memory size of every NUMA node in phsical info Date: Tue, 26 Feb 2008 03:02:08 +0000 Message-ID: <20080226030208.GS2614@redhat.com> References: <20080226023936.GR2614@redhat.com> <82C666AA63DC75449C51EAD62E8B2BEC5CE8AD@pdsmsx412.ccr.corp.intel.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <82C666AA63DC75449C51EAD62E8B2BEC5CE8AD@pdsmsx412.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Duan, Ronghui" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 -=|