nr-wg-mtu-finder icon indicating copy to clipboard operation
nr-wg-mtu-finder copied to clipboard

Post your MTU heatmaps here!

Open nitred opened this issue 2 years ago • 9 comments

I am personally very curious how the MTUs behave across different setups. So if possible please share your heatmaps and a generic description (without any sensitive info) of your WG Peer and WG Server setups.

Do not post any info you are not comfortable sharing. Just leave those details blank. Feel free to add additional info if it helps making sense of your heatmap. I'll start off.

SO Post describing how to attach files to Github issues

WG Server

  • Machine: Digitalocean $5 droplet
  • Location: Frankfurt
  • Ubuntu 20.04
  • Max bandwidth: Unknown

WG Peer

  • Machine: Local machine
  • Location: Germany
  • Ubuntu 20.04
  • Max bandwidth: 1000Mbps

Heatmap

  • Heatmap.png
  • I have no explanation for why the values are what they are

nitred avatar Jun 12 '22 09:06 nitred

WG Server

  • Machine: Mac Mini (i7-2635QM)
  • Location: California
  • Ubuntu 20.04
  • Max bandwidth: 1000Mbps (symmetrical) WG Peer
  • Machine: Parallels VM on M1 Max MacBook Pro
  • Location: Penang, Malaysia
  • Max bandwidth: Unknown, but local speedtests look like 100Mbps up/50 Mbps with some burst allowance
  • Uplink is PPPoE, Mikrotik Hex at the edge reports 1480 MTU for the interface Heatmap
  • wg_mtu_finder_peer_20220612T170012
  • The 5 second iperf session time is only 25x RTT, so I this data seems pretty noisy. I'm going to repeat this test with a longer iperf session.
  • The peer machine is also connected via WiFi, I'll use a wired link for the retest.

zandr avatar Jun 12 '22 12:06 zandr

As above, except the peer was connected over gigabit Ethernet, and the iperf test duration was increased to 15s. wg_mtu_finder_peer_20220612T221737

zandr avatar Jun 12 '22 23:06 zandr

image

Thanks for you tool. I needed to adapt it in order to bind to a specific interface (vpn tunneling).

Data seems hard to analyze...

Kitof avatar Oct 10 '22 11:10 Kitof

Data seems hard to analyze...

That's a lot of columns and rows to work with, you could reduce the the MTU ranges for the peer, seems like anything above 1435 is not gonna work so could have that as the max, or you could modify the figsize to something bigger like 24, 24 instead of 12, 12 so the labels are more visible:

https://github.com/nitred/nr-wg-mtu-finder/blob/07a589b2704d7c3b37bb9303d06c0cd9d6c0b22b/nr_wg_mtu_finder/plot.py#L7

ahasbini avatar Oct 10 '22 17:10 ahasbini

Something like that ?

image

Kitof avatar Oct 10 '22 17:10 Kitof

Test with peer connected to cellular wg_mtu_finder_peer_20230701T022020 Test with peer connected to wifi via ethernet wg_mtu_finder_peer_20230630T232322

cameronaw13 avatar Jul 01 '23 20:07 cameronaw13

WG Server

Machine: Racknerd Black Friday
Location: Atlanta
Ubuntu 20.04
Max bandwidth: 1000Mbps

WG Peer

Machine: Vultr $24
Location: Atlanta
Ubuntu 22.04
Max bandwidth: 1000Mbps

Heatmap: wg_mtu_finder_peer_20231202T172406

Cognitohazard avatar Dec 02 '23 23:12 Cognitohazard

WG Server

  • Contabo's Reseller
  • Ryzen 7900 VPS, 32gb ram
  • 1Gbit port (Shared)

WG Peer

  • OneAsiaHost (SGKVM-2048)
  • Intel Xeon E5-2680 v2 (1 vcore)
  • 10Gbit port (Shared)

This test burns a lot of bandwidth and what I mean by a lot is more than 400gb if you do by step 10.

wg_mtu_finder_peer_20231231T152332

Lu5ck avatar Dec 31 '23 22:12 Lu5ck

WG server: Czech Republic, virtual private server, Alpine Linux v3.19 WG client: Czech Republic, apartment with 150 Mbps connection, Alpine Linux v3.19

wg_mtu_finder_peer_20231228T182048

ep69 avatar Jan 02 '24 08:01 ep69