rsync vs. rcp
James Knowles
jamesk at ifm-services.com
Thu Feb 20 07:26:38 EST 2003
> when dealing with 1GB+ files, rsync is
> 4-5 _times_ slower than rcp.
What OS?
I'm downloading cygwin (slow) to see if I can compile a Windows rsync that
doesn't show this nasty behaviour.
I just did a test on about 3.5GB total, Linux -> Linux. I got 11 minutes vs.
9 minutes on , which for bulk transport shows scp a tad faster, but
certainly not 4-5x. [When the >1GB files are sparsely altered, then it
becomes no contest with rsync. :-)]
For bulk transport:
$ /usr/bin/time rsync -essh -aSPv vmware/devel foomachine:/u1/scratch
building file list ...
7 files to consider
devel/
devel/hdrive.vmdk
1219973632 100% 5.16MB/s 0:00:00
devel/win2000.cfg
2012 100% 0.00kB/s 0:00:00
devel/win2000.log
39502 100% 31.25MB/s 0:00:00
devel/win2000.nvram
8648 100% 0.00kB/s 0:00:00
devel/win2000.vmdk
2094334464 100% 5.10MB/s 0:00:00
devel/win2000.vmss
277378961 100% 5.07MB/s 0:00:00
devel/
wrote 3592176100 bytes read 116 bytes 5357458.94 bytes/sec
total size is 3591737219 speedup is 1.00
114.23user 71.49system 11:10.09elapsed 27%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (961major+510minor)pagefaults 0swaps
$ ssh foomachine 'rm -rf /u1/scratch/*'
$ /usr/bin/time scp -pr vmware/devel/ foomachine:/u1/scratch
win2000.nvram 100%
|*******************************************************************| 8648
00:00
hdrive.vmdk 100%
|*******************************************************************| 1163
MB 02:59
win2000.cfg 100%
|*******************************************************************| 2012
00:00
win2000.log 100%
|*******************************************************************| 39502
00:00
win2000.vmdk 100%
|*******************************************************************| 1997
MB 05:10
win2000.vmss 100%
|*******************************************************************| 264
MB 00:41
0.29user 26.15system 8:52.43elapsed 4%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (218major+40minor)pagefaults 0swaps
--
Against the insidious wiles of foreign influence the jealousy of a free
people ought to be constantly awake, since history and experience prove,
that foreign influence is one of the most baneful foes of republican
Government.
- George Washington, 1796.
More information about the rsync
mailing list