[ovs-build] Errored: ovn-open-virtual-networks/ovs#4 (net-devel - b1b3b74)

Travis CI builds at travis-ci.com
Sat Mar 14 09:55:53 UTC 2020

Build Update for ovn-open-virtual-networks/ovs

Build: #4
Status: Errored

Duration: 10 mins and 57 secs
Commit: b1b3b74 (net-devel)
Author: Tonghao Zhang
Message: dpif-netdev: Expand the meter capacity using cmap

For now, ovs-vswitchd use the array of the dp_meter struct
to store meter's data, and at most, there are only 65536
(defined by MAX_METERS) meters that can be used. But in some
case, for example, in the edge gateway, we should use 200,000+,
at least, meters for IP address bandwidth limitation.
Every one IP address will use two meters for its rx and tx
path[1]. In other way, ovs-vswitchd should support meter-offload
(rte_mtr_xxx api introduced by dpdk.), but there are more than
65536 meters in the hardware, such as Mellanox ConnectX-6.

This patch use cmap to manage the meter, instead of the array.

* Insertion performance, ovs-ofctl add-meter 1000+ meters,
  the cmap takes abount 4000ms, as same as previous implementation.
* Lookup performance in datapath, we add 1000+ meter which rate is
  10G (the NIC cards are 10Gb, so netdev-datapath will not drop the
  packets.), and a flow which only forwarding the packets from p0
  to p1, with meter action[2]. On other server, the pktgen-dpdk
  will generate 64B packets to p0.
  The forwarding performance is 4,814,400 pps. Without this path,
  4,935,584 pps. There are about 1% performance loss. For addressing
  this issue, next patch add a meter cache.

$ in_port=p0,ip,ip_dst=1.1.1.x action=meter:n,output:p1
$ in_port=p1,ip,ip_src=1.1.1.x action=meter:m,output:p0

$ in_port=p0 action=meter:100,output:p1

Cc: Ben Pfaff <blp at ovn.org>
Cc: Jarno Rajahalme <jarno at ovn.org>
Cc: Ilya Maximets <i.maximets at ovn.org>
Cc: Andy Zhou <azhou at ovn.org>
Signed-off-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>

View the changeset: https://github.com/ovn-open-virtual-networks/ovs/commit/b1b3b74e4b41

View the full build log and details: https://travis-ci.com/github/ovn-open-virtual-networks/ovs/builds/153315140?utm_medium=notification&utm_source=email


You can unsubscribe from build emails from the ovn-open-virtual-networks/ovs repository going to https://travis-ci.com/account/preferences/unsubscribe?repository=13090324&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.com/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/20200314/41b5ef48/attachment-0001.html>

More information about the build mailing list