0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 20:58:44 +00:00
bird/sysdep/unix
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
..
alloc.c Fixed a munmap abort bug 2022-04-13 11:36:54 +02:00
config.Y Log: Do not open logfiles when parse-and-exit option is active 2020-06-03 14:59:20 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io.c IO: Improve resolution of latency debugging messages 2022-06-04 17:54:08 +02:00
krt.c KRT: Scan routing tables separetely on linux to avoid congestion 2022-07-24 02:15:20 +02:00
krt.h KRT: Scan routing tables separetely on linux to avoid congestion 2022-07-24 02:15:20 +02:00
krt.Y Dynamic attributes definition split whether it is bitmask or not. 2019-07-03 00:00:11 +02:00
log.c Log: Fix locking during log reconfiguration 2020-11-25 15:15:13 +01:00
main.c Filter: Implement soft scopes 2022-06-27 21:13:31 +02:00
Makefile Slab: head now uses bitmask for used/free nodes info instead of lists 2021-03-25 16:47:48 +01:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h BGP: Add support for BGP hostname capability 2021-02-10 16:53:57 +01:00