Changes between Version 1 and Version 2 of PerformanceTestingOpenVPN


Ignore:
Timestamp:
04/20/20 09:52:32 (4 years ago)
Author:
stipa
Comment:

Added wintun test results

Legend:

Unmodified
Added
Removed
Modified
  • PerformanceTestingOpenVPN

    v1 v2  
    1212
    1313* Direct TCP connection without VPN: close to **7Gbit/sec**
     14* OpenVPN 3 Windows reference client, using wintun: **904 Mbit/sec**
     15* OpenVPN 2 Windows client, using wintun: **737 Mbit/sec**
     16* OpenVPN 3 Windows reference client, using tap-windows6: **652 Mbit/sec**
    1417* OpenVPN 2 Windows client, using tap-windows6: **414 Mbit/sec**
    15 * OpenVPN 3 reference client, using tap-windows6: **652 Mbit/sec**
    1618
    1719= Preparations =
     
    130132   * consider installing some normal browser (Chrome / FF) since Edge / IE has horrible user experience
    131133   * download iPerf3 from https://iperf.fr/download/windows/iperf-3.1.3-win64.zip, extract to C:\Temp\iperf3
    132    * download and install OpenVPN GUI client from https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.7-I607-Win10.exe
     134   * download and install OpenVPN GUI client built from master from http://build.openvpn.net/downloads/snapshots/ ([http://build.openvpn.net/downloads/snapshots/openvpn-install-2.5_git-I900-master-20200419105617-9cf7b492.exe] at the moment of writing)
    133135   * download and install Visual C++ Redistributable https://aka.ms/vs/16/release/vc_redist.x64.exe
    1341361. create C:\Temp\client.ovpn with the following content:
     
    1451471. download ca.crt, client.crt and client.key from  https://github.com/OpenVPN/openvpn/tree/master/sample/sample-keys to C:\Temp
    1461481. run OpenVPN GUI, right click on tray icon -> Import file, specify C:\Temp\client.ovpn
    147 1. download openvpn3 test client from  https://ci.appveyor.com/project/openvpn/openvpn3/builds/25439762/artifacts to C:\Temp\openvpn3
     1491. download openvpn3 test client from  https://ci.appveyor.com/project/openvpn/openvpn3/build/artifacts to C:\Temp\openvpn3 (you need libcrypto-1_1-x64.dll, libssl-1_1-x64.dll, lz4.dll, ovpncli.exe)
    148150
    149151= Running Performance Tests =
     
    210212Performance results indicates **414 Mbit/sec**
    211213
     214== Performance test - OpenVPN 2 - Windows - wintun ==
     2151. on client machine, start OpenVPN 2 GUI, right click on tray icon -> Edit Config
     2161. add "windows-driver wintun", save changes and close
     2171. right click on OpenVPN GUI tray icon -> Connect
     2181. run iperf3
     219{{{
     220c:\Temp\iperf3>iperf3.exe -c 10.8.0.1 -V -t 60
     221iperf 3.1.3
     222CYGWIN_NT-10.0 EC2AMAZ-2CS6LA3 2.5.1(0.297/5/3) 2016-04-21 22:14 x86_64
     223Time: Mon, 20 Apr 2020 08:52:18 GMT
     224Connecting to host 10.8.0.1, port 5201
     225      Cookie: EC2AMAZ-2CS6LA3.1587372738.766029.15
     226      TCP MSS: 0 (default)
     227[  4] local 10.8.0.2 port 49693 connected to 10.8.0.1 port 5201
     228Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 60 second test
     229[ ID] Interval           Transfer     Bandwidth
     230[  4]   0.00-1.00   sec  82.4 MBytes   691 Mbits/sec
     231[  4]   1.00-2.00   sec  78.4 MBytes   656 Mbits/sec
     232[  4]   2.00-3.00   sec  97.2 MBytes   817 Mbits/sec
     233<skipped>
     234[  4]  56.00-57.00  sec  97.5 MBytes   818 Mbits/sec
     235[  4]  57.00-58.00  sec  66.9 MBytes   561 Mbits/sec
     236[  4]  58.00-59.00  sec  67.4 MBytes   565 Mbits/sec
     237[  4]  59.00-60.01  sec  94.9 MBytes   791 Mbits/sec
     238- - - - - - - - - - - - - - - - - - - - - - - - -
     239Test Complete. Summary Results:
     240[ ID] Interval           Transfer     Bandwidth
     241[  4]   0.00-60.01  sec  5.15 GBytes   737 Mbits/sec                  sender
     242[  4]   0.00-60.01  sec  5.15 GBytes   737 Mbits/sec                  receiver
     243CPU Utilization: local/sender 6.0% (1.3%u/4.7%s), remote/receiver 46.0% (7.1%u/38.9%s)
     244}}}
     2451. Right click on tray icon -> Disconnect
     246
     247Performance results indicates **737 Mbit/sec**
     248
     249== Performance test - OpenVPN 3 - Windows - wintun ==
     2501. in administrative command prompt run OpenVPN3 test client:
     251{{{
     252c:\Temp\openvpn3>ovpncli.exe -w ..\client.ovpn
     253}}}
     2541. in another command prompt run iperf3:
     255{{{
     256c:\Temp\iperf3>iperf3.exe -c 10.8.0.1 -V -t 60
     257iperf 3.1.3
     258CYGWIN_NT-10.0 EC2AMAZ-2CS6LA3 2.5.1(0.297/5/3) 2016-04-21 22:14 x86_64
     259Time: Mon, 20 Apr 2020 09:28:01 GMT
     260Connecting to host 10.8.0.1, port 5201
     261      Cookie: EC2AMAZ-2CS6LA3.1587374881.104704.78
     262      TCP MSS: 0 (default)
     263[  4] local 10.8.0.2 port 49814 connected to 10.8.0.1 port 5201
     264Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 60 second test
     265[ ID] Interval           Transfer     Bandwidth
     266[  4]   0.00-1.00   sec   110 MBytes   919 Mbits/sec
     267[  4]   1.00-2.00   sec   110 MBytes   922 Mbits/sec
     268<skipped>
     269[  4]  58.00-59.00  sec   110 MBytes   924 Mbits/sec
     270[  4]  59.00-60.00  sec   111 MBytes   933 Mbits/sec
     271- - - - - - - - - - - - - - - - - - - - - - - - -
     272Test Complete. Summary Results:
     273[ ID] Interval           Transfer     Bandwidth
     274[  4]   0.00-60.00  sec  6.31 GBytes   904 Mbits/sec                  sender
     275[  4]   0.00-60.00  sec  6.31 GBytes   904 Mbits/sec                  receiver
     276CPU Utilization: local/sender 3.0% (1.0%u/2.0%s), remote/receiver 48.7% (7.5%u/41.2%s)
     277
     278iperf Done.
     279}}}
     2801. press [F4] to stop test client
     281
     282Performance results indicates **904 Mbit/sec**
     283
     284
    212285== Performance test - OpenVPN 3 - Windows - tap-windows6 ==
    2132861. in administrative command prompt run OpenVPN3 test client:
    214287{{{
    215 c:\Temp\openvpn3>cli.exe ..\client.ovpn
     288c:\Temp\openvpn3>ovpncli.exe ..\client.ovpn
    216289}}}
    2172901. in another command prompt run iperf3: