On 08.06.2018 13:27, Gert Doering wrote:

Comparing

  iperf3 --tcp without VPN
  iperf3 --udp without VPN
  iperf3 --tcp with VPN
  iperf3 --udp with VPN

is relevant, because it can show if your ISP is rate-limiting UDP traffic
(thus killing OpenVPN performance).  A number of them do so here in
Germany, which is very annoying.

My ISP is not used in tests at all, because I run test between two VPS,
First VPS (iperf3 client) located inside my Hetzner dedicated server
and has network connectivity 1GBit/sec, second VPS (iperf3 server)
located inside OVH "VPS SSD 1" and has network connectivity 100MBit/sec.

"iperf3 --udp" with and without OpenVPN is near 100 MBit/sec,
so all is Ok, UDP traffic is not limited at all.

"iperf3 --tcp without VPN" show speed near 100 MBit/sec:

[  4]   0.00-10.00  sec   120 MBytes   101 Mbits/sec    sender
[  4]   0.00-10.00  sec   117 MBytes  98.2 Mbits/sec    receiver

"iperf3 --tcp with VPN" show only 29 MBit/sec:

[  4]   0.00-10.00  sec  34.7 MBytes  29.1 Mbits/sec  sender
[  4]   0.00-10.00  sec  34.4 MBytes  28.8 Mbits/sec  receiver

But if I add swith "--parallel" all works fine:

# iperf3 -c 172.31.254.1 --parallel 8
[SUM]   0.00-10.00  sec   107 MBytes  90.1 Mbits/sec  sender
[SUM]   0.00-10.00  sec   105 MBytes  88.4 Mbits/sec  receiver

# iperf3 -c 172.31.254.1 --parallel 8 --reverse
[SUM]   0.00-10.00  sec   108 MBytes  90.5 Mbits/sec  sender
[SUM]   0.00-10.00  sec   105 MBytes  88.2 Mbits/sec  receiver

I can't understand why "iperf3 --tcp without VPN" show 100 MBit/sec,
but "iperf3 --tcp with VPN" show only 29 MBit/sec.

Also I can't understand why "iperf3 --tcp with VPN"
with "--parallel" switch show nead 90 MBit/sec.

CPU load on the server and client is near 10%,
so server and client is not CPU bound.

Now run test several times and see such results:

# iperf3 -c 172.31.254.1
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  48.8 MBytes  40.9 Mbits/sec  sender
[  4]   0.00-10.00  sec  48.5 MBytes  40.7 Mbits/sec  receiver

# iperf3 -c 172.31.254.1
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   108 MBytes  90.2 Mbits/sec   sender
[  4]   0.00-10.00  sec   105 MBytes  88.3 Mbits/sec   receiver

# iperf3 -c 172.31.254.1
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  44.4 MBytes  37.2 Mbits/sec  sender
[  4]   0.00-10.00  sec  44.2 MBytes  37.1 Mbits/sec  receiver

Speed is not fixed in 29 MBit/sec, it floating.
and I even see 90 MBit/sec with one TCP connection with VPN.

--
Best regards,
 Gena

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to