]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: increase TCP socket buffer size
authorVipin Kumar <vipin@cumulusnetworks.com>
Thu, 9 Jan 2014 00:31:22 +0000 (00:31 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 15 May 2014 18:34:53 +0000 (20:34 +0200)
commit3374bef0412ac11815779f54321cbc4bf96da909
treebba5f91b10c31e5987aa2d02d44de7d5c74c537c
parent48fc05fb7e6ee44db9f73f3194bfd4738b7f9dc1
bgpd: increase TCP socket buffer size

BGP does not respond fairly in high scale.  As the number of BGP peers
and prefixes increase, triggers like interface flaps which lead to BGP
peer flaps, cause blockage in bgp_write.

BGP does handle the cases of TCP socket buffer full by queuing a write
event back, there is no functional issue there as such. Still,
increasing the peer socket buffer size should help reduce event queueing
in BGP.

Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com>
Reviewed-by: Pradosh Mohapatra <pmohapat@cumulusnetworks.com>
Reviewed-by: Dinesh Dutt <ddutt@cumulusnetworks.com>
[DL: patch split, this is item 3.]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_network.c
bgpd/bgp_network.h