You are not logged in.

#1 2008-05-09 20:17:22

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Rsync + SSH = SLOW

Have any of you wondered why rsync via ssh is slow as hell? It's not just rsync, but anything based on the rsync algorighm (rdiff-backup, for example) is very slow. I get 1.5-2MiB/s when I use rsync via ssh. If I use rsync via the rsync daemon, I get around 8MiB/s, which similar to samba.

However, scp, which uses ssh tunneling as well is fast. I get 8MiB/s when I use scp.  What is wrong with the rsync algorighm that makes SSH so bloody slow. scp proves that it's not ssh that is the problem.

Last edited by SpookyET (2008-05-09 20:17:59)

Offline

#2 2008-05-09 20:29:45

japetto
Member
From: Chicago, IL US
Registered: 2006-07-02
Posts: 183

Re: Rsync + SSH = SLOW

Rsync is meant to speed up transfers when some duplicate files exist between host and destination.  When just transferring files, scp will always be faster.

Offline

Board footer

Powered by FluxBB