測試檔, 173mb iso 檔
[root@pank tmp]# rsync -avz -e ssh 192.168.24.5:/tmp/mini.iso /tmp
receiving file list ... done
mini.iso
wrote 32 bytes read 181694087 bytes 2861324.71 bytes/sec
[root@pank tmp]# rsync -avz -e ssh 192.168.24.5:/tmp/mini.iso /tmp
receiving file list ... done
mini.iso
wrote 32 bytes read 181694087 bytes 2907105.90 bytes/sec
total size is 181633024 speedup is 1.00
[root@pank tmp]# rsync -avz -e ssh 192.168.24.5:/tmp/mini.iso /tmp
receiving file list ... done
mini.iso
wrote 32 bytes read 181694087 bytes 2861324.71 bytes/sec
total size is 181633024 speedup is 1.00
結果 rsync -e ssh 的效能比 scp 差(2.8mb/s vs 4mb/s)
Leave a comment