Author: toad
Date: 2008-01-04 14:05:35 +0000 (Fri, 04 Jan 2008)
New Revision: 16876
Modified:
trunk/freenet/src/freenet/node/Node.java
Log:
Set maxUtilization parameter to the default, 50%. Improve performance, reduce
the frequency of the Cleaner doing log garbage collection.
Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java 2008-01-04 03:43:44 UTC (rev
16875)
+++ trunk/freenet/src/freenet/node/Node.java 2008-01-04 14:05:35 UTC (rev
16876)
@@ -1106,7 +1106,9 @@
// Percentage of the database that must contain usefull data
// decrease to increase performance, increase to save disk space
- System.setProperty("je.cleaner.minUtilization","90");
+ // Let it stay at the default of 50% for best performance.
+ // We only use it for indexes, so it won't get huge.
+ //System.setProperty("je.cleaner.minUtilization","90");
// Delete empty log files
System.setProperty("je.cleaner.expunge","true");
EnvironmentConfig envConfig = new EnvironmentConfig();