by jkgm » Tue Jan 10, 2012 7:07 am
$this->bbcode_second_pass_quote('WarheadsSE', 'T')hat rsync method uses ssh, which isn't exactly the worlds most performant network transport.
Really? I was doing a network rsync over 1000Mbit today and getting sustained 65+MB/sec (not Mb/sec!). That was from an iMac to a Mac Server, but unless the ALARM ports are specifically broken I'd say there's absolutely nothing wrong with rsync/ssh for file transfers. I
always use the -W flag for LAN or local transfers, and it helps a lot.
For reference, here are what the flags I normally use do (from the
man page):
$this->bbcode_second_pass_code('', 'Flags I use for rsync:
-a, --archive archive mode; equals -rlptgoD (no -H,-A,-X)
-v, --verbose increase verbosity
-x, --one-file-system don't cross filesystem boundaries
-P same as --partial --progress
-W, --whole-file copy files whole (w/o delta-xfer algorithm)
--inplace update destination files in-place
Individual flags from combined flags above:
-r, --recursive recurse into directories
-l, --links copy symlinks as symlinks
-p, --perms preserve permissions
-t, --times preserve modification times
-g, --group preserve group
-o, --owner preserve owner (super-user only)
-D same as --devices --specials
--progress show progress during transfer
--partial keep partially transferred files
--devices preserve device files (super-user only)
--specials preserve special files
')
If the problem is the Pogoplug being too slow to cope with standard SSH compression, you can also turn that off with --no-z
$this->bbcode_second_pass_code('', ' --no-OPTION turn off an implied OPTION (e.g. --no-z)
-z, --compress compress file data during the transfer
')