Replies: 3 comments 5 replies
-
After looking around this repo a bit I found this could be a potentially very interesteing experiment to determine if Test criteria
Baseline tests
Public IPv4[ 5] 0.00-1.00 sec 264 MBytes 2.21 Gbits/sec 36157 63.6 KBytes [ ID] Interval Transfer Bitrate Retr Public IPv6[ 5] 0.00-1.00 sec 265 MBytes 2.22 Gbits/sec 32990 142 KBytes [ ID] Interval Transfer Bitrate Retr Wireguard
IPv4 over IPv4[ 5] 0.00-1.00 sec 98.7 MBytes 828 Mbits/sec 38 1.10 MBytes [ ID] Interval Transfer Bitrate Retr IPv6 over IPv6[ 5] 0.00-1.00 sec 102 MBytes 852 Mbits/sec 55 1.10 MBytes [ ID] Interval Transfer Bitrate Retr IPv4 over IPv6[ 5] 0.00-1.00 sec 106 MBytes 891 Mbits/sec 94 1.31 MBytes [ ID] Interval Transfer Bitrate Retr IPv6 over IPv6[ 5] 0.00-1.00 sec 100 MBytes 839 Mbits/sec 33 1.06 MBytes [ ID] Interval Transfer Bitrate Retr edgevpn
IPv4[ 5] 0.00-1.00 sec 3.99 MBytes 33.4 Mbits/sec 9 26.6 KBytes [ ID] Interval Transfer Bitrate Retr IPv6[ 5] 0.00-1.00 sec 3.93 MBytes 33.0 Mbits/sec 18 44.9 KBytes [ ID] Interval Transfer Bitrate Retr Conclusions
These results are extremely surprising from my understanding of how edgevpn and libp2p work, so I would be very interested to see if anybody can replicate the tests in a different environment and confirm they get the same approximate results. |
Beta Was this translation helpful? Give feedback.
-
At this suggestion of @bmullan via email, I've also repeated this test using tailscale (via headscale) as that runs using user-space Wireguard rather than kernel space. I had already spun the instances down so these are two new droplets with the same split VPC config. The baseline tests were repeated to ensure the environment was the same and they returned near identical results. Ping results Tailscale (user-space Wireguard)
IPv4[ ID] Interval Transfer Bitrate Retr Cwnd [ ID] Interval Transfer Bitrate Retr IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ ID] Interval Transfer Bitrate Retr edgevpn take 2Given the result above is highly unexpected I decided to run iperf3 again over edgevpn using the same settings
IPv4[ ID] Interval Transfer Bitrate Retr Cwnd [ ID] Interval Transfer Bitrate Retr IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ ID] Interval Transfer Bitrate Retr These results very closely mirror the original results only with a greater discrepancy between IPv4 and IPv6 this time for reasons unknown. An additional observation not commented on in the original test is the startup time on IPv6. I assumed initially it was some quirk of DHT that it took so long to establish the peering with the other node, however again it took a lot longer to establish on IPv6 addresses than IPv4. I don't know what this means, but it could considered interesting. ConclusionsIt would appear either the previous test was running in user-space despite me believing it was kernel-space, tailscale magic is somehow making it quicker with some real voodoo, or the droplets are on less loaded hosts this time which is something Wireguard can take advantage of whilst edgevpn/libp2p still struggles. I think my ultimate takeaway from this is that I want a hybrid network, edgevpn to establish connectivity for control plane to control plane probably using static IPv6 based on machine-id or something, and then either to run HA headscale and then use tailscale between nodes, or to use some other Wireguard VPN solution (e.g. calico) for service to service communication. All in all, this has been a very interesting experiment that I'm glad I took the time to run it and thanks again to @bmullan for pointing out that use-space Wireguard may have different results (it did, just not what we expected). |
Beta Was this translation helpful? Give feedback.
-
I really wasn't happy with the previous two results, they left too much unanswered as to why throughput was so poor, so Unless stated otherwise the critera for these tests was the same as in previous tests on digitalocean droplets. Again these tests were run in unidirectional mode due to being a symmetric connection. Test overview
Standard 1500MTUBaseline
IPv4[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 114 MBytes 954 Mbits/sec 0 351 KBytes [ 5] 1.00-2.00 sec 113 MBytes 945 Mbits/sec 0 351 KBytes [ 5] 2.00-3.00 sec 112 MBytes 938 Mbits/sec 0 351 KBytes [ 5] 3.00-4.00 sec 113 MBytes 945 Mbits/sec 0 351 KBytes [ 5] 4.00-5.00 sec 112 MBytes 938 Mbits/sec 0 351 KBytes [ 5] 5.00-6.00 sec 113 MBytes 945 Mbits/sec 0 351 KBytes [ 5] 6.00-7.00 sec 112 MBytes 938 Mbits/sec 0 351 KBytes [ 5] 7.00-8.00 sec 113 MBytes 945 Mbits/sec 0 351 KBytes [ 5] 8.00-9.00 sec 112 MBytes 938 Mbits/sec 0 351 KBytes [ 5] 9.00-10.00 sec 113 MBytes 945 Mbits/sec 0 351 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.10 GBytes 943 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec receiver IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 113 MBytes 945 Mbits/sec 0 383 KBytes [ 5] 1.00-2.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes [ 5] 2.00-3.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes [ 5] 3.00-4.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes [ 5] 4.00-5.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes [ 5] 5.00-6.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes [ 5] 6.00-7.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes [ 5] 7.00-8.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes [ 5] 8.00-9.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes [ 5] 9.00-10.00 sec 111 MBytes 928 Mbits/sec 0 404 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.08 GBytes 930 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.08 GBytes 928 Mbits/sec receiver WireguardKernel mode
IPv4 over IPv4[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 108 MBytes 909 Mbits/sec 0 310 KBytes [ 5] 1.00-2.00 sec 107 MBytes 901 Mbits/sec 0 310 KBytes [ 5] 2.00-3.00 sec 107 MBytes 899 Mbits/sec 0 310 KBytes [ 5] 3.00-4.00 sec 107 MBytes 902 Mbits/sec 0 310 KBytes [ 5] 4.00-5.00 sec 107 MBytes 901 Mbits/sec 0 310 KBytes [ 5] 5.00-6.00 sec 107 MBytes 902 Mbits/sec 0 310 KBytes [ 5] 6.00-7.00 sec 108 MBytes 903 Mbits/sec 0 345 KBytes [ 5] 7.00-8.00 sec 107 MBytes 900 Mbits/sec 0 345 KBytes [ 5] 8.00-9.00 sec 107 MBytes 900 Mbits/sec 0 345 KBytes [ 5] 9.00-10.00 sec 108 MBytes 904 Mbits/sec 0 345 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.05 GBytes 902 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.05 GBytes 901 Mbits/sec receiver IPv6 over IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 107 MBytes 895 Mbits/sec 0 337 KBytes [ 5] 1.00-2.00 sec 106 MBytes 887 Mbits/sec 0 351 KBytes [ 5] 2.00-3.00 sec 106 MBytes 891 Mbits/sec 0 351 KBytes [ 5] 3.00-4.00 sec 106 MBytes 888 Mbits/sec 0 351 KBytes [ 5] 4.00-5.00 sec 106 MBytes 888 Mbits/sec 0 351 KBytes [ 5] 5.00-6.00 sec 106 MBytes 888 Mbits/sec 0 351 KBytes [ 5] 6.00-7.00 sec 106 MBytes 888 Mbits/sec 0 351 KBytes [ 5] 7.00-8.00 sec 106 MBytes 888 Mbits/sec 0 351 KBytes [ 5] 8.00-9.00 sec 106 MBytes 888 Mbits/sec 0 351 KBytes [ 5] 9.00-10.00 sec 106 MBytes 888 Mbits/sec 0 351 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.03 GBytes 889 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.03 GBytes 888 Mbits/sec receiver IPv4 over IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 107 MBytes 896 Mbits/sec 0 314 KBytes [ 5] 1.00-2.00 sec 106 MBytes 890 Mbits/sec 0 327 KBytes [ 5] 2.00-3.00 sec 106 MBytes 889 Mbits/sec 0 327 KBytes [ 5] 3.00-4.00 sec 106 MBytes 888 Mbits/sec 0 327 KBytes [ 5] 4.00-5.00 sec 106 MBytes 892 Mbits/sec 0 341 KBytes [ 5] 5.00-6.00 sec 106 MBytes 888 Mbits/sec 0 370 KBytes [ 5] 6.00-7.00 sec 106 MBytes 890 Mbits/sec 0 370 KBytes [ 5] 7.00-8.00 sec 106 MBytes 890 Mbits/sec 0 370 KBytes [ 5] 8.00-9.00 sec 106 MBytes 887 Mbits/sec 0 370 KBytes [ 5] 9.00-10.00 sec 106 MBytes 889 Mbits/sec 0 370 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.04 GBytes 890 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.04 GBytes 889 Mbits/sec receiver IPv6 over IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 105 MBytes 880 Mbits/sec 0 337 KBytes [ 5] 1.00-2.00 sec 104 MBytes 876 Mbits/sec 0 337 KBytes [ 5] 2.00-3.00 sec 105 MBytes 878 Mbits/sec 0 337 KBytes [ 5] 3.00-4.00 sec 104 MBytes 876 Mbits/sec 0 351 KBytes [ 5] 4.00-5.00 sec 105 MBytes 877 Mbits/sec 0 351 KBytes [ 5] 5.00-6.00 sec 105 MBytes 877 Mbits/sec 0 351 KBytes [ 5] 6.00-7.00 sec 105 MBytes 877 Mbits/sec 0 351 KBytes [ 5] 7.00-8.00 sec 104 MBytes 874 Mbits/sec 0 384 KBytes [ 5] 8.00-9.00 sec 105 MBytes 877 Mbits/sec 0 384 KBytes [ 5] 9.00-10.00 sec 105 MBytes 877 Mbits/sec 0 384 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.02 GBytes 877 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.02 GBytes 876 Mbits/sec receiver User mode (tailscale)
IPv4[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 109 MBytes 912 Mbits/sec 0 3.02 MBytes [ 5] 1.00-2.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes [ 5] 2.00-3.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes [ 5] 3.00-4.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes [ 5] 4.00-5.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes [ 5] 5.00-6.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes [ 5] 6.00-7.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes [ 5] 7.00-8.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes [ 5] 8.00-9.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes [ 5] 9.00-10.00 sec 106 MBytes 891 Mbits/sec 0 3.02 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.04 GBytes 893 Mbits/sec 0 sender [ 5] 0.00-10.03 sec 1.04 GBytes 891 Mbits/sec receiver IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 107 MBytes 898 Mbits/sec 0 3.15 MBytes [ 5] 1.00-2.00 sec 105 MBytes 881 Mbits/sec 0 3.15 MBytes [ 5] 2.00-3.00 sec 104 MBytes 870 Mbits/sec 0 3.15 MBytes [ 5] 3.00-4.00 sec 105 MBytes 881 Mbits/sec 0 3.15 MBytes [ 5] 4.00-5.00 sec 105 MBytes 881 Mbits/sec 0 3.15 MBytes [ 5] 5.00-6.00 sec 104 MBytes 870 Mbits/sec 0 3.15 MBytes [ 5] 6.00-7.00 sec 105 MBytes 881 Mbits/sec 0 3.15 MBytes [ 5] 7.00-8.00 sec 104 MBytes 870 Mbits/sec 0 3.15 MBytes [ 5] 8.00-9.00 sec 105 MBytes 881 Mbits/sec 0 3.15 MBytes [ 5] 9.00-10.00 sec 105 MBytes 881 Mbits/sec 0 3.15 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.02 GBytes 879 Mbits/sec 0 sender [ 5] 0.00-10.03 sec 1.02 GBytes 876 Mbits/sec receiver edgevpn
For these tests the switch was reconfigured to mirror traffic to a second NIC on my desktop, this was done to confirm
IPv4 1200/1420[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 12.2 MBytes 103 Mbits/sec 132 30.3 KBytes [ 5] 1.00-2.00 sec 12.9 MBytes 108 Mbits/sec 59 23.5 KBytes [ 5] 2.00-3.00 sec 13.2 MBytes 111 Mbits/sec 76 32.5 KBytes [ 5] 3.00-4.00 sec 12.0 MBytes 100 Mbits/sec 132 13.5 KBytes [ 5] 4.00-5.00 sec 10.3 MBytes 86.4 Mbits/sec 48 16.8 KBytes [ 5] 5.00-6.00 sec 12.7 MBytes 106 Mbits/sec 58 43.7 KBytes [ 5] 6.00-7.00 sec 11.7 MBytes 98.2 Mbits/sec 111 17.9 KBytes [ 5] 7.00-8.00 sec 12.4 MBytes 104 Mbits/sec 61 42.6 KBytes [ 5] 8.00-9.00 sec 12.4 MBytes 104 Mbits/sec 64 38.1 KBytes [ 5] 9.00-10.00 sec 12.4 MBytes 104 Mbits/sec 53 30.3 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 122 MBytes 102 Mbits/sec 794 sender [ 5] 0.00-10.00 sec 122 MBytes 102 Mbits/sec receiver IPv4 1280/1420[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 14.3 MBytes 120 Mbits/sec 80 42.0 KBytes [ 5] 1.00-2.00 sec 14.7 MBytes 123 Mbits/sec 54 21.6 KBytes [ 5] 2.00-3.00 sec 14.7 MBytes 123 Mbits/sec 64 49.2 KBytes [ 5] 3.00-4.00 sec 14.7 MBytes 123 Mbits/sec 52 25.2 KBytes [ 5] 4.00-5.00 sec 14.8 MBytes 124 Mbits/sec 57 50.4 KBytes [ 5] 5.00-6.00 sec 14.2 MBytes 119 Mbits/sec 95 34.8 KBytes [ 5] 6.00-7.00 sec 14.4 MBytes 121 Mbits/sec 77 33.6 KBytes [ 5] 7.00-8.00 sec 14.4 MBytes 121 Mbits/sec 61 45.6 KBytes [ 5] 8.00-9.00 sec 14.3 MBytes 120 Mbits/sec 72 31.2 KBytes [ 5] 9.00-10.00 sec 14.8 MBytes 124 Mbits/sec 52 34.8 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 145 MBytes 122 Mbits/sec 664 sender [ 5] 0.00-10.00 sec 145 MBytes 122 Mbits/sec receiver IPv6 1280/1420[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 11.3 MBytes 95.0 Mbits/sec 131 60.2 KBytes [ 5] 1.00-2.00 sec 11.4 MBytes 95.6 Mbits/sec 70 41.3 KBytes [ 5] 2.00-3.00 sec 11.6 MBytes 97.0 Mbits/sec 45 72.0 KBytes [ 5] 3.00-4.00 sec 12.0 MBytes 100 Mbits/sec 17 88.5 KBytes [ 5] 4.00-5.00 sec 11.9 MBytes 99.9 Mbits/sec 11 74.3 KBytes [ 5] 5.00-6.00 sec 11.5 MBytes 96.8 Mbits/sec 29 57.8 KBytes [ 5] 6.00-7.00 sec 11.7 MBytes 97.8 Mbits/sec 53 69.6 KBytes [ 5] 7.00-8.00 sec 11.7 MBytes 98.3 Mbits/sec 19 90.8 KBytes [ 5] 8.00-9.00 sec 11.5 MBytes 96.7 Mbits/sec 82 37.8 KBytes [ 5] 9.00-10.00 sec 11.4 MBytes 95.3 Mbits/sec 43 49.5 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 116 MBytes 97.3 Mbits/sec 500 sender [ 5] 0.00-10.00 sec 116 MBytes 97.0 Mbits/sec receiver IPv4 1350/1420[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 12.6 MBytes 106 Mbits/sec 107 15.2 KBytes [ 5] 1.00-2.00 sec 12.2 MBytes 102 Mbits/sec 72 12.7 KBytes [ 5] 2.00-3.00 sec 12.4 MBytes 104 Mbits/sec 89 19.0 KBytes [ 5] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 84 15.2 KBytes [ 5] 4.00-5.00 sec 12.2 MBytes 102 Mbits/sec 84 34.2 KBytes [ 5] 5.00-6.00 sec 12.2 MBytes 102 Mbits/sec 77 31.7 KBytes [ 5] 6.00-7.00 sec 12.6 MBytes 106 Mbits/sec 104 25.4 KBytes [ 5] 7.00-8.00 sec 12.6 MBytes 105 Mbits/sec 101 20.3 KBytes [ 5] 8.00-9.00 sec 12.4 MBytes 104 Mbits/sec 124 22.8 KBytes [ 5] 9.00-10.00 sec 11.6 MBytes 97.7 Mbits/sec 100 27.9 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 123 MBytes 103 Mbits/sec 942 sender [ 5] 0.00-10.01 sec 123 MBytes 103 Mbits/sec receiver IPv6 1350/1420[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 11.7 MBytes 97.8 Mbits/sec 215 37.4 KBytes [ 5] 1.00-2.00 sec 11.6 MBytes 97.5 Mbits/sec 55 44.9 KBytes [ 5] 2.00-3.00 sec 11.4 MBytes 95.9 Mbits/sec 68 21.2 KBytes [ 5] 3.00-4.00 sec 11.4 MBytes 95.4 Mbits/sec 77 31.2 KBytes [ 5] 4.00-5.00 sec 11.4 MBytes 95.4 Mbits/sec 48 22.5 KBytes [ 5] 5.00-6.00 sec 11.4 MBytes 95.4 Mbits/sec 67 23.7 KBytes [ 5] 6.00-7.00 sec 11.6 MBytes 97.5 Mbits/sec 56 52.4 KBytes [ 5] 7.00-8.00 sec 11.4 MBytes 95.4 Mbits/sec 60 43.7 KBytes [ 5] 8.00-9.00 sec 11.6 MBytes 97.5 Mbits/sec 103 33.7 KBytes [ 5] 9.00-10.00 sec 11.8 MBytes 99.1 Mbits/sec 48 32.4 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 115 MBytes 96.7 Mbits/sec 797 sender [ 5] 0.00-10.01 sec 115 MBytes 96.5 Mbits/sec receiver IPv4 1500/1500[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 11.8 MBytes 98.6 Mbits/sec 79 21.2 KBytes [ 5] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec 36 17.0 KBytes [ 5] 2.00-3.00 sec 11.7 MBytes 98.5 Mbits/sec 45 22.6 KBytes [ 5] 3.00-4.00 sec 11.9 MBytes 100 Mbits/sec 38 15.6 KBytes [ 5] 4.00-5.00 sec 11.4 MBytes 95.9 Mbits/sec 51 17.0 KBytes [ 5] 5.00-6.00 sec 11.0 MBytes 92.3 Mbits/sec 61 15.6 KBytes [ 5] 6.00-7.00 sec 12.1 MBytes 101 Mbits/sec 44 35.4 KBytes [ 5] 7.00-8.00 sec 11.3 MBytes 94.9 Mbits/sec 46 28.3 KBytes [ 5] 8.00-9.00 sec 11.7 MBytes 98.5 Mbits/sec 57 21.2 KBytes [ 5] 9.00-10.00 sec 11.3 MBytes 94.9 Mbits/sec 45 32.5 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 116 MBytes 96.9 Mbits/sec 502 sender [ 5] 0.00-10.01 sec 115 MBytes 96.7 Mbits/sec receiver IPv6 1500/1500[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 15.8 MBytes 133 Mbits/sec 111 65.5 KBytes [ 5] 1.00-2.00 sec 15.3 MBytes 128 Mbits/sec 68 29.3 KBytes [ 5] 2.00-3.00 sec 14.8 MBytes 124 Mbits/sec 49 57.2 KBytes [ 5] 3.00-4.00 sec 14.9 MBytes 125 Mbits/sec 113 16.7 KBytes [ 5] 4.00-5.00 sec 14.2 MBytes 119 Mbits/sec 70 32.1 KBytes [ 5] 5.00-6.00 sec 13.5 MBytes 114 Mbits/sec 89 8.37 KBytes [ 5] 6.00-7.00 sec 13.1 MBytes 110 Mbits/sec 70 34.9 KBytes [ 5] 7.00-8.00 sec 15.3 MBytes 129 Mbits/sec 63 20.9 KBytes [ 5] 8.00-9.00 sec 14.3 MBytes 120 Mbits/sec 102 30.7 KBytes [ 5] 9.00-10.00 sec 15.5 MBytes 130 Mbits/sec 49 64.1 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 147 MBytes 123 Mbits/sec 784 sender [ 5] 0.00-10.01 sec 146 MBytes 123 Mbits/sec receiver Jumbo framesUtilising the maximum MTU on my network of 9000 produced the following results.
Baseline
IPv4[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 119 MBytes 998 Mbits/sec 0 367 KBytes [ 5] 1.00-2.00 sec 118 MBytes 991 Mbits/sec 0 367 KBytes [ 5] 2.00-3.00 sec 118 MBytes 990 Mbits/sec 0 367 KBytes [ 5] 3.00-4.00 sec 118 MBytes 990 Mbits/sec 0 367 KBytes [ 5] 4.00-5.00 sec 118 MBytes 990 Mbits/sec 0 367 KBytes [ 5] 5.00-6.00 sec 118 MBytes 987 Mbits/sec 0 367 KBytes [ 5] 6.00-7.00 sec 118 MBytes 991 Mbits/sec 0 367 KBytes [ 5] 7.00-8.00 sec 118 MBytes 991 Mbits/sec 0 367 KBytes [ 5] 8.00-9.00 sec 118 MBytes 990 Mbits/sec 0 367 KBytes [ 5] 9.00-10.00 sec 118 MBytes 987 Mbits/sec 0 367 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.15 GBytes 991 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.15 GBytes 990 Mbits/sec receiver IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 119 MBytes 995 Mbits/sec 0 349 KBytes [ 5] 1.00-2.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes [ 5] 2.00-3.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes [ 5] 3.00-4.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes [ 5] 4.00-5.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes [ 5] 5.00-6.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes [ 5] 6.00-7.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes [ 5] 7.00-8.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes [ 5] 8.00-9.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes [ 5] 9.00-10.00 sec 118 MBytes 988 Mbits/sec 0 349 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.15 GBytes 989 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.15 GBytes 988 Mbits/sec receiver WireguardKernel mode
IPv4 over IPv4[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 118 MBytes 990 Mbits/sec 0 381 KBytes [ 5] 1.00-2.00 sec 117 MBytes 984 Mbits/sec 0 398 KBytes [ 5] 2.00-3.00 sec 117 MBytes 983 Mbits/sec 0 398 KBytes [ 5] 3.00-4.00 sec 117 MBytes 983 Mbits/sec 0 398 KBytes [ 5] 4.00-5.00 sec 117 MBytes 983 Mbits/sec 0 398 KBytes [ 5] 5.00-6.00 sec 117 MBytes 983 Mbits/sec 0 398 KBytes [ 5] 6.00-7.00 sec 117 MBytes 983 Mbits/sec 0 398 KBytes [ 5] 7.00-8.00 sec 117 MBytes 983 Mbits/sec 0 398 KBytes [ 5] 8.00-9.00 sec 117 MBytes 983 Mbits/sec 0 398 KBytes [ 5] 9.00-10.00 sec 117 MBytes 983 Mbits/sec 0 398 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.15 GBytes 984 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.14 GBytes 983 Mbits/sec receiver IPv6 over IPv4[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 118 MBytes 988 Mbits/sec 0 302 KBytes [ 5] 1.00-2.00 sec 117 MBytes 982 Mbits/sec 0 302 KBytes [ 5] 2.00-3.00 sec 117 MBytes 979 Mbits/sec 0 320 KBytes [ 5] 3.00-4.00 sec 117 MBytes 982 Mbits/sec 0 320 KBytes [ 5] 4.00-5.00 sec 117 MBytes 982 Mbits/sec 0 320 KBytes [ 5] 5.00-6.00 sec 117 MBytes 982 Mbits/sec 0 320 KBytes [ 5] 6.00-7.00 sec 117 MBytes 980 Mbits/sec 0 320 KBytes [ 5] 7.00-8.00 sec 117 MBytes 980 Mbits/sec 0 320 KBytes [ 5] 8.00-9.00 sec 117 MBytes 981 Mbits/sec 0 320 KBytes [ 5] 9.00-10.00 sec 117 MBytes 986 Mbits/sec 0 423 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.14 GBytes 982 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.14 GBytes 981 Mbits/sec receiver IPv4 over IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 118 MBytes 989 Mbits/sec 0 364 KBytes [ 5] 1.00-2.00 sec 117 MBytes 981 Mbits/sec 0 364 KBytes [ 5] 2.00-3.00 sec 117 MBytes 981 Mbits/sec 0 364 KBytes [ 5] 3.00-4.00 sec 117 MBytes 982 Mbits/sec 0 364 KBytes [ 5] 4.00-5.00 sec 117 MBytes 981 Mbits/sec 0 364 KBytes [ 5] 5.00-6.00 sec 117 MBytes 981 Mbits/sec 0 364 KBytes [ 5] 6.00-7.00 sec 117 MBytes 981 Mbits/sec 0 364 KBytes [ 5] 7.00-8.00 sec 117 MBytes 981 Mbits/sec 0 364 KBytes [ 5] 8.00-9.00 sec 117 MBytes 981 Mbits/sec 0 364 KBytes [ 5] 9.00-10.00 sec 117 MBytes 981 Mbits/sec 0 364 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.14 GBytes 982 Mbits/sec 0 sender [ 5] 0.00-10.00 sec 1.14 GBytes 981 Mbits/sec receiver IPv6 over IPv6[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 117 MBytes 984 Mbits/sec 1 302 KBytes [ 5] 1.00-2.00 sec 117 MBytes 982 Mbits/sec 0 302 KBytes [ 5] 2.00-3.00 sec 117 MBytes 978 Mbits/sec 0 302 KBytes [ 5] 3.00-4.00 sec 117 MBytes 978 Mbits/sec 0 302 KBytes [ 5] 4.00-5.00 sec 117 MBytes 978 Mbits/sec 0 302 KBytes [ 5] 5.00-6.00 sec 117 MBytes 982 Mbits/sec 0 302 KBytes [ 5] 6.00-7.00 sec 117 MBytes 980 Mbits/sec 0 372 KBytes [ 5] 7.00-8.00 sec 116 MBytes 977 Mbits/sec 1 372 KBytes [ 5] 8.00-9.00 sec 117 MBytes 979 Mbits/sec 0 372 KBytes [ 5] 9.00-10.00 sec 117 MBytes 980 Mbits/sec 1 363 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.14 GBytes 980 Mbits/sec 3 sender [ 5] 0.00-10.00 sec 1.14 GBytes 979 Mbits/sec receiver Usermode (tailscale)This was specifically not tested, tailscale uses a fixed MTU of 1280 which cannot be overwritten, meaning the results edgevpnDue to the really poor results this test was only performed once. The MTU choice of 8700/8920 was selected to mirror the difference between edgevpn defaults and the standard MTU of 1500.
IPv4 8700/8920[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 1.48 MBytes 12.4 Mbits/sec 37 8.45 KBytes [ 5] 1.00-2.00 sec 591 KBytes 4.84 Mbits/sec 25 8.45 KBytes [ 5] 2.00-3.00 sec 1.27 MBytes 10.7 Mbits/sec 37 8.45 KBytes [ 5] 3.00-4.00 sec 1005 KBytes 8.23 Mbits/sec 25 16.9 KBytes [ 5] 4.00-5.00 sec 1.27 MBytes 10.7 Mbits/sec 37 16.9 KBytes [ 5] 5.00-6.00 sec 828 KBytes 6.78 Mbits/sec 26 8.45 KBytes [ 5] 6.00-7.00 sec 887 KBytes 7.26 Mbits/sec 26 8.45 KBytes [ 5] 7.00-8.00 sec 1.04 MBytes 8.72 Mbits/sec 34 16.9 KBytes [ 5] 8.00-9.00 sec 1.27 MBytes 10.7 Mbits/sec 32 8.45 KBytes [ 5] 9.00-10.00 sec 1.10 MBytes 9.20 Mbits/sec 28 16.9 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 10.7 MBytes 8.94 Mbits/sec 307 sender [ 5] 0.00-10.01 sec 10.4 MBytes 8.70 Mbits/sec receiver IPv6 8700/8920[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 1.36 MBytes 11.4 Mbits/sec 37 8.43 KBytes [ 5] 1.00-2.00 sec 1.32 MBytes 11.1 Mbits/sec 36 16.9 KBytes [ 5] 2.00-3.00 sec 1003 KBytes 8.21 Mbits/sec 29 8.43 KBytes [ 5] 3.00-4.00 sec 1.27 MBytes 10.6 Mbits/sec 38 8.43 KBytes [ 5] 4.00-5.00 sec 1.44 MBytes 12.1 Mbits/sec 40 8.43 KBytes [ 5] 5.00-6.00 sec 649 KBytes 5.31 Mbits/sec 17 8.43 KBytes [ 5] 6.00-7.00 sec 767 KBytes 6.28 Mbits/sec 19 8.43 KBytes [ 5] 7.00-8.00 sec 708 KBytes 5.80 Mbits/sec 24 16.9 KBytes [ 5] 8.00-9.00 sec 413 KBytes 3.38 Mbits/sec 20 8.43 KBytes [ 5] 9.00-10.00 sec 1.09 MBytes 9.18 Mbits/sec 29 8.43 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 9.94 MBytes 8.34 Mbits/sec 289 sender [ 5] 0.00-10.18 sec 9.75 MBytes 8.03 Mbits/sec receiver AnalysisOverall these results again support the initial result that edgevpn is notably slower than both native and wireguard My initial hypothesis was that this was MTU related, as it seemed to fit that edgevpn uses multiple nested Relative ping
These results are interesting because the increase in ping times appears to be roughly incremental for Relative TX
The similarity of throughputs for wireguard/tailscale is impressive given the difference in ping, as is the sudden drop ConclusionsIt appears from casual observations that the poor performance of edgevpn is caused by being CPU bound whilst Wireguard My earlier assertion that a hybrid edgevpn/wireguard setup would be optimal for heavy workloads remains true. Tl;drWireguard achieves ~95% throughput of the host interface. edgevpn manages ~11%. For survivability, edgevpn clearly wins as no coordination is required, but for throughput go with Wireguard. Footnotes
|
Beta Was this translation helpful? Give feedback.
-
_Just curious about..
Does anyone have any stats comparing throughput of Wireguard vs Edgevpn using between same 2 Nodes?_
Beta Was this translation helpful? Give feedback.
All reactions