X-Spam-Check-By: sourceware.org Message-ID: Date: Thu, 8 Feb 2007 02:36:44 -0500 From: "Lev Bishop" 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <31b7d2790702071624m433fa372xe143172106af366 AT mail DOT gmail DOT com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/