Author: j16sdiz
Date: 2008-07-31 00:51:44 +0000 (Thu, 31 Jul 2008)
New Revision: 21518
Modified:
branches/saltedhashstore/freenet/src/freenet/node/Node.java
Log:
Reduce bloom filter size
- trigger bloom filter rebuild
- smaller size for couting filter
Modified: branches/saltedhashstore/freenet/src/freenet/node/Node.java
===================================================================
--- branches/saltedhashstore/freenet/src/freenet/node/Node.java 2008-07-31
00:51:26 UTC (rev 21517)
+++ branches/saltedhashstore/freenet/src/freenet/node/Node.java 2008-07-31
00:51:44 UTC (rev 21518)
@@ -1410,32 +1410,32 @@
System.out.println("Initializing CHK Datastore
(" + maxStoreKeys + " keys)");
chkDatastore = new CHKStore();
SaltedHashFreenetStore chkDataFS =
SaltedHashFreenetStore.construct(storeDir, "CHK-store",
- chkDatastore, this, maxStoreKeys,
0x10000000, shutdownHook);
+ chkDatastore, this, maxStoreKeys,
0x4000000, shutdownHook);
Logger.normal(this, "Initializing CHK
Datacache");
System.out.println("Initializing CHK Datacache
(" + maxCacheKeys + ':' + maxCacheKeys + " keys)");
chkDatacache = new CHKStore();
SaltedHashFreenetStore chkCacheFS =
SaltedHashFreenetStore.construct(storeDir, "CHK-cache",
- chkDatacache, this, maxCacheKeys,
0x10000000, shutdownHook);
+ chkDatacache, this, maxCacheKeys,
0x4000000, shutdownHook);
Logger.normal(this, "Initializing pubKey
Datastore");
System.out.println("Initializing pubKey
Datastore");
pubKeyDatastore = new PubkeyStore();
SaltedHashFreenetStore pubkeyDataFS =
SaltedHashFreenetStore.construct(storeDir, "PUBKEY-store",
- pubKeyDatastore, this, maxStoreKeys,
0x10000000, shutdownHook);
+ pubKeyDatastore, this, maxStoreKeys,
0x4000000, shutdownHook);
Logger.normal(this, "Initializing pubKey
Datacache");
System.out.println("Initializing pubKey
Datacache (" + maxCacheKeys + " keys)");
pubKeyDatacache = new PubkeyStore();
SaltedHashFreenetStore pubkeyCacheFS =
SaltedHashFreenetStore.construct(storeDir, "PUBKEY-cache",
- pubKeyDatacache, this, maxCacheKeys,
0x10000000, shutdownHook);
+ pubKeyDatacache, this, maxCacheKeys,
0x4000000, shutdownHook);
Logger.normal(this, "Initializing SSK
Datastore");
System.out.println("Initializing SSK
Datastore");
sskDatastore = new SSKStore(this);
SaltedHashFreenetStore sskDataFS =
SaltedHashFreenetStore.construct(storeDir, "SSK-store",
- sskDatastore, this, maxStoreKeys,
0x10000000, shutdownHook);
+ sskDatastore, this, maxStoreKeys,
0x4000000, shutdownHook);
Logger.normal(this, "Initializing SSK
Datacache");
System.out.println("Initializing SSK Datacache
(" + maxCacheKeys + " keys)");
sskDatacache = new SSKStore(this);
SaltedHashFreenetStore sskCacheFS =
SaltedHashFreenetStore.construct(storeDir, "SSK-cache",
- sskDatacache, this, maxCacheKeys,
0x10000000, shutdownHook);
+ sskDatacache, this, maxCacheKeys,
0x4000000, shutdownHook);
File migrationFile = new File(storeDir,
"migrated");
if (!migrationFile.exists()) {