frr
frr copied to clipboard
Bgp musings
a) Make attribute hash faster? convert jhash_1word to jhash_3words so we make less calls
b) Extend show bgp attribute-info to dump more data
c) Gather some data around how many times path_info_cmp is called and how many times we double enqueue and defer enqueuing.
Still have a crash:
ton# sh ip bgp vrf all statistics json
vtysh: error reading from bgpd: Resource temporarily unavailable (11)Warning: closing connection to bgpd because of an I/O error!
ton#
BGP[450029]: show_ip_bgp_afi_safi_statistics+0x11c 5588ad755d4c 7ffd3a7d8e00 /usr/lib/frr/bgpd (mapped at 0x5588ad5e9000)
BGP[450029]: cmd_execute_command_real+0x1be 7f53e64ad7be 7ffd3a7d8e60 /usr/local/lib/libfrr.so.0 (mapped at 0x7f53e6410000)
BGP[450029]: cmd_execute_command+0x61 7f53e64ad8b1 7ffd3a7d8ed0 /usr/local/lib/libfrr.so.0 (mapped at 0x7f53e6410000)
BGP[450029]: cmd_execute+0xd0 7f53e64adb50 7ffd3a7d8f20 /usr/local/lib/libfrr.so.0 (mapped at 0x7f53e6410000)
CI:rerun Rerun after fixing git access on CI infra
This pull request has conflicts, please resolve those before we can evaluate the pull request.