[PATCH 0/2] KVM: PPC: Book3S HV: Optimize for MMIO emulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Today, for each emulated MMIO operation, we have to lock the guest
HPTE twice. One is in real mode and another is in virtual mode.

This series aimed at reducing those MMIO HPTE locks, which will improve
the IO scalability of emulated device, especially virtio device. Because
currently almost all of virtio nofications(Port IO access) will hit the
same HPTE.

In this series, patch 1 fixed a bug on key field of HPTE; patch 2 tried
to reduce MMIO HPTE locks and speed up MMIO emulation by keeping a per
vcpu cache for recently page faulted MMIO entries.

Yongji Xie (2):
  KVM: PPC: Book3S HV: Clear the key field of HPTE when the page is paged out
  KVM: PPC: Book3S HV: Add a per vcpu cache for recently page faulted MMIO entries

 arch/powerpc/include/asm/kvm_host.h |   21 ++++++
 arch/powerpc/kvm/book3s_64_mmu_hv.c |   20 ++++++-
 arch/powerpc/kvm/book3s_hv.c        |    9 +++
 arch/powerpc/kvm/book3s_hv_rm_mmu.c |  120 +++++++++++++++++++++++++++++------
 4 files changed, 149 insertions(+), 21 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux