rsync'ing large files

Wayne Davison wayned at
Fri Apr 23 21:31:30 GMT 2004

On Thu, Apr 22, 2004 at 03:21:10PM -0600, Peter L. Wargo wrote:
> IIRC, the G5 has hardware sqrt.

Rsync doesn't call sqrt -- it just does a simple little integer
estimation.  It is probable that using a hardware sqrt call would be
faster than rsync's estimator, but taking only 0.00000041 seconds per
file instead of 0.00000232 seconds per file(*) is not going to make
much difference, even with a really large number of really large files.

* Actual measured values for taking the sqrt of 837,293,847,384 on a
fairly slow VIA processor.  Note that the estimator gets faster on
smaller numbers.


More information about the rsync mailing list