System freezes with Bird running on FreeBSD 11.1
Ondrej Zajicek
santiago at crfreenet.org
Wed Jan 3 17:31:11 CET 2018
On Wed, Jan 03, 2018 at 12:02:24PM -0200, Clistenes Viana wrote:
> Following the outputs;
>
> # netstat -nr4 | wc -l
> 688431
>
> # time netstat -nr > /dev/null
> 3.474u 1.063s 0:04.57 99.1% 183+183k 0+0io 6pf+0w
> 3.519u 1.196s 0:04.71 99.7% 183+183k 0+0io 0pf+0w
> 3.468u 0.841s 0:04.31 99.7% 183+183k 0+0io 0pf+0w
> 3.492u 0.841s 0:04.33 100.0% 183+183k 0+0io 0pf+0w
>
> More info about bird;
Hi
I tested that on Linux an FreeBSD 10, and for full BGP table
(680k routes) the scan took about 1.3 s on Linux and about
2.4 s on FreeBSD 10. Unfortunately i don't have FreeBSD 11
here now to test it.
Also it is 'system freeze' or just BIRD freeze?
There are two possible issues - logging and memory:
Enabling 'debug {routes}' or 'debug all' for Kernel protocol could slow
down the scan significantly.
Kernel table scan on BSD require a buffer for all routes, so it may
require some nontrivial additional memory during routing table scans.
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list