From owner-freebsd-net@FreeBSD.ORG Tue Aug 26 14:44:11 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D123D55 for ; Tue, 26 Aug 2014 14:44:11 +0000 (UTC) Received: from mx11.netapp.com (mx11.netapp.com [216.240.18.76]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx11.netapp.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1473F3F70 for ; Tue, 26 Aug 2014 14:44:10 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.04,405,1406617200"; d="asc'?scan'208";a="142351205" Received: from vmwexceht06-prd.hq.netapp.com ([10.106.77.104]) by mx11-out.netapp.com with ESMTP; 26 Aug 2014 07:44:10 -0700 Received: from HIOEXCMBX03-PRD.hq.netapp.com (10.122.105.36) by vmwexceht06-prd.hq.netapp.com (10.106.77.104) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 26 Aug 2014 07:43:50 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx03-prd.hq.netapp.com (10.122.105.36) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 26 Aug 2014 07:43:49 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::55e3:a7dc:11bd:462%21]) with mapi id 15.00.0913.011; Tue, 26 Aug 2014 07:43:50 -0700 From: "Eggert, Lars" To: George Neville-Neil Subject: Re: Patches for RFC6937 and draft-ietf-tcpm-newcwv-00 Thread-Topic: Patches for RFC6937 and draft-ietf-tcpm-newcwv-00 Thread-Index: AQHPIYzc3HaTSw//+U6b0HMYTUDKSZt6PvOAgGprrIA= Date: Tue, 26 Aug 2014 14:43:49 +0000 Message-ID: <814E0886-1B6B-4316-8BAB-684DAFDE1983@netapp.com> References: <259C9434-C6FE-42EA-823D-ECB024DBF3D7@netapp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.1878.6) x-originating-ip: [10.122.56.79] Content-Type: multipart/signed; boundary="Apple-Mail=_9F65941C-9A73-4B60-B044-32DAA98D6156"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2014 14:44:11 -0000 --Apple-Mail=_9F65941C-9A73-4B60-B044-32DAA98D6156 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, the newcwv patch is probably stale now with Tom Jones' recent patch = based on a more up-to-date version of the Internet-Draft, but the PRR = patch should still be useful? Lars On 2014-6-19, at 23:35, George Neville-Neil = wrote: > On 4 Feb 2014, at 1:38, Eggert, Lars wrote: >=20 >> Hi, >>=20 >> below are two patches that implement RFC6937 ("Proportional Rate = Reduction for TCP") and draft-ietf-tcpm-newcwv-00 ("Updating TCP to = support Rate-Limited Traffic"). They were done by Aris = Angelogiannopoulos for his MS thesis, which is at = https://eggert.org/students/angelogiannopoulos-thesis.pdf. >>=20 >> The patches should apply to -CURRENT as of Sep 17, 2013. (Sorry for = the delay in sending them, we'd been trying to get some feedback from = committers first, without luck.) >>=20 >> Please note that newcwv is still a work in progress in the IETF, and = the patch has some limitations with regards to the "pipeACK Sampling = Period" mentioned in the Internet-Draft. Aris says this in his thesis = about what exactly he implemented: >>=20 >> "The second implementation choice, is in regards with the measurement = of pipeACK. This variable is the most important introduced by the method = and is used to compute the phase that the sender currently lies in. In = order to compute pipeACK the approach suggested by the Internet Draft = (ID) is followed [ncwv]. During initialization, pipeACK is set to the = maximum possible value. A helper variable prevHighACK is introduced that = is initialized to the initial sequence number (iss). prevHighACK holds = the value of the highest acknowledged byte so far. pipeACK is measured = once per RTT meaning that when an ACK covering prevHighACK is received, = pipeACK becomes the difference between the current ACK and prevHighACK. = This is called a pipeACK sample. A newer version of the draft suggests = that multiple pipeACK samples can be used during the pipeACK sampling = period." >>=20 >> Lars >>=20 >>=20 >> [prr.patch] >>=20 >> [newcwv.patch] >=20 > Apologies for not looking at this as yet. It is now closer to the top = of my list. >=20 > Best, > George --Apple-Mail=_9F65941C-9A73-4B60-B044-32DAA98D6156 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBU/ydN9ZcnpRveo1xAQL4UwP8DAslT04q+fibu3JSUWwaGleQ2UXzmBua fzO7DSihPn6AUvIwWlzwn78gWcIGgih8QWscI/PGoAmdN5fyaSPA0RBVgwMSLn/2 ADQY8ytM1gnmTJSDeHxrkDCrox+LsCX5/LmfGWXFM5j2gEiuM6vUi5v+cEMjqHqU XXGJ063BG6s= =39DM -----END PGP SIGNATURE----- --Apple-Mail=_9F65941C-9A73-4B60-B044-32DAA98D6156--