Slow failover
Bug #2027673 reported by
Justin Lamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ovn-bgp-agent |
New
|
High
|
Unassigned |
Bug Description
When a gateway with many Routers fails over to another, the failover is really slow and takes multiple minutes (adding roughly 1 or 2 addresses per second).
This can already be observed in the sync function. The function needs 350s to run. On the Gateway are 545 addresses bound. I did not remove any addresses, routes or rules before profiling the sync. As far as I can tell the most time is spent adding the ip route to the linux kernel. Would batching it improve things?
I attached my findings. The profiling was done with cProfile.
Changed in ovn-bgp-agent: | |
importance: | Undecided → High |
To post a comment you must log in.