On 08.06.2018 12:13, David Sommerseth wrote:

First test, between two servers without OpenVPN:
[  4]   0.00-10.00  sec   120 MBytes   101 Mbits/sec sender
[  4]   0.00-10.00  sec   117 MBytes  98.1 Mbits/sec receiver

Second test, between OpenVPN interfaces:
[  4]   0.00-10.00  sec  33.3 MBytes  27.9 Mbits/sec sender
[  4]   0.00-10.00  sec  33.0 MBytes  27.7 Mbits/sec receiver

As you can see, OpenVPN has very bad network throughput values,
compared to raw network values.

First of all, IIRC, the default iperf3 runs uses TCP. Your VPN tunnel runs
over UDP (which normally is good).  So you're comparing a little bit apples
and oranges here.

No, I compare oranges with oranges: how fast will work application
protocols if OpenVPN is used or OpenVPN not used for network layer.

Application protocols are TCP-based, for example, FTP, HTTP. And I need
good network throughput *for TCP-based protocols* when OpenVPN is used.

Try running the same iperf3 test outside the VPN tunnel with --udp.
Does that give different results?

Yes, I see Bandwidth 99.1 Mbits/sec and Bandwidth 99.0 Mbits/sec
But I need to see the same excellent values for TCP protocol too.

This is possible with OpenVPN at all?
What can be tuned in OpenVPN or in operating system?

What is the root cause of such very low network throughput values
then TCP-based protocols are used on top of OpenVPN connections?

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