rsync icon indicating copy to clipboard operation
rsync copied to clipboard

rsync -avzh hangs forever from 3.2.3 to 3.1.3 if file is bigger than 16GB

Open Enerccio opened this issue 3 years ago • 2 comments

Enerccio avatar Aug 22 '21 05:08 Enerccio

It is undoubtedly churning through such the huge quantity of checksum matches that it overwhelms the cpu. In the future I will probably change the sender to segment really large files into chunks so the transfer will be as efficient as if the large file had been broken-up into several more-manageable files without having to spend I/O on the breakup and reconstruction. i.e., it won't be able to use a checksum match for a late chunk in the file for an early chunk in the file, but it also won't bog down the checksum matching algorithm. The nice thing about this is that this change should be totally contained to the sender logic, where the receiving side doesn't need to know that the sender is limiting its matching into sub-file buckets.

WayneD avatar Jan 02 '22 22:01 WayneD

I'm closing this bug in favor of the extra info in #217.

WayneD avatar Jan 02 '22 22:01 WayneD