This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] vmx: Change the default Pause-Loop-Exitin

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] vmx: Change the default Pause-Loop-Exiting "Gap" parameter
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 00:40:28 -0700
Delivery-date: Fri, 14 May 2010 00:41:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] vmx: Change the default Pause-Loop-Exiting "Gap" parameter, Xen patchbot-unstable <=