• Ondřej Zajíček's avatar
    Workaround for stupid callback scheduler. · ea89da38
    Ondřej Zajíček authored
    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).
    ea89da38
Name
Last commit
Last update
client Loading commit data...
conf Loading commit data...
doc Loading commit data...
filter Loading commit data...
lib Loading commit data...
misc Loading commit data...
nest Loading commit data...
proto Loading commit data...
sysdep Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
Doc Loading commit data...
INSTALL Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
aclocal.m4 Loading commit data...
bird.conf Loading commit data...
configure.in Loading commit data...