jech / babeld

The Babel routing daemon
http://www.irif.fr/~jch/software/babel/
MIT License
383 stars 92 forks source link

Perform kernel route dump on per-table basis to avoid congestion #90

Closed DanielG closed 2 years ago

DanielG commented 2 years ago

Kernel route insertion performance drops drastically when a dump is going on concurrently. To limit the impact when multiple routing tables are used only dump the ones we actually need.

See https://alioth-lists.debian.net/pipermail/babel-users/2022-April/003902.html

Tested-By: Daniel Gröber dxld@darkboxed.org

DanielG commented 2 years ago

Changes:

Support for kernel side filtering was introduced by commit 13e38901d4 ("net/ipv6: Plumb support for filtering route dumps") which was released in v4.20.

Do we have to add some version checking to use this feature?

DanielG commented 2 years ago

Toke's patch on the ML is better, closing.