Bug 1765678 - Creating a trunk with many subports is really slow
Summary: Creating a trunk with many subports is really slow
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: ffernand
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On: 1765640
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-25 17:38 UTC by ffernand
Modified: 2019-10-25 18:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1765640
Environment:
Last Closed: 2019-10-25 18:02:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1834637 0 None None None 2019-10-25 17:59:32 UTC
OpenStack gerrit 687971 0 None MERGED Set binding profile directly from OVNTrunkDriver (redo) 2020-01-30 10:53:51 UTC

Description ffernand 2019-10-25 17:38:34 UTC
+++ This bug was initially created as a clone of Bug #1765640 +++

Description of problem:

When running rally create and list trunk scenario [0], the create_trunk operation with 125 subports takes almost 180 seconds to complete. The reason why this happens is that we're updating the binding information for every subport [1]

If we could instead bulk update all the subports with a single call to the plugin, the operation would be much faster. On the other hand but this is not yet supported in ML2 plugin AFAIK.

[0] https://opendev.org/openstack/rally-openstack/src/tag/1.5.0/rally_openstack/scenarios/neutron/trunk.py#L39
[1] https://github.com/openstack/networking-ovn/blob/6.0.0.0rc1/networking_ovn/ml2/trunk_driver.py#L59


Version-Release number of selected component (if applicable):
OSP13 (all versions)

How reproducible:
Always

Steps to Reproduce:
Easiest way for reproducing may be by running Rally. Look for how long it takes
to create 125 subports. Test neutron_create_trunk

Actual results:


Expected results:

https://storage.bhs1.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d50/686571/7/check/networking-ovn-rally-task/d50dd5d/results/report.html.gz#/NeutronTrunks.create_and_list_trunks


Additional info:

Comment 1 ffernand 2019-10-25 18:02:44 UTC
Not worth fixing in OSP 14, since that is EOL


Note You need to log in before you can comment on or make changes to this bug.