[PATCH] Discard unusable hash table entries

2013-07-28 Thread Michael Chapman
During an in-place update, a block can not be matched if its offset is prior to the sender offset, if SUMFLG_SAME_OFFSET is not set. As the sender offset is only ever incremented, and SUMFLG_SAME_OFFSET is never cleared on a block, a block that fails this test will never pass it in the future. It c

Improve --inplace updates on pathological inputs

2013-07-28 Thread Michael Chapman
Hi, I recently came across a situation where "rsync --inplace" performs very poorly. If both the source and destination files contain long sequences of identical blocks, but not necessarily in the same location, the sender can spend an inordinate amount of CPU time finding matching blocks. In

Re: rsync speed limited by read chunk size?

2013-07-28 Thread AZ 9901
Le 13 juil. 2013 à 14:42, AZ 9901 a écrit : > Le 12 juil. 2013 à 19:35, Wayne Davison a écrit : > >> On Tue, Jul 9, 2013 at 9:46 AM, CM Fields wrote: >> Is rsync speed limited to 160MB/sec read speeds due to the chunk read size? >> Or, are we seeing just a coincidence and the limitation is som

Rsync 3.1.0pre1 released

2013-07-28 Thread Wayne Davison
I have just made rsync 3.1.0pre1 available for downloading (finally!). This is a feature release that has a lot of improvements, performance enhancements, and bug fixes. I hope you enjoy it. Please test this new release and send email to the rsync mailing list with any questions, comments, or bu