Development discussion of WireGuard
 help / color / mirror / Atom feed
* Performance of Wireguard on Infiniband 40G
@ 2017-05-13  7:37 Baptiste Jonglez
  2017-05-13 22:52 ` Jason A. Donenfeld
  2017-05-13 23:45 ` Jason A. Donenfeld
  0 siblings, 2 replies; 6+ messages in thread
From: Baptiste Jonglez @ 2017-05-13  7:37 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

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.

Note that infiniband has a MTU of 65520 bytes, but Wireguard still selects
a MTU of 1420 bytes for its interface.
After raising the MTU of the wireguard interface to 65450, performance
went up to 7.6 Gbit/s (unidirectional iperf).

Using the Infiniband network directly, iperf's performance is 21.7 Gbit/s
(iperf maxes out the CPU at the receiver, even when using 8 threads).

Hardware used:

- Xeon E5520 @2.27GHz (2 CPUs, 4 cores each)
- Mellanox ConnectX IB 4X QDR MT26428

Versions used:

- Debian jessie
- Linux 3.16.43-2
- Wireguard 0.0.20170421-2
- iperf 2.0.5
- Mellanox ConnectX InfiniBand driver v2.2-1

Baptiste

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-14 10:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-13  7:37 Performance of Wireguard on Infiniband 40G Baptiste Jonglez
2017-05-13 22:52 ` Jason A. Donenfeld
2017-05-14  9:55   ` Baptiste Jonglez
2017-05-14 10:48     ` Greg KH
2017-05-14 10:49       ` Jason A. Donenfeld
2017-05-13 23:45 ` Jason A. Donenfeld

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).