<br>I've heard lots of good suggestions already - another thing that I've not seen mentioned is, upgrading your kernel may help.  Somewhere shortly before kernel 3.0, pathname lookups got noticeably faster.<br><br>
You could also try an alternative filesystem like xfs.  It's supposed to be pretty good at large directories.<br><br><div class="gmail_quote">On Thu, Apr 12, 2012 at 11:29 AM, vijay patel <span dir="ltr"><<a href="mailto:catchvjay@hotmail.com">catchvjay@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
Hi Friends,<br> <br>I am using rsync to copy data from Production File Server to Disaster Recovery file server. I have 100Mbps link setup between these two servers. Folder structure is very deep. It is having path like /reports/folder1/date/folder2/file.tx, where we have 1600 directories like 'folder1',  daily folders since last year in date folder and 2 folders for each date folder like folder2  which ultimately will contain the file. Files are not too big but just design of folder structure is complex. Folder structure design is done by application and we can't change it at the moment. I am using following command in cron to run rsync.<br>
 <br>rsync -avh --delete --exclude-from 'ex_file.txt' /reports/ 10.10.10.100:/reports/ | tee /tmp/rsync_report.out >> /tmp/rsync_report.out.$today<br> <br>Initially we were running it every 5 mins then we increased it to every 30 mins since one instance was not getting finished in 5 mins. Now we have made it to run every 8 hours because of lots of folders. Is there a way i can improve performance of my rsync??<br>
 <br> <br>Regards,<br>Vijay<br><br>                                         </div></div>
<br>--<br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/%7Eesr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br></blockquote></div><br>