public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Rsync + SSH slow speed
@ 2020-12-11 10:59 Luis Gonzalez
  2020-12-17 18:43 ` Luis Gonzalez
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Gonzalez @ 2020-12-11 10:59 UTC (permalink / raw)
  To: cygwin

Hi to everybody,
i have several windows server in different location with the  latest
version of cygwin with open ssh and rsync installed openssh 8.4p1-2
rsync  3.2.4dev
i'm trying to rsync from centos with rsync 3.2.3
The problem is that if i use rsync
/usr/bin/rsync -rlptDvh  --partial --del --progress -s --ignore-errors
  -og --timeout=500 --include-from=/scripts/clients/pattern.txt
--rsh='ssh -p 2230  -o CheckHostIP=no  -o Compression=no '
Administrator@host:/cygdrive/ /dst/client/

speed is only above 2.0MBps. CPu is over 5%, hard disk is about 1% and
network speed is about 2%
if i made the same rsync over linux machine on the same location speed
is up to 60MBps(network speed on both sides is 600Mbps)

i've tried to install rsync as a service on windows machine and use
ssh as a tcp fordwarding and then the rsync speed is over 20MBps :-O

Do you know what is the config problem for this slow speed with rsync
directly over ssh?
best regards

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Rsync + SSH slow speed
  2020-12-11 10:59 Rsync + SSH slow speed Luis Gonzalez
@ 2020-12-17 18:43 ` Luis Gonzalez
  2020-12-18  9:37   ` Luis Gonzalez
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Gonzalez @ 2020-12-17 18:43 UTC (permalink / raw)
  To: cygwin

I have tried new things.
I have copied deltaCopy into cygwin64 directory
when i made the rsync command i use the rsync from deltacopy
(--rsync-path=/DeltaCopy/rsync.exe )
/usr/bin/rsync -rlptDvh  --partial --del --progress -s --ignore-errors
--rsync-path=/DeltaCopy/rsync.exe  -og --timeout=500
--include-from=/scripts/clients/pattern.txt
--rsh='ssh -p 2230  -o CheckHostIP=no  -o Compression=no '
Administrator@host:/cygdrive/ /dst/client/

with this configuration the speed goes to 30MBps  :-OOOOOO
i supposed that this version of rsync is optimized for speed.
best regards

El vie, 11 dic 2020 a las 11:59, Luis Gonzalez
(<luis.gonzalez@gmail.com>) escribió:
>
> Hi to everybody,
> i have several windows server in different location with the  latest
> version of cygwin with open ssh and rsync installed openssh 8.4p1-2
> rsync  3.2.4dev
> i'm trying to rsync from centos with rsync 3.2.3
> The problem is that if i use rsync
> /usr/bin/rsync -rlptDvh  --partial --del --progress -s --ignore-errors
>   -og --timeout=500 --include-from=/scripts/clients/pattern.txt
> --rsh='ssh -p 2230  -o CheckHostIP=no  -o Compression=no '
> Administrator@host:/cygdrive/ /dst/client/
>
> speed is only above 2.0MBps. CPu is over 5%, hard disk is about 1% and
> network speed is about 2%
> if i made the same rsync over linux machine on the same location speed
> is up to 60MBps(network speed on both sides is 600Mbps)
>
> i've tried to install rsync as a service on windows machine and use
> ssh as a tcp fordwarding and then the rsync speed is over 20MBps :-O
>
> Do you know what is the config problem for this slow speed with rsync
> directly over ssh?
> best regards

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Rsync + SSH slow speed
  2020-12-17 18:43 ` Luis Gonzalez
@ 2020-12-18  9:37   ` Luis Gonzalez
  0 siblings, 0 replies; 3+ messages in thread
From: Luis Gonzalez @ 2020-12-18  9:37 UTC (permalink / raw)
  To: cygwin

more tests.
thanks to http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html
i have obtained differents version of rsync
i have tried with 3.0.9, 3.1.0, 3.1.1, 3.1.2, 3.2.3 and the speed is
always 2.0MBps
the 3.0.9 version of deltacopy goes to 30MBps...but needs theis own cygwin1.dll
the deltacopy 3.0.9 version has different size from cygwin. Deltacopy
has 367kb size and cygwin has 375kn, obviusly is not the same version
(but both says version 3.0.9 version 30)
thanks

El jue, 17 dic 2020 a las 19:43, Luis Gonzalez
(<luis.gonzalez@gmail.com>) escribió:
>
> I have tried new things.
> I have copied deltaCopy into cygwin64 directory
> when i made the rsync command i use the rsync from deltacopy
> (--rsync-path=/DeltaCopy/rsync.exe )
> /usr/bin/rsync -rlptDvh  --partial --del --progress -s --ignore-errors
> --rsync-path=/DeltaCopy/rsync.exe  -og --timeout=500
> --include-from=/scripts/clients/pattern.txt
> --rsh='ssh -p 2230  -o CheckHostIP=no  -o Compression=no '
> Administrator@host:/cygdrive/ /dst/client/
>
> with this configuration the speed goes to 30MBps  :-OOOOOO
> i supposed that this version of rsync is optimized for speed.
> best regards
>
> El vie, 11 dic 2020 a las 11:59, Luis Gonzalez
> (<luis.gonzalez@gmail.com>) escribió:
> >
> > Hi to everybody,
> > i have several windows server in different location with the  latest
> > version of cygwin with open ssh and rsync installed openssh 8.4p1-2
> > rsync  3.2.4dev
> > i'm trying to rsync from centos with rsync 3.2.3
> > The problem is that if i use rsync
> > /usr/bin/rsync -rlptDvh  --partial --del --progress -s --ignore-errors
> >   -og --timeout=500 --include-from=/scripts/clients/pattern.txt
> > --rsh='ssh -p 2230  -o CheckHostIP=no  -o Compression=no '
> > Administrator@host:/cygdrive/ /dst/client/
> >
> > speed is only above 2.0MBps. CPu is over 5%, hard disk is about 1% and
> > network speed is about 2%
> > if i made the same rsync over linux machine on the same location speed
> > is up to 60MBps(network speed on both sides is 600Mbps)
> >
> > i've tried to install rsync as a service on windows machine and use
> > ssh as a tcp fordwarding and then the rsync speed is over 20MBps :-O
> >
> > Do you know what is the config problem for this slow speed with rsync
> > directly over ssh?
> > best regards

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-18  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 10:59 Rsync + SSH slow speed Luis Gonzalez
2020-12-17 18:43 ` Luis Gonzalez
2020-12-18  9:37   ` Luis Gonzalez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).