[prev in list] [next in list] [prev in thread] [next in thread]
List: wireguard
Subject: Very modest performance observed on macOS
From: Jari Tenhunen <jari.tenhunen () iki ! fi>
Date: 2019-04-18 10:20:14
Message-ID: CAFC8xAL5U0enO9+-rKGz4xhXnNLsr1rkQ_Z+fFSWMp=4=gtNGA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>Do you have any idea what \
is limiting the performance on macOS? Inefficient utun \
driver?</div><div><br></div><div><br></div><div>BR,</div><div>Jari</div></div></div>
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic