|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] vmx: Change the default Pause-Loop-Exitin
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273650686 -3600
# Node ID 727ccaaa6cceb33780f51c77e24f806939af7a53
# Parent 9de69d816b11dd656595c1c4a5383d19a650334f
vmx: Change the default Pause-Loop-Exiting "Gap" parameter
PLE_Gap controls teh maximum allowable time between executions of
PAUSE in a busy loop. Essentially this controls the sensitivity of the
processor's busy-loop detection.
Changed the default PLE_Gap to 128 for
1. not using odd number like 41
2. getting a little bit more PLE vmexits to improve performance
Signed-off-by: Zhai Edwin <edwin.zhai@xxxxxxxxx>
---
xen/arch/x86/hvm/vmx/vmcs.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 9de69d816b11 -r 727ccaaa6cce xen/arch/x86/hvm/vmx/vmcs.c
--- a/xen/arch/x86/hvm/vmx/vmcs.c Wed May 12 08:49:13 2010 +0100
+++ b/xen/arch/x86/hvm/vmx/vmcs.c Wed May 12 08:51:26 2010 +0100
@@ -53,7 +53,7 @@ boolean_param("unrestricted_guest", opt_
* Time is measured based on a counter that runs at the same rate as the TSC,
* refer SDM volume 3b section 21.6.13 & 22.1.3.
*/
-static unsigned int __read_mostly ple_gap = 41;
+static unsigned int __read_mostly ple_gap = 128;
integer_param("ple_gap", ple_gap);
static unsigned int __read_mostly ple_window = 4096;
integer_param("ple_window", ple_window);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] vmx: Change the default Pause-Loop-Exiting "Gap" parameter,
Xen patchbot-unstable <=
|
|
|
|
|