❦  2 décembre 2019 22:48 +01, Vincent Bernat <ber...@luffy.cx>:

> Also, from 4.2, the cache entries are only created for exceptions (PMTU
> notably). So, in fact, the initial value should be mostly safe. You can
> monitor it with `/proc/net/rt6_stats`. This is the before last value. If
> you can share what you have, I would be curious to know how low it is
> (compared to the 4th entry notably).

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`.
-- 
Program defensively.
            - The Elements of Programming Style (Kernighan & Plauger)

Reply via email to