delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/14/13:25:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CAEn3K4_=FtKc1pbiSv71i-xGy4V3tbh=pzGXh9-NtO04_mwYiw@mail.gmail.com>
References: <CAEn3K4_=FtKc1pbiSv71i-xGy4V3tbh=pzGXh9-NtO04_mwYiw AT mail DOT gmail DOT com>
Date: Wed, 14 Dec 2011 13:25:05 -0500
Message-ID: <CAG_2cTkFEB5e8KJ2Y_BJV_sf1sLGVyCeeOTud+TMS+=OFWOv0A@mail.gmail.com>
Subject: Re: Issues with TCP Window Scaling Factor and Cygwin Daemons
From: Jon Clugston <jon DOT clugston AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pBEIPUGD027140

On Wed, Dec 14, 2011 at 12:58 PM, David Groves <dave AT fibrecat DOT org> wrote:
> I am having some issues with cygwin applications (specifically sshd)
> and TCP Window Scaling Factors. I am using OpenSSH client on either a
> Debian Linux or FreeBSD machine to connect to sshd on a Windows 2k8 R2
> server.
>
> My SYN from the client has a non-zero WSF (16 for Debian, 8 for
> FreeBSD), but the SYNACK response from the windows box has 0 as the
> WSF. This means I will have a maximum of 64Kbytes of traffic allowed
> to be unacknowledged in the TCP window. This is causing me
> considerable performance problems in transfers from Europe to the US
> West Coast and Australia.
>
> To try and decide if cygwin was a factor in this, I tried to replicate
> this with Apache2 and pure-ftpd on cygwin, and in both cases, the WSF
> was 0. I then tried a non-cygwin Apache2 install, and it returned a
> non-zero WSF.
>
> TCP settings is clearly a function of the OS, but I'm a little unsure
> where the line is drawn between the OS with cygwin, and it is
> interesting I can reproduce this with multiple cygwin apps, and I
> cannot reproduce it with non-cygwin apps, I'm thinking cygwin is at
> least somewhat involved as part of the problem.
>
> Anyone have any ideas/pointers ?
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

Did you do all these tests w/ the same Windows machine?  I believe
that Windows XP always sets the WSF to zero, but newer versions
support scaling.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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