[RFC PATCH 0/3] kvm/x86/vmx optimize tsc deadline emulation latency

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

 



Optimize latency of TSC deadline emulation by skipping various KVM related
checks when opssible. i.e. On VMExit for tsc deadline timer emulation,
handle it and VMEnter immidiately without checking various kvm stuff
when possible.
The result can be measured by cyclic test in guest and ftracing
local timer interrupt entry(irq_vectors:local_timer_exit).
On local machine, average latency can be reduced by tens of microseconds.

Isaku Yamahata (3):
  kvm/x86: remove KVM_REQ_PENDING_TIMER
  x86/kvm/vmx: opitmize tsc dealine timer emulation
  x86/kvm/vmx: module parameter to enable/disable fast exit handler

 arch/x86/kvm/lapic.c     |  18 +----
 arch/x86/kvm/lapic.h     |  16 ++++
 arch/x86/kvm/vmx.c       | 157 +++++++++++++++++++++++++++++++++++++++
 arch/x86/kvm/x86.c       |  21 ++----
 include/linux/kvm_host.h |   2 +-
 5 files changed, 181 insertions(+), 33 deletions(-)

-- 
2.17.1




[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