Comment 20 for bug 1845479

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-ovn (stable/rocky)

Reviewed: https://review.opendev.org/687971
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=62eb828186f9248e99fa12cc9c0c8397e1520514
Submitter: Zuul
Branch: stable/rocky

commit 62eb828186f9248e99fa12cc9c0c8397e1520514
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 2e0832f7b8bfc31780b657aa0abda4e8b244fbbd

    [0] https://github.com/openstack/rally-openstack/blob/master/rally_openstack/scenarios/neutron/trunk.py#L37

    Change-Id: I6b659cbede25f271fa3b6a1c9e72019694ab6608
    Closes-Bug: #1834637
    Related-Bug: #1845479
    Co-authored-by: Maciej Józefczyk <email address hidden>
    (cherry picked from commit c6dee38266b662a2bb90c95af891045c731daf41)