View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-24-2008, 08:36 AM   #1
LQ Newbie
Registered: Apr 2008
Location: Toronto
Distribution: RadHat, Ubuntu, SuSE
Posts: 9

Rep: Reputation: 0
RSync Performance slow....

Hi all,

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' \
$XONG_IP:/home \
/home/ >>/var/log/rsync.xong.log

If anyone has any suggestions on how to get a better transfer seed, Id appreciate it much! This is a non critical issue.

Thanks Again.
Old 04-25-2008, 06:34 AM   #2
QmailToaster Developer
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220

Rep: Reputation: 31
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.


performance, rsync

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Performance of CentOS 5.1 is slow...very slow! 90% mem used!! Why? Jazzmaster777 Linux - Server 5 04-13-2008 05:48 AM
Slow performance!!! System using a lot of Physical Memory SLOW HELP! badgerbox76 Linux - Newbie 31 07-19-2007 10:23 AM
rsync - transfer slow - bandwidth limiting? phatboyz Linux - Networking 3 01-13-2005 02:40 PM
performance issue: rsync sends existing files microtim Linux - Networking 1 12-02-2004 02:27 AM
Slow performance satinet Slackware 9 06-15-2004 04:54 PM

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration