I/O loop cycle

Alarig Le Lay alarig at swordarmor.fr
Mon Jan 15 18:03:41 CET 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180115/2b936ea1/attachment.asc>


More information about the Bird-users mailing list