Performance: L2 agent takes too much time to refresh sg rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
This issue is introducing a performance problem for the L2 agent including LinuxBridge and OVS agent in Compute node when there are lots of networks and instances in this Compute node (eg. 500 instances)
The performance problem reflect in two aspects:
1. When LinuxBridge agent service starts up(this seems only happened in LinuxBridge agent not for the OVS agent), I found there were two methods take too much time:
1.1 get_interface_
1.2 prepare_
2. When devices' sg rules are changed, L2 agent should refresh the firewalls.
2.1 refresh_firewall() this method will call "modify_rules" to make the rules predicable, but this method also takes too much time.
It will be very benefit for the large scales of networks if this performance problem can be fix or optimize.
description: | updated |
description: | updated |
Changed in neutron: | |
assignee: | nobody → Brad Behle (behle) |
tags: | added: neutron-proactive-backport-potential |
Changed in neutron: | |
assignee: | venkata anil (anil-venkata) → Brian Haley (brian-haley) |
Changed in neutron: | |
assignee: | Brian Haley (brian-haley) → Slawek Kaplonski (slaweq) |
there's a patch abandoned to improve _modify_rules() https:/ /review. openstack. org/#/c/ 138793/ I think that would partially fix the issue.