delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/25/15:49:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Mon, 25 Apr 2005 15:49:00 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: scp/ssh between two cygwin installations very slow
Message-ID: <20050425194900.GB14164@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <426D28E3 DOT 4080303 AT ege DOT cc> <426D48F4 DOT 5040908 AT ege DOT cc>
Mime-Version: 1.0
In-Reply-To: <426D48F4.5040908@ege.cc>
User-Agent: Mutt/1.5.8i

On Mon, Apr 25, 2005 at 09:45:56PM +0200, Bernhard Ege wrote:
>Bernhard Ege wrote:
>>I am trying to copy an 800MB file from my pc to my laptop. The pc has 
>>cygwin and cygwins sshd running and from the laptop I use the scp 
>>command to copy the file.
>>
>>Result: 190kB/s with low (1-5%) cpu usage on both machines.
>>
>>Expected result: at least 2-3MBps with somewhat higher cpuusage on both 
>>machines.
>
>Doh. I completely forgot that in my .ssh/config I had ssh call a script 
>using the ProxyCommand. That command is a shell script that detects 
>which network I am connected to (company or my own) and uses a tunneling 
>ssh command to the destination if on the company network or a direct 
>connection using "connect" if on my own network.
>
>The connect command is a fairly simple program that redirects 
>stdin/stdout to a host:port. This way, I can either use a ssh to 
>host:port if tunneling is required to connect to host:port if not.
>
>The problem is that cygwin has a very low throughput using the script 
>with the connect command. I guess it could be related to the slow pipe 
>problem mentioned earlier (but was supposedly fixed).
>
>I have tried without the ProxyCommand and the speed returned to an 
>acceptable 1.5MBps.
>
>I hope Cygwin can be fixed so the speed returns to normal :-)

Yep.  We'll get right on fixing that problem where fairly simple
programs which redirect stdin/stdout to a host:port cause reversions in
behavior of the "slow pipe" problem which was supposedly fixed.

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