Development discussion of WireGuard
 help / color / mirror / Atom feed
* Performance on 10G / 1500 MTU link
@ 2022-03-14 17:16 Luki Goldschmidt
  0 siblings, 0 replies; only message in thread
From: Luki Goldschmidt @ 2022-03-14 17:16 UTC (permalink / raw)
  To: wireguard

Hi,

Has anyone succeeded in saturating a 10Gb link with a MTU 1500 using
WireGuard?

On a LAN with 10Gb or 40Gb links, I'm getting 5-6 Gbps throughput with
WireGuard (tunnel MTU 1420). Without WireGuard, I have no problem
pushing 9.8 and 35 Gbps, respectively. When I increase the tunnel MTU to
8920, I can easily push 9.3 Gbps through Wireguard.

I'm testing testing with iperf using a single or multiple parallel
transfers. I tried kernels 5.14 and 5.15, and a range of CPUs like Intel
E5-2680v4, E3-1270v6, Xeon Silver 4114. The bottleneck seems to linked
to packets per second.

I can't use jumbo frames over the WAN connection so MTU 1500 (link) will
have to be it, but I'd love to get the most out of the 10 Gbps
connection. The WAN link latency is only ~1 ms so it ought to be doable.

Any tuning tips are appreciated.

Luki


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-21 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 17:16 Performance on 10G / 1500 MTU link Luki Goldschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).