Slow failover

Bug #2027673 reported by Justin Lamp
6
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.

Revision history for this message
Justin Lamp (modzilla) wrote :
Changed in ovn-bgp-agent:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.