rsync 性能

在千兆内网发现 rsync 只有 15Mb/s。使用了不同的 SSH 参数后 (关闭压缩,换 cipher) 之后速度达到 45Mb/s。

rsync  -avPh -e "ssh -o Compression=no -c arcfour128 -x" 

如果你的 SSH server 没有这个 cipher 的话,要去 /etc/ssh/sshd_config 添加

Ciphers arcfour128,aes128-cbc,3des-cbc