[ovs-build] Still Failing: yyang13/ovs#10 (master - 6399899)

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


Build Update for yyang13/ovs
-------------------------------------

Build: #10
Status: Still Failing

Duration: 57 mins and 54 secs
Commit: 6399899 (master)
Author: Yi Yang
Message: Use TPACKET_V3 to accelerate veth for userspace datapath

We can avoid high system call overhead by using TPACKET_V3
and using DPDK-like poll to receive and send packets (Note: send
still needs to call sendto to trigger final packet transmission).

>From Linux kernel 3.10 on, TPACKET_V3 has been supported,
so all the Linux kernels current OVS supports can run
TPACKET_V3 without any problem.

I can see about 50% performance improvement for veth compared to
last recvmmsg optimization if I use TPACKET_V3, it is about 2.21
Gbps, but it was 1.47 Gbps before.

TPACKET_V3 can support TSO, but its performance isn't good because
of TPACKET_V3 kernel implementation issue, TPACKET_V2 is very good
in case of TSO although it is worse than TPACKET_V3 in non-TSO case.
so it uses TPACKET_V2 in case of TSO, but uses TPACKET_V3 in non-TSO
case.

A new other_config option userspace-use-tpacket is added, and it is
set to true by default, if somebody still misses old recvmmsg &
sendmmsg, he/she can use it by setting userspace-use-tpacket to false.

A user can grep "tpacket" from ovs-vswitchd to get to know which one
is being used, TPACKET_V3, TPACKET_V2 or old  recvmmsg & sendmmsg.

Note: how much performance improvement is up to your platform, kernel
version, some platforms can see huge improvement, some ones aren't so
noticeable, but for TSO case, you can see huge improvement no matter
it is low end system or high end system or any kernel version,this
attributes to TPACKET_V2.

Signed-off-by: Yi Yang <yangyi01 at inspur.com>
Co-authored-by: William Tu <u9012063 at gmail.com>
Signed-off-by: William Tu <u9012063 at gmail.com>

View the changeset: https://github.com/yyang13/ovs/compare/fcccaa090c72...6399899b49ce

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

--

You can unsubscribe from build emails from the yyang13/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=27957055&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/20200414/535f221b/attachment.html>


More information about the build mailing list