[PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs



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.

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(-)




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
    ... feature of AMD QuadCore CPUs for comments and public testing. ... paging, 32 bit PAE paging and 64 bit Long Mode). ... All these guests ran successfully with these patches. ... patch series only enables NPT for 64 bit Linux hosts at the moment. ...
    (Linux-Kernel)
  • Re: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
    ... feature of AMD QuadCore CPUs for comments and public testing. ... paging, 32 bit PAE paging and 64 bit Long Mode). ... All these guests ran successfully with these patches. ... patch series only enables NPT for 64 bit Linux hosts at the moment. ...
    (Linux-Kernel)
  • Re: starting with 2.7
    ... >> interfaces are probably ready to go regardless. ... > not because you don't see any use to that particular feature that you ... > userspace anymore, but also involves modules interfaces sometimes because ... > current patches to new releases with very few efforts. ...
    (Linux-Kernel)
  • RE: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs
    ... here is the first release of patches for KVM to support the Nested ... This patch series is basically tested with Linux guests (32 bit legacy ... paging, 32 bit PAE paging and 64 bit Long Mode). ... live migration support now, and we'll submit the patch once it's done. ...
    (Linux-Kernel)
  • [PATCH 0/5] 4KSTACKS no longer a debug feature and doesnt belong in "Kernel hacking".
    ... non-debug feature and b) move it out of the Kernel hacking menu and into the ... In that thread I promised to provide some patches that would lift 4KSTACKS out ... I also said I would provide a patch to make 4KSTACKS 'default y' to get more ... longer a debug feature and the location is in line with m68knommu (which is ...
    (Linux-Kernel)