CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/12/02 03:50:19
Modified files:
usr.sbin/bgpd : bgpd.h rde.c rde.h rde_adjout.c rde_peer.c
rde_rib.c rde_update.c
Log message:
Introduce an adjout_attr object that decouples some of the common data
from the prefix_adjout. This helps to reduce the memory footprint by
around 20% in large IXP setups.
The size of struct prefix_adjout is critical since we allocate very many
of those. e.g. 250k prefixes * 750 peer = 187mio objects. Every byte saved
makes a big difference.
OK tb@