public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* scp slow against Cygwin sshd
@ 2003-09-04 11:59 Mario Kuechler
  2003-09-04 13:57 ` scp slow against cygwin sshd Christopher Faylor
  0 siblings, 1 reply; 5+ messages in thread
From: Mario Kuechler @ 2003-09-04 11:59 UTC (permalink / raw)
  To: cygwin

Hi,

when scp'ing files to or from Windows (2000) boxes with Cygwin sshd
installed (out of the box installation) transfer speed is not higher than
100 KB/s. All other network operations work as expected (100 MBit).

Where to start debugging?

Regards,
    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/

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

* Re: scp slow against cygwin sshd
  2003-09-04 11:59 scp slow against Cygwin sshd Mario Kuechler
@ 2003-09-04 13:57 ` Christopher Faylor
  2003-09-04 14:21   ` Mario Kuechler
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2003-09-04 13:57 UTC (permalink / raw)
  To: cygwin

On Thu, Sep 04, 2003 at 01:50:45PM +0200, Mario Kuechler wrote:
>when scp'ing files to or from Windows (2000) boxes with Cygwin sshd
>installed (out of the box installation) transfer speed is not higher than
>100 KB/s. All other network operations work as expected (100 MBit).
>
>Where to start debugging?

http://cygwin.com/problems.html

--
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/

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

* Re: scp slow against cygwin sshd
  2003-09-04 13:57 ` scp slow against cygwin sshd Christopher Faylor
@ 2003-09-04 14:21   ` Mario Kuechler
  2003-09-04 15:33     ` Igor Pechtchanski
  0 siblings, 1 reply; 5+ messages in thread
From: Mario Kuechler @ 2003-09-04 14:21 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

Christopher Faylor wrote:
>> Where to start debugging?
> 
> http://cygwin.com/problems.html

So the first step is the cygcheck output? It's attached.

Regards,
    Mario

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 12098 bytes --]


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Sep 04 16:11:26 2003

Windows 2000 Server Ver 5.0 Build 2195 Service Pack 4

Path:	d:\programs\cygwin\usr\local\bin
	d:\programs\cygwin\bin
	d:\programs\cygwin\bin
	d:\programs\oracle\bin
	d:\programs\Oracle\jre\1.1.7\bin
	d:\programs\Perl\bin\
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	d:\programs\java\bin

d:\programs\cygwin\bin\id.exe output (nontsec)
UID: 500(chef)       GID: 513(None)
513(None)            544(Administrators)  
545(Users)

d:\programs\cygwin\bin\id.exe output (ntsec)
UID: 500(chef)       GID: 513(None)
513(None)            544(Administrators)  
545(Users)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

CYGWIN = `binmode tty ntsec'
HOME = `d:\programs\cygwin\home\chef'
MAKE_MODE = `unix'
PWD = `/home/chef'
USER = `chef'

ALLUSERSPROFILE = `d:\users\All Users'
APPDATA = `d:\users\Administrator\Application Data'
CLIENTNAME = `ALDI'
COMMONPROGRAMFILES = `d:\programs\common'
COMPUTERNAME = `REDDOTF2'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `c:'
HOMEPATH = `\'
HOSTNAME = `reddotf2'
IWODHOME = `D:\programs\interwoven\OpenDeployNG'
IWODRMIPORT = `9173'
LOGONSERVER = `\\REDDOTF2'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `4'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0202'
PROGRAMFILES = `d:\programs'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
REDDOT5 = `d:\programs\RedDot5\ASP'
SESSIONNAME = `RDP-Tcp#5'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `d:\temp\1'
TERM = `cygwin'
TMP = `d:\temp\1'
USERDOMAIN = `REDDOTF2'
USERNAME = `chef'
USERPROFILE = `d:\users\Administrator'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `d:\programs\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `d:\programs\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `d:\programs\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                    
c:  hd  NTFS    2000Mb  38% CP CS UN PA FC     SYSTEM
d:  hd  NTFS   67452Mb   5% CP CS UN PA FC     DATA
e:  cd           N/A    N/A                    

d:\programs\cygwin      /          system  binmode
d:\programs\cygwin/bin  /usr/bin   system  binmode
d:\programs\cygwin/lib  /usr/lib   system  binmode
.                       /cygdrive  system  binmode,cygdrive

