[ALUG] Which way of using rsync will be faster?

Chris G cl at isbd.net
Sun Jan 3 14:42:34 GMT 2010


On Sun, Jan 03, 2010 at 02:38:43PM +0000, Chris G wrote:
> I'm using rsync to copy some files across my LAN.  There are various
> ways I can do this and I'd like to know which is likely to be fastest.
> 
> The (most obvious) ways I can see of doing it are:-
> 
> 1 - Run rxvt in conventional fashion across the network to the remote
>     system, e.g. with syntax like:-
>         rxvt -a /thisDir/ thatSystem:/thatDir/
> 
> 2 - Use the (already mounted) NFS mount of the remote system and, from
>     rxvt's point of view copy locally:-
>         rxvt -a /thisDir/ /mnt/thatDir/
> 
> 3 - sshfs?  Doesn't really seem a very sensible candidate.
> 
> 
> My *guess* is that probably option 1 is best but I'm not really sure.
> The object is more to minimise system load (and network load) than to
> get the absolute best speed.  The copies (backups) will likely run
> when I'm using the system so I want them not to overload things too
> much.
> 
..., option 1 does have a disadvantage though, it requires that there
is a passwordless (unattended passwordless that is) root login from my
system to the server.  The file copies are backups run as root from
/etc/cron.daily. 

-- 
Chris Green




More information about the main mailing list