From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Ahern" Subject: Re: [RFC PATCH 0/3] generic hypercall support Date: Fri, 08 May 2009 13:56:40 -0600 Message-ID: <4A048E78.6020605@cisco.com> References: <4A010927.6020207@novell.com> <20090506072212.GV3036@sequoia.sous-sol.org> <4A018DF2.6010301@novell.com> <20090506160712.GW3036@sequoia.sous-sol.org> <4A031471.7000406@novell.com> <20090507233503.GA9103@amt.cnet> <20090507234311.GA9517@amt.cnet> <4A03E579.8030201@redhat.com> <20090508143507.GA8319@amt.cnet> <4A0445A0.4060104@novell.com> <20090508155109.GA9269@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gregory Haskins , Avi Kivity , Chris Wright , Gregory Haskins , kvm@vger.kernel.org, Anthony Liguori To: Marcelo Tosatti Return-path: Received: from sj-iport-6.cisco.com ([171.71.176.117]:59214 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754866AbZEHT4n (ORCPT ); Fri, 8 May 2009 15:56:43 -0400 In-Reply-To: <20090508155109.GA9269@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: Marcelo Tosatti wrote: > On Fri, May 08, 2009 at 10:45:52AM -0400, Gregory Haskins wrote: >> Marcelo Tosatti wrote: >>> On Fri, May 08, 2009 at 10:55:37AM +0300, Avi Kivity wrote: >>> >>>> Marcelo Tosatti wrote: >>>> >>>>> Also it would be interesting to see the MMIO comparison with EPT/NPT, >>>>> it probably sucks much less than what you're seeing. >>>>> >>>>> >>>> Why would NPT improve mmio? If anything, it would be worse, since the >>>> processor has to do the nested walk. >>>> >>>> Of course, these are newer machines, so the absolute results as well as >>>> the difference will be smaller. >>>> >>> Quad-Core AMD Opteron(tm) Processor 2358 SE 2.4GHz: >>> >>> NPT enabled: >>> test 0: 3088633284634 - 3059375712321 = 29257572313 >>> test 1: 3121754636397 - 3088633419760 = 33121216637 >>> test 2: 3204666462763 - 3121754668573 = 82911794190 >>> >>> NPT disabled: >>> test 0: 3638061646250 - 3609416811687 = 28644834563 >>> test 1: 3669413430258 - 3638061771291 = 31351658967 >>> test 2: 3736287253287 - 3669413463506 = 66873789781 >>> >>> >> Thanks for running that. Its interesting to see that NPT was in fact >> worse as Avi predicted. >> >> Would you mind if I graphed the result and added this data to my wiki? >> If so, could you adjust the tsc result into IOPs using the proper >> time-base and the test_count you ran with? I can show a graph with the >> data as is and the relative differences will properly surface..but it >> would be nice to have apples to apples in terms of IOPS units with my >> other run. >> >> -Greg > > Please, that'll be nice. > > Quad-Core AMD Opteron(tm) Processor 2358 SE > > host: 2.6.30-rc2 > guest: 2.6.29.1-102.fc11.x86_64 > > test_count=1000000, tsc freq=2402882804 Hz > > NPT disabled: > > test 0 = 2771200766 > test 1 = 3018726738 > test 2 = 6414705418 > test 3 = 2890332864 > > NPT enabled: > > test 0 = 2908604045 > test 1 = 3174687394 > test 2 = 7912464804 > test 3 = 3046085805 > DL380 G6, 1-E5540, 6 GB RAM, SMT enabled: host: 2.6.30-rc3 guest: fedora 9, 2.6.27.21-78.2.41.fc9.x86_64 with EPT test 0: 543617607291 - 518146439877 = 25471167414 test 1: 572568176856 - 543617703004 = 28950473852 test 2: 630182158139 - 572568269792 = 57613888347 without EPT test 0: 1383532195307 - 1358052032086 = 25480163221 test 1: 1411587055210 - 1383532318617 = 28054736593 test 2: 1471446356172 - 1411587194600 = 59859161572 david > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >