0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00
bird/sysdep/linux
Ondrej Zajicek 534d0a4b44 KRT: Scan routing tables separetely on linux to avoid congestion
Remove compile-time sysdep option CONFIG_ALL_TABLES_AT_ONCE, replace it
with runtime ability to run either separate table scans or shared scan.

On Linux, use separate table scans by default when the netlink socket
option NETLINK_GET_STRICT_CHK is available, but retreat to shared scan
when it fails.

Running separate table scans has advantages where some routing tables are
managed independently, e.g. when multiple routing daemons are running on
the same machine, as kernel routing table modification performance is
significantly reduced when the table is modified while it is being
scanned.

Thanks Daniel Gröber for the original patch and Toke Høiland-Jørgensen
for suggestions.
2022-07-24 02:15:20 +02:00
..
krt-sys.h Netlink: Add option to specify netlink socket receive buffer size 2022-01-17 05:11:29 +01:00
Makefile Unit Testing for BIRD 2016-11-09 16:36:34 +01:00
netlink.c KRT: Scan routing tables separetely on linux to avoid congestion 2022-07-24 02:15:20 +02:00
netlink.Y Netlink: Add option to specify netlink socket receive buffer size 2022-01-17 05:11:29 +01:00
sysio.h IO: Support nonlocal bind in socket interface 2022-01-08 19:02:31 +01:00
syspriv.h Minor code cleanups 2016-11-08 17:46:29 +01:00