Today's discussion: `struct attr` a) Create get/set accessor functions for every data item in the struct. So we can move stuff around under the covers without having to touch a million places. b) Create a union of data that maps data for specific safi/afi's that allows data space to be shared for data that should never overlap across the structure. <Updated the slide deck to reflect this> `struct bgp_node` to `struct route_node` w/ a `struct bgp_dest` ala what is done in zebra. This should reduce memory sizes by a large amount given full feeds. We have a requirement that this is tested to ensure we don't see any significant slow downs in normal day to day operations. donald On Fri, Mar 20, 2020 at 7:52 AM Donald Sharp <sharpd@cumulusnetworks.com> wrote:
I've updated the BGP architecture slides a bit to reflect what I want to talk about
https://docs.google.com/presentation/d/107fjFyrjNwn9ogP-yuygD71Kx3CQtoqqDOzM...
If you have something you want to talk about please prepare something and share it
donald
On Tue, Mar 17, 2020 at 12:30 PM Donald Sharp <sharpd@cumulusnetworks.com> wrote:
All -
We've had some recent code get into BGP that has substantially grown the `struct attr`. We need to come up with a methodology to bring this down. I am proposing we have a meeting at 10am EST( 7am Pacific ) this Friday.
If you are interested in attending this meeting please let me know and I'll add you to the meeting invite.
donald