Re: BIRD 3.3/3.4: CLI stalls and mslab cleanup CPU (3.4.0 test patches)
Hi David, Pavel, I would like to add a data point for the msl_cleanup() part from a much smaller setup with only 2 kernel protocols (kernel4/kernel6, one table each). I'm running stock 3.4.0 (pkg.labs.nic.cz trixie package), on a 2 vCPU VM, with 15 BGP sessions of which 4 have full tables: 1.10M + 261k prefixes exported to the kernel and 600-760 MB of route attributes. The main thread sits at 60-90% CPU, while the kernel only sees under 100 route changes per second. perf on the main thread, with bird3-dbgsym: ``` perf record -F 199 -g -t $(pgrep -x bird) -- sleep 60 99.01% msl_cleanup 6663 of 7255 samples at msl_cleanup+0x7a ``` The load seems to follow the attribute memory, not the number of sessions or kernel protocols: an iBGP-only router in my network (same versions, same kernel protocol setup) with about 80 MB of attributes stays at 5-8%. Moving garbage collection to its own thread would fix the CLI latency, but for me the total CPU time is the problem: these are small VMs and I try to keep power use low. I'm happy to share the configuration. Kind regards, Christiaan Goossens AS197754
participants (1)
-
Christiaan Goossens