There shall be a "threads N;" top-level config directive. We have probably not published build docs, we'll fix that for the next release, sorry for that. Kernel sync is a hard question, we have to discuss it internally first. The most viable way is probably just offloading it into a worker thread + some misc workarounds. Batching updates is much more work, probably. Sorry for top-posting, I'm typing on my phone by one hand only. Maria On 13 May 2023 10:11:47 CEST, Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> wrote:
W dniu 12.05.2023 o 18:37, Ondrej Filip pisze:
Measured performance in BGP is approx. 6-10x better (with 20 threads) than version 2.13, depending on the actual configuration. Only two threads showed up for me, how can one increase the number of threads ? Should I dig into sources or is there any configuration knob to tune it ? Kernel synchronization is slow with a large number of routes; we will look into it soon.
Are you considering a transition from send-wait approach toward batch-optimised updates ?
Thanks again for this excellent piece of software !
Cheers
-- Marek Zarychta