reducing memmoves

2004-08-01 Thread Chris Shoemaker
Attached is a patch that makes window strides constant when files are walked with a constant block size. In these cases, it completely avoids all memmoves. In my simple local test of rsyncing 57MB of 10 local files, memmoved bytes went from 18MB to zero. I haven't tested this for a big variety o

Re: rsync "-I" vs. "-c"

2004-08-01 Thread Wayne Davison
On Sun, Aug 01, 2004 at 06:20:11PM -0700, Linda A. W. wrote: > If I use the "-I" to ignore date and size as quick-check methods of > determining change, what method does it use to determine difference? With -I, rsync does no advance determination of sameness, it just transfers all the files and le

Re: rsync "-I" vs. "-c"

2004-08-01 Thread Chris Shoemaker
On Sun, Aug 01, 2004 at 06:20:11PM -0700, Linda A. W. wrote: > If I use the "-I" to ignore date and size as quick-check methods of > determining just modtime. rsync never ignores size differences. > change, what method does it use to determine difference? If it falls > back to > checksumming

rsync "-I" vs. "-c"

2004-08-01 Thread Linda A. W.
If I use the "-I" to ignore date and size as quick-check methods of determining change, what method does it use to determine difference? If it falls back to checksumming the entire file, maybe the manpage might warn that this would be as expensive as using the "-c" option...or not depending on