Improve "OVSFirewallDriver.process_trusted_ports"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Rodolfo Alonso |
Bug Description
When "OVSFirewallDri
port_ids = ['id%s' % i for i in range(1, 1000)]
ts1 = timeutils.
vifs = ovs.get_
ts2 = timeutils.
print("Time lapsed: %s" % str(ts2 - ts1))
ts1 = timeutils.
for i in range(1, 1000):
id = "id%s" % i
vif = ovs.get_
ts2 = timeutils.
print("Time lapsed: %s" % str(ts2 - ts1))
Retrieving 100 ports:
- Bulk operation: 0.08 secs
- Loop operation: 5.6 secs
Retrieving 300 ports:
- Bulk operation: 0.08 secs
- Loop operation: 16.44 secs
Retrieving 1000 ports:
- Bulk operation: 0.08 secs
- Loop operation: 59 secs
[1]https:/
[2]https:/
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
description: | updated |
tags: | added: loadimpact ovs-fw |
Changed in neutron: | |
importance: | Undecided → High |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
Fix proposed to branch: master /review. opendev. org/670162
Review: https:/