xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/svm: add pause filtering threshold for SVM
@ 2018-02-21  0:12 Brian Woods
  2018-02-21  0:12 ` [PATCH 1/2] x86/svm: add support for pause filtering threshold Brian Woods
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Brian Woods @ 2018-02-21  0:12 UTC (permalink / raw)
  To: xen-devel
  Cc: Andrew Cooper, Boris Ostrovsky, Brian Woods, Jan Beulich,
	Suravee Suthikulpanit

This patch series adds support and enablement of the pause filtering
threshold.  Once there's pause filtering threshold amount of cycles
between pauses, the pause filtering counter resets to what was in the
VMCB.  This allows the pause filtering count to "reset" between pauses
and keeps the guset from getting intercepted by the hypervisor.  See AMD
APM vol 2 section 15.14.4 for more details.

In reply to this will be an email with graphs showing some benchmark
results of why the values of the counter and threshold were picked.

Brian Woods (2):
  x86/svm: add support for pause filtering threshold
  x86/svm: enable pause filtering threshold

 xen/arch/x86/hvm/svm/svm.c         | 1 +
 xen/arch/x86/hvm/svm/vmcb.c        | 3 +++
 xen/include/asm-x86/hvm/svm/svm.h  | 5 ++++-
 xen/include/asm-x86/hvm/svm/vmcb.h | 3 ++-
 4 files changed, 10 insertions(+), 2 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2018-02-23  9:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-21  0:12 [PATCH 0/2] x86/svm: add pause filtering threshold for SVM Brian Woods
2018-02-21  0:12 ` [PATCH 1/2] x86/svm: add support for pause filtering threshold Brian Woods
2018-02-21 17:36   ` Moger, Babu
2018-02-23  9:44   ` Jan Beulich
2018-02-21  0:12 ` [PATCH 2/2] x86/svm: enable " Brian Woods
2018-02-21 17:36   ` Moger, Babu
2018-02-21  0:17 ` [PATCH 0/2] x86/svm: add pause filtering threshold for SVM Brian Woods
2018-02-21 23:30 ` Boris Ostrovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).