public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] SVM CR8 optimization patches
@ 2008-04-16 14:51 Joerg Roedel
  2008-04-16 14:51 ` [PATCH 1/5] SVM: sync TPR value to V_TPR field in the VMCB Joerg Roedel
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Joerg Roedel @ 2008-04-16 14:51 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel

This patch series implements optimizations to the CR8 intercept handling in
SVM. With these patches applied CR8 reads are not intercepted anymore. The
writes to CR8 are only intercepted if the TPR masks interrupts. This
significantly reduces the number of total CR8 intercepts when running Windows
64 bit versions. Some quick numbers:

Boot and shudown of Vista 64: 

Without these patches: ~38.000.000 CR8 writes intercepted
With    these patches:     ~38.000 CR8 writes intercepted

diffstat:

 arch/x86/kvm/lapic.c |    1 +
 arch/x86/kvm/svm.c   |   68 ++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 56 insertions(+), 13 deletions(-)




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-18 16:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-16 14:51 [PATCH 0/5] SVM CR8 optimization patches Joerg Roedel
2008-04-16 14:51 ` [PATCH 1/5] SVM: sync TPR value to V_TPR field in the VMCB Joerg Roedel
2008-04-16 14:51 ` [PATCH 2/5] X86: export kvm_lapic_set_tpr to modules Joerg Roedel
2008-04-16 14:51 ` [PATCH 3/5] SVM: sync V_TPR with LAPIC.TPR if CR8 write intercept is disabled Joerg Roedel
2008-04-16 14:51 ` [PATCH 4/5] SVM: disable CR8 intercept when tpr is not masking interrupts Joerg Roedel
2008-04-16 14:51 ` [PATCH 5/5] SVM: remove now obsolete FIXME comment Joerg Roedel
2008-04-18 16:07 ` [PATCH 0/5] SVM CR8 optimization patches Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox