- 若不知道 CPU 是否支持 AES-NI, 则
chacha20-ietf-poly1305
为最稳妥的选择。
- 若 CPU 支持 AES-NI, 则 shadowsocks-rust 选择
aes-128-gcm
, shadowsocks-libev 选择 aes-256-gcm
为最佳。
shadowsocks-libev: aes-256-gcm > xchacha20-ietf-poly1305 > chacha20-ietf-poly1305 > aes-128-gcm > aes-192-gcm
shadowsocks-rust: aes-128-gcm > aes-256-gcm > chacha20-ietf-poly1305 > xchacha20-ietf-poly1305
compare: shadowsocks-rust > shadowsocks-libev
shadowsocks-libev: chacha20-ietf-poly1305 > xchacha20-ietf-poly1305 > aes-128-gcm > aes-192-gcm > aes-256-gcm
shadowsocks-rust: chacha20-ietf-poly1305 > xchacha20-ietf-poly1305 > aes-128-gcm > aes-256-gcm
compare: shadowsocks-rust > shadowsocks-libev
root@ARCH ~/test # ./ss-libev-iperf.sh aes-128-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 4.00 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38070 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 431 MBytes 361 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh aes-192-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38076 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 405 MBytes 338 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh aes-256-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38082 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 376 MBytes 315 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh chacha20-ietf-poly1305
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38120 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 1.55 GBytes 1.33 Gbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh xchacha20-ietf-poly1305
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38126 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 1.51 GBytes 1.30 Gbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh rc4-md5
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 4.00 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38252 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 584 MBytes 489 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh aes-128-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38258 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 619 MBytes 519 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh aes-192-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38264 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 565 MBytes 473 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh aes-256-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38270 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 507 MBytes 425 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh aes-128-ctr
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38276 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 608 MBytes 510 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh aes-192-ctr
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38282 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 580 MBytes 486 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh aes-256-ctr
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38288 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 530 MBytes 444 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh camellia-128-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38294 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 350 MBytes 293 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh camellia-192-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 4.00 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38300 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.05 sec 273 MBytes 228 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh camellia-256-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38306 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.04 sec 263 MBytes 219 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh bf-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38312 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 357 MBytes 299 Mbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh salsa20
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38318 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 1.55 GBytes 1.33 Gbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh chacha20
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38324 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 1.61 GBytes 1.38 Gbits/sec
root@ARCH ~/test # ./ss-libev-iperf.sh chacha20-ietf
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38330 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 1.68 GBytes 1.44 Gbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh plain
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38234 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 3.88 GBytes 3.33 Gbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh none
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38240 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 3.86 GBytes 3.32 Gbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-128-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38132 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 1.05 GBytes 900 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-256-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38138 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 837 MBytes 702 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh chacha20-ietf-poly1305
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38144 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 1.88 GBytes 1.61 Gbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh xchacha20-ietf-poly1305
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38150 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 983 MBytes 824 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-128-ccm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38162 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.04 sec 126 MBytes 105 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-256-ccm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38168 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.08 sec 93.0 MBytes 77.4 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-128-gcm-siv
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38174 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 113 MBytes 94.3 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-256-gcm-siv
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38180 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.10 sec 98.3 MBytes 81.6 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-128-ocb-taglen128
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38186 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 224 MBytes 187 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-192-ocb-taglen128
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38192 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 189 MBytes 158 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-256-ocb-taglen128
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38198 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.05 sec 164 MBytes 137 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-siv-cmac-256
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38204 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 130 MBytes 109 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-siv-cmac-384
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 4.00 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38210 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.14 sec 108 MBytes 89.3 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh aes-siv-cmac-512
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38216 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.08 sec 93.0 MBytes 77.4 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh sm4-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38222 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.04 sec 224 MBytes 187 Mbits/sec
root@ARCH ~/test # ./ss-rust-iperf.sh sm4-ccm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 38228 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.06 sec 148 MBytes 124 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-128-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25907 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 349 MBytes 292 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-192-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25913 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 347 MBytes 290 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-256-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25919 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 967 MBytes 810 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh chacha20-ietf-poly1305
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25933 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 909 MBytes 761 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh xchacha20-ietf-poly1305
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25939 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 930 MBytes 779 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh rc4-md5
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25945 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 394 MBytes 331 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-128-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25951 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 675 MBytes 564 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-192-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25957 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 645 MBytes 539 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-256-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25963 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 602 MBytes 505 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-128-ctr
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25969 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 736 MBytes 617 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-192-ctr
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25975 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 696 MBytes 583 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh aes-256-ctr
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25989 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 646 MBytes 540 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh camellia-128-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 25995 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.07 sec 229 MBytes 190 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh camellia-192-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26001 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.06 sec 183 MBytes 153 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh camellia-256-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26007 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.03 sec 182 MBytes 152 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh bf-cfb
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26013 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.04 sec 235 MBytes 197 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh salsa20
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26019 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 1.01 GBytes 866 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh chacha20
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26025 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 1.08 GBytes 930 Mbits/sec
root@LAX:~/test# ./ss-libev-iperf.sh chacha20-ietf
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26031 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 1.08 GBytes 927 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh plain
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26125 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 2.24 GBytes 1.93 Gbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh none
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26131 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 2.37 GBytes 2.03 Gbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-128-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26137 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 1.36 GBytes 1.17 Gbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-256-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26143 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 1.30 GBytes 1.12 Gbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh chacha20-ietf-poly1305
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26149 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 1.20 GBytes 1.03 Gbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh xchacha20-ietf-poly1305
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26155 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.00 sec 634 MBytes 531 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-128-ccm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26167 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.22 sec 76.9 MBytes 63.1 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-256-ccm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26173 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.10 sec 57.3 MBytes 47.6 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-128-gcm-siv
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26179 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.02 sec 74.8 MBytes 62.6 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-256-gcm-siv
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26185 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.05 sec 62.0 MBytes 51.7 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-128-ocb-taglen128
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26195 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.10 sec 142 MBytes 118 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-192-ocb-taglen128
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26209 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.10 sec 119 MBytes 98.4 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-256-ocb-taglen128
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26215 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 102 MBytes 85.8 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-siv-cmac-256
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26221 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.15 sec 74.4 MBytes 61.5 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-siv-cmac-384
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26227 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.24 sec 66.4 MBytes 54.4 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh aes-siv-cmac-512
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26233 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.01 sec 54.8 MBytes 45.9 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh sm4-gcm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26239 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.06 sec 165 MBytes 137 Mbits/sec
root@LAX:~/test# ./ss-rust-iperf.sh sm4-ccm
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 3.76 MByte (default)
------------------------------------------------------------
[ 1] local 127.0.0.1 port 26245 connected with 127.0.0.1 port 20000
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.04 sec 110 MBytes 91.8 Mbits/sec
Intel J1900 (non AES-NI)
shadowsocks-libev
shadowsocks-rust