This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Telnet / SSH connection timeout on LAN

On Jul 10, 2015, at 8:38 PM, Andrey Repin <> wrote:
>> Consider all the disk I/O required.  In its default mode, rsync must do a
>> full directory tree scan on the directory to be transferred, on *both* ends.
>> For each file with a different mtime or size, it must then recompute all the
>> hashes in that file, again on both sides.
> Wrong. In default mode, rsync only care about timestamp and size.
> It will not go on hashing crusade unless explicitly told to.

You misunderstood what I wrote.  Given a changed mtime or file size, rsync then must re-read the file on both sides in order to generate a series of checksums on chunks of the file in order to determine which parts of the file have changed, so that it transfers only the changes.  See:

If you skip this step, you must transfer the entire file contents to the other side, since a difference only in the mtime and/or file size doesnât tell you which parts of the file have changed.
Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]