[ovs-build] Failed: dceara/ovn#171 (bz1827403-hairpin-explosion - 97bb1fe)

Travis CI builds at travis-ci.org
Tue Apr 28 11:04:08 UTC 2020


Build Update for dceara/ovn
-------------------------------------

Build: #171
Status: Failed

Duration: 17 mins and 2 secs
Commit: 97bb1fe (bz1827403-hairpin-explosion)
Author: Dumitru Ceara
Message: ovn-northd: Optimize flows for LB Hairpin traffic.

In order to detect that traffic was hairpinned due to logical switch load
balancers we need to match on source and destination IPs of packets (and
protocol ports potentially) in table ls_in_pre_hairpin.

For this, until now, we created 2 logical flows for each backend of a load
balancer VIP. However, in scenarios where large load balancers (i.e.,
with large numbers of backends) are applied to multiple logical
switches, this might generate logical flow count explosion.

One optimization is to generate a single logical flow per VIP that
combines all conditions generated for each backend. This reduces load on
the SB DB because of lower number of logical flows and also reduces
overall DB size because of less overhead due to other fields on the
logical_flow records.

Comparison of various performance aspects when running OVN with the NB
database attached to the bug report on a deployment with all VIFs bound
to a single node (62 load balancer VIPs with 513 load balancer
backends, applied on 106 logical switches):

Without this patch:
- SB database size: 60MB
- # of pre-hairpin logical flows: 109074
- # of logical flows: 159414
- ovn-controller max loop iteration time when processing SB DB: 8803ms
- ovn-northd max loop iteration time: 3988ms

With this patch:
- SB database size: 29MB (~50% decrease)
- # of pre-hairpin logical flows: 13250 (~88% decrease)
- # of logical flows: 63590 (~60% decrease)
- ovn-controller max loop iteration time when processing SB DB: 5585ms
- ovn-northd max loop iteration time: 1594ms

Reported-by: Aniket Bhat <anbhat at redhat.com>
Reported-at: https://bugzilla.redhat.com/1827403
Fixes: 1be8ac65bc60 ("ovn-northd: Support hairpinning for logical switch load balancing.")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>

View the changeset: https://github.com/dceara/ovn/compare/a2ccc6c0f14d^...97bb1fe64163

View the full build log and details: https://travis-ci.org/github/dceara/ovn/builds/680498045?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the dceara/ovn repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=25507942&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20200428/21ee96e3/attachment.html>


More information about the build mailing list