From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs Date: Fri, 25 Jan 2008 15:32:57 -0600 Message-ID: <479A5589.7030201@codemonkey.ws> References: <1201294393-22613-1-git-send-email-joerg.roedel@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Avi Kivity To: Joerg Roedel Return-path: In-Reply-To: <1201294393-22613-1-git-send-email-joerg.roedel-5C7GfCeVMHo@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Joerg Roedel wrote: > Hi, > > here is the first release of patches for KVM to support the Nested Paging (NPT) > feature of AMD QuadCore CPUs for comments and public testing. This feature > improves the guest performance significantly. I measured an improvement of > around 17% using kernbench in my first tests. > > This patch series is basically tested with Linux guests (32 bit legacy > paging, 32 bit PAE paging and 64 bit Long Mode). Also tested with Windows Vista > 32 bit and 64 bit. All these guests ran successfully with these patches. The > patch series only enables NPT for 64 bit Linux hosts at the moment. > > Please give these patches a good and deep testing. I hope we have this patchset > ready for merging soon. > A quick sniff test and things look pretty good. I was able to start running the install CDs for 32-bit and 64-bit Ubuntu, 32-bit OpenSuSE, 64-bit Fedora, and 32-bit Win2k8. I'll do a more thorough run of kvm-test on Monday when I have a better connection to my machine. Nice work! Regards, Anthony Liguori > Joerg > > Here is the diffstat: > > arch/x86/kvm/mmu.c | 81 +++++++++++++++++++++++++++++++++++--- > arch/x86/kvm/mmu.h | 6 +++ > arch/x86/kvm/svm.c | 94 +++++++++++++++++++++++++++++++++++++++++-- > arch/x86/kvm/vmx.c | 7 +++ > arch/x86/kvm/x86.c | 1 + > include/asm-x86/kvm_host.h | 4 ++ > 6 files changed, 182 insertions(+), 11 deletions(-) > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/