Transferring Files to New Ubuntu System

Hakan Koseoglu hakan.koseoglu at gmail.com
Tue Nov 25 19:38:51 UTC 2008


Hi Brian,
On Tue, Nov 25, 2008 at 6:52 PM, Brian McKee <brian.mckee at gmail.com> wrote:
> Hey - that implies that -e rsh would be faster.  I have a couple of
> long running rsync jobs that run at night over a VPN anyway.  I wonder
> how much they'd speed up if I ran them over rsh instead.  Hmmm.....
With fast boxes and slow network speeds the difference -should- be
trivial. I prefer to be slightly paranoid and not to use any open
transfers as much as possible. The days where scp transfer speeds are
limited by CPU power are (hopefully) behind us. :)

Potentially scp and rsync should be better but interestingly, between
my laptop and dinky file server copying 10MB of /dev/urandom data
works faster on rsync. I must have configured something different
somewhere. :-)

hakan at photon:~$ rsync -atvP foo jupiter:~/foo
building file list ...
1 file to consider
foo
    10485760 100%   12.78MB/s    0:00:00 (xfer#1, to-check=0/1)

sent 10487156 bytes  received 42 bytes  6991465.33 bytes/sec
total size is 10485760  speedup is 1.00
hakan at photon:~$ ssh jupiter rm /home/hakan/foo
hakan at photon:~$ scp foo jupiter:~/foo
foo
            100%   10MB  10.0MB/s   00:01


On the other hand it appears to be a fluke, using 100MB of urandom data:

hakan at photon:~$ ssh jupiter rm /home/hakan/foo ; rsync -atvP foo
jupiter:~/foo ; ssh jupiter rm /home/hakan/foo ; scp foo jupiter:~/foo
building file list ...
1 file to consider
foo
   104857600 100%   11.32MB/s    0:00:08 (xfer#1, to-check=0/1)

sent 104870516 bytes  received 42 bytes  11039006.11 bytes/sec
total size is 104857600  speedup is 1.00
foo
            100%  100MB  12.5MB/s   00:08

This is between my 2-year old Dell laptop and a small Asus barebones,
both running different flavours of 8.04. As it can be seen, I'm
limited with the cheap 100Mbir switches between here and there.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org




More information about the ubuntu-users mailing list