directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r413729 - in /directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm: JdbmDirectoryPartition.java JdbmIndex.java
Date Mon, 12 Jun 2006 19:32:54 GMT
Author: akarasulu
Date: Mon Jun 12 12:32:54 2006
New Revision: 413729

URL: http://svn.apache.org/viewvc?rev=413729&view=rev
Log:
bumping up default cache limits to something more realistic

Modified:
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java?rev=413729&r1=413728&r2=413729&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java
Mon Jun 12 12:32:54 2006
@@ -147,7 +147,7 @@
             String path = workingDirectory.getPath() + File.separator + "master";
             BaseRecordManager base = new BaseRecordManager( path );
             base.disableTransactions();
-            recMan = new CacheRecordManager( base, new MRU( 1000 ) );
+            recMan = new CacheRecordManager( base, new MRU( 100000 ) );
         }
         catch ( IOException e )
         {

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java?rev=413729&r1=413728&r2=413729&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java
Mon Jun 12 12:32:54 2006
@@ -85,7 +85,7 @@
     public JdbmIndex( AttributeType attribute, RecordManager recMan ) throws NamingException
     {
         this.attribute = attribute;
-        keyCache = new SynchronizedLRUMap( 1000 );
+        keyCache = new SynchronizedLRUMap( 1000000 );
         this.recMan = recMan;
         initTables();
     }



Mime
View raw message