From d73c4ac869048e60276c5e568450c7342bc0bc8a Mon Sep 17 00:00:00 2001 From: Jan Maria Matejka Date: Thu, 1 Nov 2018 12:17:49 +0100 Subject: [PATCH] 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. --- nest/rt-fib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest/rt-fib.c b/nest/rt-fib.c index 18ccbfc3..48091d43 100644 --- a/nest/rt-fib.c +++ b/nest/rt-fib.c @@ -61,7 +61,7 @@ #define HASH_DEF_ORDER 10 #define HASH_HI_MARK *4 #define HASH_HI_STEP 2 -#define HASH_HI_MAX 16 +#define HASH_HI_MAX 24 #define HASH_LO_MARK /5 #define HASH_LO_STEP 2 #define HASH_LO_MIN 10