]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: intelligently adjust coalesce timer
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 30 Nov 2017 19:11:12 +0000 (14:11 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 30 Nov 2017 21:47:51 +0000 (16:47 -0500)
commit4961a5a2eb478865f963283cd61bcc9ff19b1cdc
treed11c5cb235870f27e34fa94bca72ad4dab83445d
parent5561f5234361a1ea928133cfb5193ded71aa1cd6
bgpd: intelligently adjust coalesce timer

The subgroup coalesce timer controls how long updates to a particular
subgroup are delayed in order to allow additional peers to join the
subgroup. Presently the timer value is 200 ms. Increase it to 1 second
and adjust up as peers are configured, with an upper cap at 10s.

This cuts convergence time by a factor of 3 at large scale (300+ peers,
1000+ prefixes per peer).

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_packet.c
bgpd/bgp_updgrp.h
bgpd/bgpd.c