]> git.proxmox.com Git - mirror_frr.git/commit
Changes to improve BGP convergence time:
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 00:58:12 +0000 (17:58 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 00:58:12 +0000 (17:58 -0700)
commitd889623f1ac5e14d761a0cb7896d33cfdc4f3615
treed4c718a71ec390cf20557ccf3e7929ee7f3042b4
parente0bce756b7a93c15a81fcb0dee01a8d3c24e6f3d
Changes to improve BGP convergence time:

- Schedule write thread for advertisements and withdraws only if corresponding
  FIFOs are growing and/or upon work_queue getting fully processed.
- Set non-default yield time for the main work_queue, as the default value
  of 10ms results in yielding after processing very few nodes.
- Remove unnecessary scheduling of write thread when update packet is formed.
- If MRAI is 0, don't start a timer unnecessarily, directly schedule write
  thread.
- Some debugs.
bgpd/bgp_advertise.c
bgpd/bgp_advertise.h
bgpd/bgp_attr.c
bgpd/bgp_fsm.c
bgpd/bgp_packet.c
bgpd/bgp_packet.h
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgpd.c
bgpd/bgpd.h