Setting binding profile for Trunk subports takes
time - for 125 subports rally CreateAndListTrunks
scenario [0] takes about 150 seconds. We need to
bump up the perfomance because large number of
subports is widly used in Kuryr deployments.
To achieve that I changed setting the binding
profile to be saved directly to the neutron DB.
Instead calling port_update I update only related
fields in OVN NorthBound DB rows. That gave performance
improvement in trunk port creation:
from 101 sec to 19.7 for 95%ile
from 99 sec to 14.9 for 50%ile
Reviewed: https:/ /review. opendev. org/676182 /git.openstack. org/cgit/ openstack/ networking- ovn/commit/ ?id=41f6d622abc 65ca4c10b08f8c0 22915df2809255
Committed: https:/
Submitter: Zuul
Branch: master
commit 41f6d622abc65ca 4c10b08f8c02291 5df2809255
Author: Maciej Józefczyk <email address hidden>
Date: Thu Sep 5 09:29:45 2019 +0000
Set binding profile directly from OVNTrunkDriver
Setting binding profile for Trunk subports takes
time - for 125 subports rally CreateAndListTrunks
scenario [0] takes about 150 seconds. We need to
bump up the perfomance because large number of
subports is widly used in Kuryr deployments.
To achieve that I changed setting the binding
profile to be saved directly to the neutron DB.
Instead calling port_update I update only related
fields in OVN NorthBound DB rows. That gave performance
improvement in trunk port creation:
from 101 sec to 19.7 for 95%ile
from 99 sec to 14.9 for 50%ile
The same thing has been done for Trunk deletion.
[0] https:/ /github. com/openstack/ rally-openstack /blob/master/ rally_openstack /scenarios/ neutron/ trunk.py# L37
Closes-Bug: #1834637
Change-Id: I020ba64618b2eb 76c627632b05758 96e88d1fcf8