Commit 96928e23 authored by Misbah Mubarak's avatar Misbah Mubarak
Browse files

Making the table size a prime number

parent 3058124b
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#define DUMP_CONNECTIONS 0 #define DUMP_CONNECTIONS 0
#define CREDIT_SIZE 8 #define CREDIT_SIZE 8
#define DFLY_HASH_TABLE_SIZE 5000 #define DFLY_HASH_TABLE_SIZE 4999
// debugging parameters // debugging parameters
#define TRACK -1 #define TRACK -1
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#define COLLECTIVE_COMPUTATION_DELAY 5700 #define COLLECTIVE_COMPUTATION_DELAY 5700
#define DRAGONFLY_FAN_OUT_DELAY 20.0 #define DRAGONFLY_FAN_OUT_DELAY 20.0
#define WINDOW_LENGTH 0 #define WINDOW_LENGTH 0
#define DFLY_HASH_TABLE_SIZE 5000 #define DFLY_HASH_TABLE_SIZE 4999
// debugging parameters // debugging parameters
#define TRACK -1 #define TRACK -1
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#define MEAN_PROCESS 1.0 #define MEAN_PROCESS 1.0
#define TERMINAL_GUID_PREFIX ((uint64_t)(64) << 32) #define TERMINAL_GUID_PREFIX ((uint64_t)(64) << 32)
#define FTREE_HASH_TABLE_SIZE 5000 #define FTREE_HASH_TABLE_SIZE 4999
// debugging parameters // debugging parameters
#define TRACK_PKT -1 #define TRACK_PKT -1
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#define MEAN_PROCESS 1.0 #define MEAN_PROCESS 1.0
/* collective specific parameters */ /* collective specific parameters */
#define SFLY_HASH_TABLE_SIZE 5000 #define SFLY_HASH_TABLE_SIZE 4999
// debugging parameters // debugging parameters
#define TRACK 4 #define TRACK 4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment