rsync very slow, but not a network issue

Alexis Gallagher alexis@alexisgallagher.com
Mon Jul 12 17:46:00 GMT 2004


Hello,

I am finding that rsync+ssh is giving extremely slow file transfers. But 
this slowdown is hitting not when it needs to send data over the 
network, but when it applies the rsync algorithm which is supposed to be 
faster than sending all the data over the network. This is very puzzling.

For a benchmark, I tried transfering a 5.4 MB mp3 file three different 
ways. Here were my results, as reported by 'scp -v' and 'rsync 
--progress --stats':

    scp: 311000 B/s
    rsync (file not there): 309000 B/s
    rsync (file already there): 741 B/s

When the file is alredy there, rsync reports a speedup of about 70. 
(When the file is not already there, the speed up is 1, of course.) I am 
running rsync over ssh with pre-generated keys installed in my .ssh 
directories.

The receiving machine is running OS X 10.3.4. It has OpenSSH_3.6.1p1 (as 
judged from the 'ssh -v' output) and the fink installation of 
rsync2.6.2. The sending machine is running WinXPProSP1, with rsync 2.6.2 
and OpenSSH_3.8.1p1. FWIW, I am attaching my cygcheck.out, as suggested 
in the webpage on using this list.

Much obliged for any help,
Alexis
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040712/8a799ef5/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list