This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Telnet / SSH connection timeout on LAN
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Warren Young <wyml at etr-usa dot com>, cygwin at cygwin dot com
- Date: Mon, 13 Jul 2015 19:34:20 +0300
- Subject: Re: Telnet / SSH connection timeout on LAN
- Authentication-results: sourceware.org; auth=none
- References: <1436142936994-119480 dot post at n5 dot nabble dot com> <7931485F-EEA3-4C1B-8B2C-E495EF5ED1A9 at etr-usa dot com> <1283519593 dot 20150709090453 at yandex dot ru> <5C24455B-3D28-4C6D-A77B-70BB5D67F0AA at etr-usa dot com> <1023815842 dot 20150711053838 at yandex dot ru> <F96E2C14-5C27-43A0-AC16-DDF01F05BB23 at etr-usa dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, Warren Young!
>>> 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:
>
> https://en.wikipedia.org/wiki/Rsync#Determining_which_parts_of_a_file_have_changed
> 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.
In my environment, a small touch to the original file cause changes throughout
the entirety of its stored image. ('cause storage format is actually an
archive, and a small change here and there in the source file cause massive
shifts in the resulting image.)
You see, it is a matter of application and environment.
--
With best regards,
Andrey Repin
Monday, July 13, 2015 19:31:58
Sorry for my terrible english...