Hi, Thanks for the clarifications :)
On lun. 15 janv. 16:56:12 2018, Ondrej Zajicek wrote:
> This is most likely a result of periodic scan of kernel routing table
> containing 680k routes of BGP feed. I measured it recently on FreeBSD 10
> to be about 2.4 s on relatively powerful hardware. Not sure why you have
> 9-10 s instead (slower behavior on FreeBSD 11 or just different hardware).
The CPU is and AMD GX-412TC SOC.
> Unfortunately, i don't think you can do much with it. You can increase
> 'scan interval' of kernel protocol so it happens less often. But it is
> still relatively harmless. We should make these scans asynchronous so
> they do not block main I/O loop.
Here is my configuration of the kernel protocol:
protocol kernel {
# learn;
# Don't remove routes on BIRD shutdown
persist;
# Export to the kernel.
export all;
preference 110;
}
As I’m not importing any route from it, is it possible (or a good idea)
to completely disable this scan with 'scan interval' or to put a very
huge parameter?
--
alarig
signature.asc
Description: PGP signature
