You are seeing these results because your CPU is the bottleneck. At moderns machines, the disk or the network becomes the bottleneck, so you’ll get comparable performance out of all ciphers. I benchmarked my system through this little script here:
Code:
for cipher in aes128-ctr aes192-ctr aes256-ctr arcfour256 arcfour128 aes128-cbc 3des-cbc blowfish-cbc cast128-cbc aes192-cbc aes256-cbc arcfour ; do
echo "$cipher"
for try in 1 2 ; do
scp -c "$cipher" Tomcat.tar.bz2 user3@m21:~/
done
done
Just look at my results, as you can see the network won't transfer more than 11.3MB/s.
aes128-ctr
Tomcat.tar.bz2 100% 508MB 11.0MB/s 00:46
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
aes192-ctr
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
aes256-ctr
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
arcfour256
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
arcfour128
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
aes128-cbc
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
3des-cbc
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.0MB/s 00:46
blowfish-cbc
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.0MB/s 00:46
cast128-cbc
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.0MB/s 00:46
aes192-cbc
Tomcat.tar.bz2 100% 508MB 11.0MB/s 00:46
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
aes256-cbc
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
arcfour
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45
Tomcat.tar.bz2 100% 508MB 11.3MB/s 00:45