Re: Performance of Wireguard on Infiniband 40G

2017-05-13 Thread Jason A. Donenfeld
Hey again, On Sat, May 13, 2017 at 9:37 AM, Baptiste Jonglez wrote: > - Debian jessie > - Linux 3.16.43-2 One small and unfortunate thought just occurred to me: the backporting to really old kernels I'm pretty sure is way less efficient than newer kernels on the RX,

Re: TX counters not updated on wireguard interface

2017-05-13 Thread Jason A. Donenfeld
Okay I figured it out. Upstream 039f50629b7f860f36644ed1f34b27da9aa62f43 only came in 4.5, so explicit calls to iptunnel_xmit_stats is required. I'll play with this and see if I can fix it. Jason ___ WireGuard mailing list WireGuard@lists.zx2c4.com

Re: TX counters not updated on wireguard interface

2017-05-13 Thread Jason A. Donenfeld
Hey Baptiste, I'll try to reproduce this shortly. I did make a change to some compat code [1] for kernels older than 3.12 to fix a similar bug. But Jesse has a newer kernel than that, I think? I'll check into it and try to fix. Thanks for reporting. Jason [1]

Re: Performance of Wireguard on Infiniband 40G

2017-05-13 Thread Jason A. Donenfeld
Hey Baptiste, Awesome test! Thanks for reporting the results. On Sat, May 13, 2017 at 9:37 AM, Baptiste Jonglez wrote: > Using iperf (TCP mode) over the wireguard interface, performance was > around 1.6 Gbit/s. In bidirectional mode (iperf -d), performance was >

Performance of Wireguard on Infiniband 40G

2017-05-13 Thread Baptiste Jonglez
Hi, Just for information, I did a quick test of Wireguard over a 40G Infiniband network, between two machines with a Xeon E5520. Using iperf (TCP mode) over the wireguard interface, performance was around 1.6 Gbit/s. In bidirectional mode (iperf -d), performance was 700 Mbit/s + 800 Mbit/s.

Rebasing Wireguard's master branch

2017-05-13 Thread Baptiste Jonglez
Hi Jason, Could you please stop rebasing the master branch of the git repository? It's really annoying (and possibly confusing) to obtain merge conflicts while simply pulling the latest changes. If you want to rebase, please use feature branches or something similar. Thanks, Baptiste

TX counters not updated on wireguard interface

2017-05-13 Thread Baptiste Jonglez
Hi, While trying 0.0.20170421-2 on Debian jessie, I noticed that the TX counters are not updated: $ ip -s link show 7: wg: mtu 1420 qdisc noqueue state UNKNOWN mode DEFAULT group default link/none RX: bytes packets errors dropped overrun mcast

Installation instructions for Debian

2017-05-13 Thread Baptiste Jonglez
Hi Jason, Could you update the installation instructions for Debian [1]? Based on the discussion from a few months ago, and given that Wireguard now supports Jessie's 3.16 kernel, these instructions should be added: For Debian jessie or stretch: # echo "deb http://deb.debian.org/debian/