*** Bench **** baseline root@baikal:~# iperf -c 10.18.10.1 -r -m ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 10.18.10.1, TCP port 5001 TCP window size: 187 KByte (default) ------------------------------------------------------------ [ 5] local 192.168.33.254 port 50944 connected with 10.18.10.1 port 5001 [ ID] Interval Transfer Bandwidth [ 5] 0.0-10.0 sec 1.08 GBytes 929 Mbits/sec [ 5] MSS size 1448 bytes (MTU 1500 bytes, ethernet) [ 4] local 192.168.33.254 port 5001 connected with 10.18.10.1 port 41969 [ 4] 0.0-10.0 sec 1.07 GBytes 916 Mbits/sec [ 4] MSS size 1448 bytes (MTU 1500 bytes, ethernet) cpu 100% pps 929*1024*1024/1448 -> 672 739 pps pps 916*1024*1024/1448 -> 663 325 pps root@baikal:~# iperf -c 10.18.10.1 -M124 --tradeoff -m WARNING: attempt to set TCP maximum segment size to 124, but got 536 ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ WARNING: attempt to set TCP maximum segment size to 124, but got 536 ------------------------------------------------------------ Client connecting to 10.18.10.1, TCP port 5001 TCP window size: 57.5 KByte (default) ------------------------------------------------------------ [ 5] local 192.168.33.254 port 51058 connected with 10.18.10.1 port 5001 [ ID] Interval Transfer Bandwidth [ 5] 0.0-10.0 sec 62.9 MBytes 52.5 Mbits/sec [ 5] MSS size 112 bytes (MTU 152 bytes, unknown interface) [ 4] local 192.168.33.254 port 5001 connected with 10.18.10.1 port 41973 [ 4] 0.0-10.7 sec 120 MBytes 94.2 Mbits/sec [ 4] MSS size 112 bytes (MTU 152 bytes, unknown interface) cpu TX (encrypt) 22% / RX (decrypt) 70% pps TX 52.5*1024*1024/112 -> 491 520 pps pps RX 94.2*1024*1024/112 -> 881 927 pps **** openVPN no cipher root@baikal:~# iperf -c 10.8.0.1 --tradeoff -m ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 10.8.0.1, TCP port 5001 TCP window size: 94.5 KByte (default) ------------------------------------------------------------ [ 5] local 192.168.33.254 port 59764 connected with 10.8.0.1 port 5001 [ ID] Interval Transfer Bandwidth [ 5] 0.0-10.0 sec 166 MBytes 139 Mbits/sec [ 5] MSS size 1370 bytes (MTU 1410 bytes, unknown interface) [ 4] local 192.168.33.254 port 5001 connected with 10.8.0.1 port 60854 [ 4] 0.0-10.0 sec 154 MBytes 128 Mbits/sec [ 4] MSS size 1370 bytes (MTU 1410 bytes, unknown interface) TX (encrypt): 100% cpu RX : 91% pps TX 139*1024*1024/1410 -> 103 370 pps pps RX 128*1024*1024/1410 -> 95 189 pps root@baikal:~# iperf -c 10.8.0.1 --tradeoff -m -M124 WARNING: attempt to set TCP maximum segment size to 124, but got 536 ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ WARNING: attempt to set TCP maximum segment size to 124, but got 536 ------------------------------------------------------------ Client connecting to 10.8.0.1, TCP port 5001 TCP window size: 60.0 KByte (default) ------------------------------------------------------------ [ 5] local 192.168.33.254 port 59995 connected with 10.8.0.1 port 5001 [ ID] Interval Transfer Bandwidth [ 5] 0.0-10.1 sec 19.6 MBytes 16.3 Mbits/sec [ 5] MSS size 112 bytes (MTU 152 bytes, unknown interface) [ 4] local 192.168.33.254 port 5001 connected with 10.8.0.1 port 60860 [ 4] 0.0-10.1 sec 18.5 MBytes 15.3 Mbits/sec [ 4] MSS size 112 bytes (MTU 152 bytes, unknown interface) cpu TX (encrypt) 97.6 / RX 90 pps TX 16.3*1024*1024/112 -> 152 605 pps pps RX 15.3*1024*1024/112 -> 143 242 pps **** default cipher (BF-CBC) root@baikal:~# iperf -c 10.8.0.1 --tradeoff -m ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 10.8.0.1, TCP port 5001 TCP window size: 85.5 KByte (default) ------------------------------------------------------------ [ 5] local 192.168.33.254 port 58845 connected with 10.8.0.1 port 5001 [ ID] Interval Transfer Bandwidth [ 5] 0.0-10.0 sec 90.8 MBytes 76.0 Mbits/sec [ 5] MSS size 1354 bytes (MTU 1394 bytes, unknown interface) [ 4] local 192.168.33.254 port 5001 connected with 10.8.0.1 port 60822 [ 4] 0.0-10.1 sec 92.0 MBytes 76.3 Mbits/sec [ 4] MSS size 1354 bytes (MTU 1394 bytes, unknown interface) 76*1024*1024/1354 -> 58 856 pps cpu 100% / 100% **** small packets root@baikal:~# iperf -c 10.8.0.1 -M124 --tradeoff -m WARNING: attempt to set TCP maximum segment size to 124, but got 536 ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ WARNING: attempt to set TCP maximum segment size to 124, but got 536 ------------------------------------------------------------ Client connecting to 10.8.0.1, TCP port 5001 TCP window size: 47.5 KByte (default) ------------------------------------------------------------ [ 5] local 192.168.33.254 port 58756 connected with 10.8.0.1 port 5001 [ ID] Interval Transfer Bandwidth [ 5] 0.0-10.2 sec 13.9 MBytes 11.4 Mbits/sec [ 5] MSS size 112 bytes (MTU 152 bytes, unknown interface) [ 4] local 192.168.33.254 port 5001 connected with 10.8.0.1 port 60821 [ 4] 0.0-10.4 sec 14.2 MBytes 11.5 Mbits/sec [ 4] MSS size 112 bytes (MTU 152 bytes, unknown interface) --> 11.4/1024/1024/112 -> 106 730 pps