Skip to content

Instantly share code, notes, and snippets.

@pexcn
Last active January 3, 2025 09:49
Show Gist options
  • Save pexcn/fe3dc944672cf70d6fda7a186240f932 to your computer and use it in GitHub Desktop.
Save pexcn/fe3dc944672cf70d6fda7a186240f932 to your computer and use it in GitHub Desktop.
Shadowsocks 各加密方式的速度测试报告

Shadowsocks 各加密方式的速度测试报告

TL;DR (仅针对当前版本)

  • 若不知道 CPU 是否支持 AES-NI, 则 chacha20-ietf-poly1305 为最稳妥的选择。
  • 若 CPU 支持 AES-NI, 则 shadowsocks-rust 选择 aes-128-gcm, shadowsocks-libev 选择 aes-256-gcm 为最佳。

AES-NI CPU

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

Non AES-NI CPU

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

Intel 3205U (non AES-NI)

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

shadowsocks-rust

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

BandwagonHost (AES-NI)

shadowsocks-libev

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

shadowsocks-rust

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
@pexcn
Copy link
Author

pexcn commented Apr 18, 2021

Intel J1900 (non AES-NI)

shadowsocks-libev

root@NAS ~/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 58282 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.01 sec   326 MBytes   274 Mbits/sec
root@NAS ~/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 58292 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.08 sec   299 MBytes   249 Mbits/sec
root@NAS ~/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 58298 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.02 sec   281 MBytes   235 Mbits/sec
root@NAS ~/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 58304 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.00 sec   896 MBytes   752 Mbits/sec
root@NAS ~/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 58310 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.02 sec   891 MBytes   746 Mbits/sec



root@NAS ~/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 58432 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.01 sec   855 MBytes   717 Mbits/sec
root@NAS ~/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 58438 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.02 sec   458 MBytes   384 Mbits/sec
root@NAS ~/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 58444 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.03 sec   414 MBytes   346 Mbits/sec
root@NAS ~/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 58450 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.03 sec   384 MBytes   321 Mbits/sec
root@NAS ~/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 58456 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.03 sec   464 MBytes   388 Mbits/sec
root@NAS ~/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 58462 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.03 sec   424 MBytes   355 Mbits/sec
root@NAS ~/test # ./ss-libev-iperf.sh aes-256-ctr
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 20000
TCP window size: 4.00 MByte (default)
------------------------------------------------------------
[  1] local 127.0.0.1 port 58468 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.03 sec   391 MBytes   327 Mbits/sec
root@NAS ~/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 58474 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.03 sec   325 MBytes   272 Mbits/sec
root@NAS ~/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 58480 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.04 sec   256 MBytes   214 Mbits/sec
root@NAS ~/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 58486 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.02 sec   256 MBytes   215 Mbits/sec
root@NAS ~/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 58492 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.00 sec   366 MBytes   307 Mbits/sec
root@NAS ~/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 58502 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.00 sec  1.21 GBytes  1.04 Gbits/sec
root@NAS ~/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 58508 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.00 sec  1.12 GBytes   960 Mbits/sec
root@NAS ~/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 58514 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.01 sec  1.12 GBytes   963 Mbits/sec

shadowsocks-rust

root@NAS ~/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 58420 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.00 sec  2.90 GBytes  2.49 Gbits/sec
root@NAS ~/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 58426 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.00 sec  2.95 GBytes  2.54 Gbits/sec
root@NAS ~/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 58316 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.04 sec   302 MBytes   252 Mbits/sec
root@NAS ~/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 58322 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.05 sec   229 MBytes   191 Mbits/sec
root@NAS ~/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 58328 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.02 sec   950 MBytes   795 Mbits/sec
root@NAS ~/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 58334 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.02 sec   711 MBytes   596 Mbits/sec



root@NAS ~/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 58340 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.06 sec  82.5 MBytes  68.8 Mbits/sec
root@NAS ~/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 58346 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.11 sec  60.3 MBytes  50.0 Mbits/sec
root@NAS ~/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 58356 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.12 sec  45.8 MBytes  37.9 Mbits/sec
root@NAS ~/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 58362 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.15 sec  41.9 MBytes  34.6 Mbits/sec
root@NAS ~/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 58368 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.07 sec   156 MBytes   130 Mbits/sec
root@NAS ~/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 58374 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.08 sec   132 MBytes   110 Mbits/sec
root@NAS ~/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 58380 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.02 sec   114 MBytes  95.4 Mbits/sec
root@NAS ~/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 58386 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.06 sec  82.5 MBytes  68.8 Mbits/sec
root@NAS ~/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 58392 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.06 sec  69.5 MBytes  57.9 Mbits/sec
root@NAS ~/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 58398 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.06 sec  60.3 MBytes  50.2 Mbits/sec
root@NAS ~/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 58404 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.04 sec   221 MBytes   184 Mbits/sec
root@NAS ~/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 58410 connected with 127.0.0.1 port 20000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.04 sec   191 MBytes   160 Mbits/sec

@rampageX
Copy link

PHICOMM N1:

chacha20-ietf-poly1305 | 470 Mbits/sec;aes-128-gcm | 144Mbits/sec

Raspiberry 3B:

chacha20-ietf-poly1305 | 240 Mbits/sec;aes-128-gcm | 85Mbits/sec

Asus AC-68P:

chacha20-ietf-poly1305 | 140 Mbits/sec;aes-128-gcm | 70Mbits/sec

Netgear R7800:

chacha20-ietf-poly1305 | 350 Mbits/sec;aes-128-gcm | 50Mbits/sec

https://www.quakemachinex.com/blog/265.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment