From 66ae6eae44096acd8b40469260f7234322c58c13 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 04 May 2009 16:08:38 +0000
Subject: [PATCH] Additional fix for issue 3964: enable high priority check-pointer by default for more robust out of the box performance.
---
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java
index 032b889..20b0d72 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java
@@ -411,6 +411,13 @@
// they are instead renamed from .jdb to .del.
envConfig.setConfigParam("je.cleaner.expunge", "true");
+ // Under heavy write load the check point can fall behind causing
+ // uncontrolled DB growth over time. This parameter makes the out of
+ // the box configuration more robust at the cost of a slight
+ // reduction in maximum write throughput. Experiments have shown
+ // that response time predictability is not impacted negatively.
+ envConfig.setConfigParam("je.checkpointer.highPriority", "true");
+
// If the JVM is reasonably large then we can safely default to
// bigger read buffers. This will result in more scalable checkpointer
// and cleaner performance.
--
Gitblit v1.10.0