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.
This commit is contained in:
Jan Maria Matejka 2018-11-01 12:17:49 +01:00
parent 84661bf6da
commit d73c4ac869

View file

@ -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