New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AEAD performance on home routers #1242
Comments
|
I will upgrade my router to Xeon e1220L v3 |
@hellofwy Thanks. Although your list do not contain ARM CPUs on routers. But it is still useful. Compared to this list, maybe rc4-md5 or chacha is the best choice. AES may be still slow for these routers. |
@hellofwy Do you have data for rc4-md5's performance. Thanks in advance. |
https://github.com/shadowsocks/libQtShadowsocks/wiki/Comparison-of-Encryption-Methods'-Speed From this article, rc4 is slower than ChaCha20. I think they both are implemented in software now. RC4 is less secure so just use ChaCha20. And Chacha20-ietf-Poly1305 should be faster than rc4-md5. Recent ss-libev has an ------------below updated at 2017-2-16 22:00--------------
|
iperf.sh 10240000 aes-128-gcm
|
@rampageX |
@hellofwy
|
@rampageX |
@rampageX The output of "iperf.sh" has two results? Which can be considered as the actual speed?
|
@cokebar |
@hellofwy No. I'm talking about the output of the iperf.sh |
Test on Linksys 1900ACSv2. Dual core ARM-cortex-A9 1.6GHz.
|
I guess one for ss-tunnel and one for ss-server ? I just pick the lower one. |
@cokebar From For example:
This is
This is
I think the client result is more close to the real performance. Because with enough socket buffer, Since this test run on the same machine, true performance should double the result in single core situation. |
@hellofwy Thanks! |
mt7621 sh iperf.sh 10240000 aes-128-gcm sh iperf.sh 10240000 chacha20-ietf-poly1305 sh iperf.sh 10240000 chacha20 sh iperf.sh 10240000 rc4-md5 sh iperf.sh 10240000 salsa20 sh iperf.sh 10240000 aes-256-cfb |
aes-128-gcm
chacha20-ietf-poly1305
rc4-md5
cpuinfo
test on shadowsocks-libev-3.0.6 |
Is there anyone tested the performance of AEAD performance on routers?
I know on some low-end routers, rc4-md5 may be still the best choice for performance.
But for some high-end home routers, they may have a multi-core ARM based CPU.
I don't know the AEAD's performance on these kind of routers. AES-128-GCM and Chacha20-ietf-Poly1305, which is better?
The text was updated successfully, but these errors were encountered: