[ovs-build] Broken: yyang13/ovs#7 (master - 60d0d21)
builds at travis-ci.org
Wed Mar 18 08:04:53 UTC 2020
Build Update for yyang13/ovs
Duration: 20 mins and 9 secs
Commit: 60d0d21 (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.
After is_pmd is set to true, performance can be improved much
more, it is about 180% performance improvement.
TPACKET_V3 can support TSO, but its performance isn't good because
of TPACKET_V3 kernel implementation issue, so it falls back to
recvmmsg in case userspace-tso-enable is set to true, but its
performance is better than recvmmsg in case userspace-tso-enable is
set to false, so just use TPACKET_V3 in that case.
Note: how much performance improvement is up to your platform,
some platforms can see huge improvement, some ones aren't so
noticeable, but if is_pmd is set to true, you can see big
performance improvement, the prerequisite is your tested veth
interfaces should be attached to different pmd threads.
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/ef32a1a334b1...60d0d2136732
View the full build log and details: https://travis-ci.org/github/yyang13/ovs/builds/663825168?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...
More information about the build