Re: [tsvwg] Adoption call: draft-fairhurst-tsvwg-datagram-plpmtud-02 to end 10th January 2018

Christian Huitema <huitema@huitema.net> Mon, 22 January 2018 04:42 UTC

Return-Path: <huitema@huitema.net>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5AF771270A3 for <tsvwg@ietfa.amsl.com>; Sun, 21 Jan 2018 20:42:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qQuwErs868xj for <tsvwg@ietfa.amsl.com>; Sun, 21 Jan 2018 20:42:39 -0800 (PST)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DC9671241F8 for <tsvwg@ietf.org>; Sun, 21 Jan 2018 20:42:38 -0800 (PST)
Received: from xsmtp01.mail2web.com ([168.144.250.230]) by mx18.antispamcloud.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.89) (envelope-from <huitema@huitema.net>) id 1edTwI-0007jm-TU for tsvwg@ietf.org; Mon, 22 Jan 2018 05:42:36 +0100
Received: from [10.5.2.17] (helo=xmail07.myhosting.com) by xsmtp01.mail2web.com with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from <huitema@huitema.net>) id 1edTwH-0005ae-38 for tsvwg@ietf.org; Sun, 21 Jan 2018 23:42:34 -0500
Received: (qmail 9234 invoked from network); 22 Jan 2018 04:42:32 -0000
Received: from unknown (HELO [192.168.200.68]) (Authenticated-user:_huitema@huitema.net@[72.235.171.77]) (envelope-sender <huitema@huitema.net>) by xmail07.myhosting.com (qmail-ldap-1.03) with ESMTPA for <quic@ietf.org>; 22 Jan 2018 04:42:32 -0000
To: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, Michael Tuexen <michael.tuexen@lurchi.franken.de>
References: <CE03DB3D7B45C245BCA0D243277949362FE164EB@MX307CL04.corp.emc.com> <9837331A-76DF-4137-9612-CC653E869553@netapp.com> <5A563390.8050403@erg.abdn.ac.uk> <4123465B-CFE2-410E-BE1D-E09DC189F280@huitema.net> <9493C5B9-A79E-4311-8C07-67E14564B1ED@lurchi.franken.de> <838694fc-bfb6-9804-b8fa-ad7aa47e5472@huitema.net> <CAN1APdfiUTbnW2SrE_DXB2bOWqjd5GKjmZwEF11pBsHh9HHxZQ@mail.gmail.com> <CAN1APddumrZPELjeFR5hnwP3CuGUNyzZ_rZy=UJHqEZh0iZcWA@mail.gmail.com>
Cc: Gorry Fairhurst <gorry@erg.abdn.ac.uk>, "Black, David" <david.black@dell.com>, "Eggert, Lars" <lars@netapp.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, QUIC WG <quic@ietf.org>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <150452ec-ba36-f88a-4c29-013fea99c9c2@huitema.net>
Date: Sun, 21 Jan 2018 18:42:27 -1000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAN1APddumrZPELjeFR5hnwP3CuGUNyzZ_rZy=UJHqEZh0iZcWA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------BF4705958E1D67DBB5B8A056"
X-Originating-IP: 168.144.250.230
X-AntiSpamCloud-Domain: xsmtpout.mail2web.com
X-AntiSpamCloud-Username: 168.144.250.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24@xsmtpout.mail2web.com
X-AntiSpamCloud-Outgoing-Class: unsure
X-AntiSpamCloud-Outgoing-Evidence: Combined (0.28)
X-Recommended-Action: accept
X-Filter-ID: EX5BVjFpneJeBchSMxfU5r3d1FEZaJyy6RdGXSw7HVoXv9krsgRhBn0ayn6qsUc7AxcDYLQWPWOw vKJpm+ErX61PdOWeIW8R8TgUu5HhPnK38d4FYMJ18qq2r1t0MX4pTGulXfuaNr1V9B1E4+3dI3nk BRYAruZ5hO/GfxnCDKfexuySguwLMduKZTz1yvfdjj0HlFDoqoWF20+xKQ35+nd/nGlMBQ0xDQkm A/S/XltWjP649SQzhF817kql58kAx71HfxpF/K3Kf4qEIfLm3dpo8E55I3oL4X/9gaBZfvr6VL1B tSX2x7FdoqxZLLNInsq4c1pop2DuIERl592w1UzGVaY28QIxbnHhmVmUg//xFvReUB/vUq9cRUSN fRacYvJxnE2uvPYPCbpmnXes/ii2IAbWxB6xZ+NuqELn3pmRVYKU9W9tbmVXJBqdHHDm4W04ooUi IegHnDOOrq+/aMk+XoreKQ2SPH1UIIzo7c3uTDbeuuD7RyXX9xP+P0f0Ag9a4/umK8TKOyIhy/MM CWJiDTNcG3JDJbPAgvYc1/Lh9PobrbwB1Jj4vRnvuFdQKx3Zprq3ZEpafGy+zLjUntilh9dvYvV/ 5Pg3UZt3l4cobM5+AwD0A5qDgSPsXJ3Gd20T8xFITcF1bVYFM5+Dh5nHEeB4hpRrmo/duzUUp/KF wDYBeSemKbii9YvUlgY150ku1BnD/V+CzyU6QOlKX3LYM3A6BXfvel8OEFDbU529jj6VuEkkQiOd 2CLFCAI+AqMI8XB32z4L/a53NbOeOoj2lB9TLiDMfXuvSrucRXrlnGtGdG3g+ozMfeTuFOSvpsib JQz6bCR19sO/++nnSqCDBedeB75TJ0VuxRY+unEnaeycva4NRXu2m3j3Y8zB9xGo0bndvIE+SDBs cm+vLiZuZ5OAUoGBziSYFLZuu6wTRhJez+ibxiREoUwadL3g
X-Report-Abuse-To: spam@quarantine5.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/hpdivkYEZPduphTSpN7LWxIpXPk>
Subject: Re: [tsvwg] Adoption call: draft-fairhurst-tsvwg-datagram-plpmtud-02 to end 10th January 2018
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jan 2018 04:42:41 -0000


