]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Route table max hash size raised to 2^24.
authorJan Maria Matejka <mq@ucw.cz>
Thu, 1 Nov 2018 11:17:49 +0000 (12:17 +0100)
committerJan Maria Matejka <mq@ucw.cz>
Tue, 4 Dec 2018 13:00:44 +0000 (14:00 +0100)
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

index 18ccbfc397096b10c3183b1617eb6d0772370b16..48091d43600d763d274969032770c9916b832c30 100644 (file)
@@ -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