Very modest performance observed on macOS

Jari Tenhunen jari.tenhunen at iki.fi
Thu Apr 18 12:20:27 CEST 2019


Hi,

I experimented with WireGuard on a 13" MacBook Pro (2018, core i5) and was
surprised to see that all implementations running on macOS (WireGuard app
from App Store, Boringtun, and WireGuard-go) achieved a max throughput of
only 80-100 Mbit/s. And what is even more strange, when running these same
implementations in a Linux container on Docker (on the same machine,
against the same peer), the performance is clearly better, close to 150
Mbit/s.  In the latter case, it is probably limited by the peer HW
performance (Raspberry Pi 3B), so it could be even higher. I got these
throughput numbers by running iperf inside the tunnel.

Do you have any idea what is limiting the performance on macOS? Inefficient
utun driver?


BR,
Jari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190418/e223bc56/attachment.html>


More information about the WireGuard mailing list