delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/08/02:37:08

X-Spam-Check-By: sourceware.org
Message-ID: <ba40711f0702072336l979b8e2h389f0a0219dbb921@mail.gmail.com>
Date: Thu, 8 Feb 2007 02:36:44 -0500
From: "Lev Bishop" <lev DOT bishop AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: pasting into an ssh connection painfully slow... sometimes
In-Reply-To: <31b7d2790702071624m433fa372xe143172106af366@mail.gmail.com>
MIME-Version: 1.0
References: <31b7d2790702071624m433fa372xe143172106af366 AT mail DOT gmail DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 2/7/07, DePriest, Jason R. wrote:
> My department manages some Netscreen NS208 firewalls.
>
> If I ssh into them with the cygwin ssh client (either with rxvt or
> with cygwin from a cmd.exe prompt), pasting into the session runs like
> a 2400 baud modem.
>
> If I ssh into them with something else such as PuTTY, then the paste
> function works just like it does on other systems: fast.
>
> I don't have this problem with cygwin ssh on systems other than the Netscreens.
>
> PuTTY doesn't have any special configuration done to it so that it
> works.  I just connect and its okay.
>
> Has anyone else experienced this sort of slowness and if so, how did you fix it?

Windows has some deficiencies when it comes to sending data in certain
configurations. They particularly show up due to the way cygwin makes
use of winsock. I looked into this a while ago:
http://www.cygwin.com/ml/cygwin-patches/2006-q2/msg00031.html

When I get some time I'll redo those patches against the latest cygwin
version. In the meantime, if netscreen provides a sysctl
net.inet.tcp.ackonpush or some way to disable delayed acks, then that
might help you.

Lev

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