delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/26/07:44:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Carlos Romero Mas" <crmas AT uma DOT es>
To: <cygwin AT cygwin DOT com>
Subject: RE: Extremely slow transfer related to ssh
Date: Wed, 26 Nov 2003 13:44:21 +0100
Organization: =?iso-8859-1?Q?Servicio_Central_de_Inform=E1tica._UMA.?=
Message-ID: <004d01c3b41b$03918150$2228d696@pccrm>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <001801c3b356$643f3850$2228d696@sci.uma.es>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hAQCiYcZ004497

I have just discovered was my problem: the ethernet card was configured
as auto (media). When i have configured as "100 full duplex" all gone
well.

Sorry. 

-----Mensaje original-----
De: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] En nombre
de Carlos Romero Mas
Enviado el: martes, 25 de noviembre de 2003 14:17
Para: cygwin AT cygwin DOT com
Asunto: Extremely slow transfer related to ssh


Since I have moved to Windows XP I am experiencing extremely slow
transfers using ssh related tools (rsync -essh, scp)

I have installed last version, searched for problems like this into the
mailing lists, and i have found:

cygwin deadlocks due to broken select() when writing to pipes
    http://sources.redhat.com/ml/cygwin/2003-10/msg01810.html

And 

Re: scp slow against cygwin sshd
    http://sources.redhat.com/ml/cygwin/2003-09/msg00311.html

Then I have run strace -m 0x00040 and it seems the problem sounds
similar to first reference: .....
  138 2579039 [main] scp 3376 readv: no need to call ready_for_read
   43 2579082 [main] scp 3376 fhandler_base::read: returning 2048,
binary mode
  139 2579221 [main] scp 3376 fhandler_base::write: binary write
   51 2579272 [main] scp 3376 fhandler_base::write: 2048 = write
(0xA041AC8, 2048)
  138 2579410 [main] scp 3376 readv: no need to call ready_for_read
   46 2579456 [main] scp 3376 fhandler_base::read: returning 2048,
binary mode
  137 2579593 [main] scp 3376 fhandler_base::write: binary write 1103362
3624741 [main] ssh 1664 dtable::select_read: /dev/tcp fd 3
  716 3625457 [main] ssh 1664 select_stuff::wait: m 2, ms 4294967295
21248331 24873788 [main] ssh 1664 dtable::select_read: /dev/tcp fd 3
   81 24873869 [main] ssh 1664 dtable::select_write: /dev/tcp fd 3
   75 24873944 [main] ssh 1664 dtable::select_read: /dev/piper fd 4
  687 24874631 [main] ssh 1664 select_stuff::wait: m 3, ms 4294967295
1622 24876253 [read_pipe] ssh 1664 fhandler_base::read: returning 16384,
binary mode 22353570 24933163 [main] scp 3376 fhandler_base::write: 2048
= write (0xA041AC8, 2048)
  253 24933416 [main] scp 3376 readv: no need to call ready_for_read
   69 24933485 [main] scp 3376 fhandler_base::read: returning 2048,
binary mode
  182 24933667 [main] scp 3376 fhandler_base::write: binary write

Thank you for this great software.

Carlos.

--
Tecnico de Sistemas
Servicio Central de Informatica
Universidad de Málaga
España


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


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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019