[ovs-build] Passed: williamtu/ovs-travis#232 (need_wakeup_v2 - 4868ebc)

Travis CI builds at travis-ci.org
Thu Sep 5 19:07:04 UTC 2019


Build Update for williamtu/ovs-travis
-------------------------------------

Build: #232
Status: Passed

Duration: 1 hr, 7 mins, and 19 secs
Commit: 4868ebc (need_wakeup_v2)
Author: William Tu
Message: netdev-afxdp: Add need_wakeup supprt.

The patch adds support for using need_wakeup flag in AF_XDP rings.
A new option, use_need_wakeup, is added. When this option is used,
it means that OVS has to explicitly wake up the kernel RX, using poll()
syscall and wake up TX, using sendto() syscall. This feature improves
the performance by avoiding unnecessary sendto syscalls for TX.
For RX, instead of kernel always busy-spinning on fille queue, OVS wakes
up the kernel RX processing when fill queue is replenished.

The need_wakeup feature is merged into Linux kernel 5.3.0-rc1 and OVS
enables it by default. Running the feature before this version causes
xsk bind fails, please use options:use_need_wakeup=false to disable it.

For virtual interface, it's better set use_need_wakeup=false, since
the virtual device's AF_XDP xmit is synchronous: the sendto syscall
enters kernel and process the TX packet on tx queue directly.

On Intel Xeon E5-2620 v3 2.4GHz system, performance of physical port
to physical port improves from 6.1Mpps to 7.3Mpps.

Suggested-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: William Tu <u9012063 at gmail.com>
---
v2:
- address feedbacks from Ilya and Eelco
- add options:use_need_wakeup, default to true
- remove poll timeout=1sec, make poll() return immediately
- naming change: rename to xsk_rx_wakeup_if_needing
- fix indents and return value for errno

View the changeset: https://github.com/williamtu/ovs-travis/commit/4868ebca1dfa

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

--

You can unsubscribe from build emails from the williamtu/ovs-travis repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=6871381&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/20190905/02e736a9/attachment.html>


More information about the build mailing list