<html><head></head><body>Hello!<br><br>How much time does it take to list the kernel table?<br><br>time ip r > /dev/null<br><br>How many routes do you have in bird table?<br><br>show route count<br><br>And what export filter do you have for the kernel protocol in bird?<br><br>Thanks<br>Maria<br><br><div class="gmail_quote">On December 21, 2019 1:07:25 PM GMT+01:00, Nico Schottelius <nico.schottelius@ungleich.ch> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br>Good morning,<br><br>on a fresh new router running the full routing table,<br>with Alpine, Linux 4.19.80-0-vanilla, bird-2.0.7<br><br>I see a lot of these messages:<br><br>Dec 21 12:37:15 router1 daemon.warn bird: Kernel dropped some netlink messages, will resync on next scan.<br>Dec 21 12:37:34 router1 daemon.warn bird: I/O loop cycle took 5000 ms for 1 events<br>Dec 21 12:38:14 router1 daemon.warn bird: Kernel dropped some netlink messages, will resync on next scan.<br>Dec 21 12:38:35 router1 daemon.warn bird: I/O loop cycle took 5328 ms for 1 events<br>Dec 21 12:38:54 router1 daemon.warn bird: I/O loop cycle took 5013 ms for 1 events<br>Dec 21 12:39:07 router1 daemon.warn bird: Kernel dropped some netlink messages, will resync on next scan.<br>Dec 21 12:39:14 router1 daemon.warn bird: I/O loop cycle took 5053 ms for 1 events<br>Dec 21 12:39:34 router1 daemon.warn bird: Kernel dropped some netlink messages, will resync on next scan.<br>Dec 21 12:40:14 router1 daemon.warn bird: I/O loop cycle took 5041 ms for 1 events<br><br>[12:49] router1.place6:~# ip -6 r | wc -l; ip r | wc -l<br>78212<br>779342<br><br>With "debug latency;" I get the following additional messages:<br><br>Dec 21 12:54:31 router1 daemon.warn bird: Event 0x000055a21afb8144 0x0000000000000000 took 4449 ms<br>Dec 21 12:54:52 router1 daemon.warn bird: Event 0x000055a21afb8144 0x0000000000000000 took 5608 ms<br><br>The system is overall idle with bird spiking to 50-100% cpu usage every<br>couple of seconds. I first thougt they are only logged after stating<br>bird (where it might make sense), but the events continue to be logged<br>around every 30s:<br><br>Dec 21 13:04:11 router1 daemon.warn bird: Event 0x000055a21afb8144 0x0000000000000000 took 4596 ms<br>Dec 21 13:04:32 router1 daemon.warn bird: Event 0x000055a21afb8144 0x0000000000000000 took 5096 ms<br>Dec 21 13:04:52 router1 daemon.warn bird: Event 0x000055a21afb8144 0x0000000000000000 took 5102 ms<br>Dec 21 13:05:11 router1 daemon.warn bird: Event 0x000055a21afb8144 0x0000000000000000 took 4676 ms<br>Dec 21 13:05:31 router1 daemon.warn bird: Event 0x000055a21afb8144 0x0000000000000000 took 4645 ms<br><br>Which might loosely correlate to the scan time "20" that is setup for<br>device and kernel protocols.<br><br>How do I best debug this issue?<br><br>Best,<br><br>Nico<br><br><br><br>--<br>Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch<br></pre></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>