Found: d:\programs\cygwin\bin\awk.exe
Found: d:\programs\cygwin\bin\bash.exe
Found: d:\programs\cygwin\bin\cat.exe
Found: d:\programs\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: d:\programs\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: d:\programs\cygwin\bin\grep.exe
Found: d:\programs\cygwin\bin\ld.exe
Found: d:\programs\cygwin\bin\ls.exe
Not Found: make
Found: d:\programs\cygwin\bin\mv.exe
Found: d:\programs\cygwin\bin\rm.exe
Found: d:\programs\cygwin\bin\sed.exe
Found: d:\programs\cygwin\bin\sh.exe
Found: d:\programs\cygwin\bin\tar.exe

   58k 2002/05/07 d:\programs\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2002/5/7 8:33
  848k 2003/04/11 d:\programs\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=2003/4/11 12:33
  645k 2003/04/11 d:\programs\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2003/4/11 12:37
   45k 2001/04/25 d:\programs\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 7:28
   35k 2002/01/09 d:\programs\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 7:03
   76k 2003/03/09 d:\programs\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/3/9 21:51
   28k 2003/07/20 d:\programs\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
   30k 2003/08/03 d:\programs\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/8/3 18:17
   19k 2003/03/22 d:\programs\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 4:05
   15k 2003/07/20 d:\programs\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
   15k 2003/08/03 d:\programs\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/8/3 18:19
   17k 2001/06/28 d:\programs\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 5:34
   20k 2002/10/10 d:\programs\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10 19:28
  945k 2003/06/18 d:\programs\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2003/6/18 5:08
   22k 2001/12/13 d:\programs\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 10:28
   28k 2002/09/20 d:\programs\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/20 5:13
   26k 2001/04/25 d:\programs\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 7:27
   20k 2002/01/09 d:\programs\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 7:03
   48k 2003/03/09 d:\programs\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/3/9 21:51
  156k 2001/04/25 d:\programs\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
  175k 2002/01/09 d:\programs\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
  226k 2001/04/25 d:\programs\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 7:17
  202k 2002/01/09 d:\programs\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 7:03
  284k 2003/03/09 d:\programs\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/3/9 21:50
   15k 2001/04/25 d:\programs\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 7:27
   12k 2002/01/09 d:\programs\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 7:03
   31k 2003/03/09 d:\programs\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/3/9 21:50
   66k 2003/07/01 d:\programs\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2003/7/1 18:25
   63k 2003/04/11 d:\programs\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2003/4/11 10:31
   15k 2003/07/01 d:\programs\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2003/7/1 18:25
   61k 2003/04/11 d:\programs\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2003/4/11 10:31
   22k 2002/06/09 d:\programs\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
  108k 2001/06/28 d:\programs\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 5:34
  127k 2002/10/10 d:\programs\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/10/10 19:28
  176k 2003/04/11 d:\programs\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.7.dll" v0.0 ts=2003/4/11 12:33
  165k 2003/04/11 d:\programs\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2003/4/11 12:37
   50k 2002/03/12 d:\programs\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/12 5:38
  948k 2003/03/18 d:\programs\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/3/18 15:20
    Cygwin DLL version info:
        DLL version: 1.3.22
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 78
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Tue Mar 18 09:20:11 EST 2003
        CVS tag: dontuse-21
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: D:\programs\cygwin\dist
Last downloaded files from: http://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin

Package              Version
_update-info-dir     00197-1
ash                  20020731-1
base-files           2.1-1
base-passwd          1.1-1
bash                 2.05b-9
binutils             20030307-1
bzip2                1.0.2-2
clear                1.0-1
cygrunsrv            0.96-1
cygutils             1.1.4-2
cygwin               1.3.22-1
cygwin-doc           1.3-4
diffutils            2.8.1-1
file                 4.02-1
fileutils            4.1-1
findutils            4.1.7-4
gawk                 3.1.3-1
gdbm                 1.8.3-3
grep                 2.5-1
groff                1.18.1-2
gzip                 1.3.3-4
less                 378-1
libbz2_1             1.0.2-2
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-3
libgdbm3             1.8.3-3
libgdbm4             1.8.3-6
libiconv2            1.8-3
libintl1             0.10.40-1
libintl2             0.11.5-1
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-1
libpcre              4.1-1
libpcre0             4.3-2
libpopt0             1.6.4-4
libreadline4         4.1-2
libreadline5         4.3-2
login                1.9-5
man                  1.5j-2
mktemp               1.4-1
ncurses              5.3-1
newlib-man           20020801
openssh              3.6.1p1-2
openssl              0.9.7b-1
openssl096           0.9.6j-1
readline             4.3-2
rsync                2.5.6-1
sed                  4.0.7-1
sh-utils             2.0.15-3
tar                  1.13.25-1
termcap              20021106-2
terminfo             5.3_20030726-1
texinfo              4.2-4
textutils            2.0.21-1
time                 1.7-1
vim                  6.2-1
wget                 1.8.2-2
which                1.5-1
whois                4.6.2-1
zlib                 1.1.4-1

Use -h to see help about each section


[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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/

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

* Re: scp slow against cygwin sshd
  2003-09-04 14:21   ` Mario Kuechler
@ 2003-09-04 15:33     ` Igor Pechtchanski
  2003-09-04 16:14       ` Mario Kuechler
  0 siblings, 1 reply; 5+ messages in thread
From: Igor Pechtchanski @ 2003-09-04 15:33 UTC (permalink / raw)
  To: Mario Kuechler; +Cc: cygwin

On Thu, 4 Sep 2003, Mario Kuechler wrote:

> Christopher Faylor wrote:
> >> Where to start debugging?
> >
> > http://cygwin.com/problems.html
>
> So the first step is the cygcheck output? It's attached.
>
> Regards,
>     Mario

    Cygwin DLL version info:
        DLL version: 1.3.22
                     ^^^^^^
cygwin               1.3.22-1
                     ^^^^^^^^
openssh              3.6.1p1-2
                     ^^^^^^^^^

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.

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
strace"), which can tell you where the time is going.  Please make an
effort to understand and analyze the strace output before dumping gobs of
data to this list.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

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

* Re: scp slow against cygwin sshd
  2003-09-04 15:33     ` Igor Pechtchanski
@ 2003-09-04 16:14       ` Mario Kuechler
  0 siblings, 0 replies; 5+ messages in thread
From: Mario Kuechler @ 2003-09-04 16:14 UTC (permalink / raw)
  To: cygwin

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/

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

end of thread, other threads:[~2003-09-04 16:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 11:59 scp slow against Cygwin sshd Mario Kuechler
2003-09-04 13:57 ` scp slow against cygwin sshd Christopher Faylor
2003-09-04 14:21   ` Mario Kuechler
2003-09-04 15:33     ` Igor Pechtchanski
2003-09-04 16:14       ` Mario Kuechler

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).