RSync Performance slow....
I have a question about rsync. Perhaps i just want too much speed wise, however it seems I am getting really poor performance.
I have a redundant server that runs a series of rsync's daily in serial (one after the other, not at the same time) to mirror the primary server.
What I have noticed is that it seems to be really slow. It takes close to 15 min to get the file list alone before the sync (this i can understand as to the depth of the file system it is mirroring) however I watched and timed the transfer of a DVD iso image of 4.7GB this took over an hour.
The two systems are on the same rack on the same switch, and there is little network traffic. I am using Ssh set with trusted keys so as to not have to enter a password. Here is the rsync call from one of the scripts. They are all the same excepting the IP's and paths.
rsync -av --delete -e 'ssh -p 222' \
If anyone has any suggestions on how to get a better transfer seed, Id appreciate it much! This is a non critical issue.
Try using "rsync -avz --delete -e ssh"
The z options tells the machine to use compression when transferring the file. I just backed up my server here in prep for a change the new hardware and transferred 400G in about 18 hours (100M network, same switch, same LAN). Otherwise it's sending it encrypted (-e ssh) but not compressed. Little more load on the CPU, but I don't think it will hinder anything.
|All times are GMT -5. The time now is 02:25 PM.|