IPv6 BGP & kernel 4.19

Vincent Bernat bernat at luffy.cx
Tue Dec 3 09:40:31 CET 2019


 ❦  3 décembre 2019 08:56 +01, Alarig Le Lay <alarig at swordarmor.fr>:

>> Just to be clear: I did forget this fact and therefore my initial
>> recommendation to increase max_size with more than 4096 active hosts
>> does not apply anymore (as long as you have a 4.2+ kernel). Keep the
>> default value and watch `/proc/net/rt6_stats`.
>
> core01-arendal ~ # cat /proc/net/rt6_stats
> 0048 002c 5e56 0050 0000 0056 0020
>
> It is supposed to be understandable? :D

So, there is 0x56 entries in the cache. Isn't that clear? :)

https://elixir.bootlin.com/linux/latest/source/net/ipv6/route.c#L6006

-- 
Modularise.  Use subroutines.
            - The Elements of Programming Style (Kernighan & Plauger)


More information about the Bird-users mailing list