a8a3d95be5
Use timer (configurable as 'gc period') to schedule routing table GC/pruning to ensure that prune is done on time but not too often. Randomize GC timers to avoid concentration of GC events from different tables in one loop cycle. Fix a bug that caused minimum inter-GC interval be 5 us instead of 5 s. Make default 'gc period' adaptive based on number of routing tables, from 10 s for small setups to 600 s for large ones. In marge multi-table RS setup, the patch improved time of flushing a downed peer from 20-30 min to <2 min and removed 40s latencies. |
||
---|---|---|
.. | ||
cf-lex.l | ||
conf.c | ||
conf.h | ||
confbase.Y | ||
Doc | ||
flowspec.Y | ||
gen_commands.m4 | ||
gen_keywords.m4 | ||
gen_parser.m4 | ||
Makefile |