CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/02/13 05:47:36

Modified files:
        usr.sbin/bgpd  : bgpd.h rde.c rde.h rde_filter.c rde_peer.c 

Log message:
Optimise the out filters rule evaluation by being more cache friendly.

Similar to filter_sets convert the filter_rule tail queue into an array
of smaller filter_match elements. On top of this deduplicate these rules
via hash table and refcounts. As a result the data is now more cache
friendly and the CPU spends less time waiting for data.

The initial loading time of my test IXP RS setup drops from 25min down
to around 18min. So this change produces a significant speedup on large
BGP setups.

OK tb@

Reply via email to