Set binding profile directly from OVNTrunkDriver (redo)
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 35.6 for 95%ile
from 99 sec to 34.2 for 50%ile
The same thing has been done for Trunk deletion.
This reverts commit 2e0832f7b8bfc31780b657aa0abda4e8b244fbbd
The ovs-vswitchd and ovsdb-server services were missing in the rally
definition. Usually the jobs inherts from our base class which enables
them but rally has a different job parent.
Change-Id: I6b659cbede25f271fa3b6a1c9e72019694ab6608
Closes-Bug: #1834637
Related-Bug: #1845479
Co-authored-by: Maciej Józefczyk <email address hidden>
Co-authored-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 7bdf2eb824083b6785d78dd67b3effe071e3f7a4)
(cherry picked from commit 202e804c64c9c6d7160496987a4b13bd9f9ee6b6)
(cherry picked from commit 7e725331dbaf5845d6a45fa1cf8035d6a61ac744)
Reviewed: https:/ /review. opendev. org/687919 /git.openstack. org/cgit/ openstack/ networking- ovn/commit/ ?id=1e20b9bf866 e3001ad1cd71186 caada647c54929
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 1e20b9bf866e300 1ad1cd71186caad a647c54929
Author: Flavio Fernandes <email address hidden>
Date: Thu Sep 5 09:29:45 2019 +0000
Set binding profile directly from OVNTrunkDriver (redo)
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 35.6 for 95%ile
from 99 sec to 34.2 for 50%ile
The same thing has been done for Trunk deletion.
This reverts commit 2e0832f7b8bfc31 780b657aa0abda4 e8b244fbbd
[0] https:/ /github. com/openstack/ rally-openstack /blob/master/ rally_openstack /scenarios/ neutron/ trunk.py# L37
---
Also, merge squashed:
Enable ovs-vswitchd and ovsdb-server for rally
The ovs-vswitchd and ovsdb-server services were missing in the rally
definition. Usually the jobs inherts from our base class which enables
them but rally has a different job parent.
Change-Id: I6b659cbede25f2 71fa3b6a1c9e720 19694ab6608 785d78dd67b3eff e071e3f7a4) 7160496987a4b13 bd9f9ee6b6) 5d6a45fa1cf8035 d6a61ac744)
Closes-Bug: #1834637
Related-Bug: #1845479
Co-authored-by: Maciej Józefczyk <email address hidden>
Co-authored-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 7bdf2eb824083b6
(cherry picked from commit 202e804c64c9c6d
(cherry picked from commit 7e725331dbaf584