oxidecomputer / maghemite

A routing stack written in Rust.
Mozilla Public License 2.0
26 stars 2 forks source link

mg-lower: consider bulk bestpath synchronization to forwarding plane #348

Open rcgoodfellow opened 3 weeks ago

rcgoodfellow commented 3 weeks ago

Currently, when we get a new set of routes, say from a BGP announcement, we compute the bestpath for each distinct destination prefix in the set and synchronize bestpath decisions to the ASIC one prefix at a time. This can be a bit slow for large announcements. For example, the lag is noticeable on a 2k NLRI BGP announcement.