This is the mail archive of the cygwin@cygwin.com 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: scp slow against cygwin sshd


Igor Pechtchanski wrote:
> Does upgrading to the latest Cygwin (1.5.3-1) and openssh (3.6.1p2-2)
> solve this problem?  It's usually a good idea to upgrade to the latest
> version before problem reports.

Well, yes. But Cygwin 1.3 just works. Anyway, I upgraded to the new 1.5 and
nothing changed.

> If the latest Cygwin and openssh don't solve this problem, try running
> "scp -vvv" and see if that provides any clues.  There's also strace ("man

This shows TCP window size(?) related adjustments:

debug2: channel 0: window 49152 sent adjust 81920
20m                                      0%  144KB 144.1KB/s   02:14 ETA
debug2: channel 0: window 49152 sent adjust 81920
20m                                      0%  192KB  96.0KB/s   03:21 ETA
debug2: channel 0: window 49152 sent adjust 81920

But these adjustments can also be watched when scp'ing from a Solaris 8
(Server - openssh) to Cygwin (client - scp):

debug2: channel 0: window 57344 sent adjust 73728
debug2: channel 0: window 57344 sent adjust 73728
debug2: channel 0: window 57344 sent adjust 73728

> strace"), which can tell you where the time is going.  Please make an

I had a first look at the strace output. Mmh. Just too much. I'll another
look later.

> effort to understand and analyze the strace output before dumping gobs of
> data to this list.

Sure, I won't :)

Cheers,
    Mario



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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