gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r12944 - gnunet/src/dht


From: gnunet
Subject: [GNUnet-SVN] r12944 - gnunet/src/dht
Date: Thu, 9 Sep 2010 14:15:23 +0200

Author: nevans
Date: 2010-09-09 14:15:23 +0200 (Thu, 09 Sep 2010)
New Revision: 12944

Modified:
   gnunet/src/dht/dht.h
Log:
better values for dht bloomfilter, reduce collisions for peers even with large 
routing tables

Modified: gnunet/src/dht/dht.h
===================================================================
--- gnunet/src/dht/dht.h        2010-09-09 12:14:12 UTC (rev 12943)
+++ gnunet/src/dht/dht.h        2010-09-09 12:15:23 UTC (rev 12944)
@@ -29,17 +29,20 @@
 
 #define DEBUG_DHT GNUNET_NO
 
-#define DEBUG_DHT_ROUTING GNUNET_NO
+/**
+ * Needs to be GNUNET_YES for logging to dhtlog to work!
+ */
+#define DEBUG_DHT_ROUTING GNUNET_YES
 
-#define DHT_BLOOM_SIZE 32
+#define DHT_BLOOM_SIZE 128
 
-#define DHT_BLOOM_K 8
+#define DHT_BLOOM_K 6
 
 #define MAX_OUTSTANDING_FORWARDS 100
 
 #define DHT_FORWARD_TIMEOUT 
GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5)
 
-#define DHT_REPUBLISH_FREQUENCY 
GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 1)
+#define DHT_REPUBLISH_FREQUENCY 
GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 60)
 
 #define DHT_SEND_PRIORITY 4
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]