On 1/20/2018 11:50 PM, Mikkel Fahnøe Jørgensen wrote:
> Here is a Fibonacci variant the grows slower.
> Not sure it is any better, but the intention is to avoid probing very
> large packets too early.
> It could probably be applied recursively to avoid bin search altogether.
> The same idea might be applicable to reducing the congestion window as
> opposed to doubling or halving.
>
> /* Fibonacci variant */
> /* roughly like this - untestet */
> unit = 10 /* min probe increment */
> a = minPMTU / unit
> b = maxPMTU / unit
> k1 = initDelta /* 1 or larger, e.g. a / 4 */
> k0 = 0
> while a + k0 <= b
>   k2 = k0 + k1
>   n = binsearch(a + k0, min(a + k1 - 1, b), unit)
>   if n return n
>   k0 = k1
>   k1 = k2
> end
> /* binsearch probes multiples of unit and calls
>    updatePMTUEstimate(n) whenever n is a larger
>    valid probe than previously reported */
>
Yes, there are multiple ways to go about sending probes. In the QUIC
case, the peer sends its own version of MAX MTU during the handshake. So
what I did was simply try the peer's MTU, and if that fail do a binary
search between that and the initial value. The peer MTU is typically
between 1470 and 1500, so the binary search converges very quickly.

There are certainly ways to do better, especially if the peer sets its
own MTU to some large value, e.g. in a data center environment. For
example, one could have a table of probability of finding some
particular MTU. And then apply logic based on how much the connection
wants to send, what it costs to send a probe, and what is the likely
gain if the probe succeeds. You could use that to choose the next probed
value. Or to decide to stop probing if no plausible next value can bring
a potential gain. Or to send several probes in parallel...

-- Christian Huitema