0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00
bird/proto/bgp
Ondrej Zajicek ea89da381f Workaround for stupid callback scheduler.
There is no reak callback scheduler and previous behavior causes
bad things during hard congestion (like BGP hold timeouts).

Smart callback scheduler is still missing, but main loop was
changed such that it first processes all tx callbacks (which
are fast enough) (but max 4* per socket) + rx callbacks for CLI,
and in the second phase it processes one rx callback per
socket up to four sockets (as rx callback can be slow when
there are too many protocols, because route redistribution
is done synchronously inside rx callback). If there is event
callback ready, second phase is skipped in 90% of iterations
(to speed up CLI during congestion).
2009-10-11 18:56:16 +02:00
..
attrs.c Some cleanups. 2009-08-27 19:01:04 +02:00
bgp.c Workaround for stupid callback scheduler. 2009-10-11 18:56:16 +02:00
bgp.h Passive option. 2009-09-24 22:12:11 +02:00
config.Y Passive option. 2009-09-24 22:12:11 +02:00
Doc BGP documented. 2000-06-04 17:06:18 +00:00
Makefile Construction of BGP packets. 2000-03-21 15:53:50 +00:00
packets.c Show bad peer AS number in log in decimal. 2009-09-24 23:14:44 +02:00