From owner-freebsd-stable@FreeBSD.ORG Thu Feb 18 16:04:38 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45C901065692 for ; Thu, 18 Feb 2010 16:04:38 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id A5B568FC17 for ; Thu, 18 Feb 2010 16:04:37 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o1IG4aTs039419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Feb 2010 17:04:36 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B7D6513.6020406@omnilan.de> Date: Thu, 18 Feb 2010 17:04:35 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: Stephen Hurd References: <4B7C1365.9070806@omnilan.de> <70CD649D-7659-4CE2-A16C-49B8C891CB5B@mac.com> <4B7C4066.5040006@omnilan.de> <4B7D3938.1000309@omnilan.de> <4B7D5AC4.9020509@mahan.org> <4B7D61DE.2020906@omnilan.de> <4B7D645D.3090104@sasktel.net> In-Reply-To: <4B7D645D.3090104@sasktel.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig24FCC04F34504334AF94C7C0" Cc: freebsd-stable@freebsd.org, Patrick Mahan Subject: Re: RELENG_8 ignoring TCP window size? [Was: Re: Help for TCP understanding wanted, ACK-MSS-Window [Was: Re: best practice to watch TCP parms of established sockets]] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 16:04:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig24FCC04F34504334AF94C7C0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Stephen Hurd schrieb am 18.02.2010 17:01 (localtime): > Harald Schmalzbauer wrote: >> Some experimental results: >> When rsyncing with windows, and FreeBSD is receiver, I see the same=20 >> ACK ever two segemnts, but speed is at 72MB/s. >> When FreeBSD is sender and Windows is receiver, it looks more I=20 >> expected. There are about 20 data segments before a ACK is returned.=20 >> And there are TCP Window Update Segments, reflecting smaller receiver= =20 >> buffers on the windows side. But this happens at a throughput of=20 >> 82MB/s!!! So the windows machine is behaving like I understand the TCP= =20 >> flow control. >> Any explanation why the FreeBSD machine seems to ignore window size? >=20 > IIRC, the delayed ACK RFC requires an ACK at least every second segment= =2E Good hint, but disabling leads to ACK after every single data segment ?!?= Thanks, -Harry --------------enig24FCC04F34504334AF94C7C0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkt9ZRQACgkQLDqVQ9VXb8jQtwCfZnCWjfH5hQ92PMd4KgHrZtXZ lzoAnRGFYEg3iwLw7N/PonsMx3hCEXxQ =d8DW -----END PGP SIGNATURE----- --------------enig24FCC04F34504334AF94C7C0--