Originally posted by: Wouter Liefting
scp and rsync both use the SSH protocol under the covers. You can greatly improve its performance by picking a fast encryption algorithm, such as blowfish. Use the -c blowfish option, or make the setting permanent in ~/.ssh/config. The default algorithm is normally 3DES which is not exactly the fastest algorithm available.
However, by far the fastest bulk data transfers can be done using netcat (nc) or ttcp, to or from which you pipe the output/input of tar. You might need to install nc or ttcp on Solaris and/or AIX but that may well be worth the effort.
On the server: nc -l 1234 | tar -xvf -
On the client: tar -cvf - * | nc <server> 1234
ttcp works along similar lines (connect stdin to a network socket, or a network socket to stdout) but has a different syntax. And if you only have nc or ttcp on one of the boxes, but not on the other, then some clever inetd/xinetd configuration may also be a solution on that end.
Tuning your ethernet adapter (particularly setting an MTU size of 64K throughout the path) and possibly using a dedicated x-over cable may also be worth the effort. You could even go all the way and setup and 802.3ad bonding configuration.
Obviously tar will retain the directory structure, UID, GID, permissions and dates. The same applies to most, if not all of the solutions proposed. But if your filesystem has files or directories that use ACLs, then you may need to transfer or migrate these manually. Or better yet: Use the opportunity to get rid of them altogether.
#AIX-Forum