On Thu, 2009-10-15 at 19:07 -0700, Mike Connell wrote: > Today I tried the following: > > For all subsub directories > a) Fork a "du -s subsubdirectory" on the destination > subsubdirectory > b) Run rsync on the subsubdirectory > c) repeat untill done > > Seems to have improved the time it takes by about 25-30%. It looks > like the du can > run ahead of the rsync...so that while rsync is building its file > list, the du is warming up > the file cache on the destination. Then when rsync looks to see what > it needs to do > on the destination, it can do this more efficiently.
Interesting. If you're not using incremental recursion (the default in rsync >= 3.0.0), I can see that the "du" would help by forcing the destination I/O to overlap the file-list building in time. But with incremental recursion, the "du" shouldn't be necessary because rsync actually overlaps the checking of destination files with the file-list building on the source. -- Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
