Commit d73c4ac8 authored by Jan Maria Matejka's avatar Jan Maria Matejka

Route table max hash size raised to 2^24.

This is still OK for everybody to fit into RAM and also probably enough
to keep a little collision rate for full BGP table.
parent 84661bf6
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
#define HASH_DEF_ORDER 10 #define HASH_DEF_ORDER 10
#define HASH_HI_MARK *4 #define HASH_HI_MARK *4
#define HASH_HI_STEP 2 #define HASH_HI_STEP 2
#define HASH_HI_MAX 16 #define HASH_HI_MAX 24
#define HASH_LO_MARK /5 #define HASH_LO_MARK /5
#define HASH_LO_STEP 2 #define HASH_LO_STEP 2
#define HASH_LO_MIN 10 #define HASH_LO_MIN 10
......
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