Re: Fwd: Re: [tcpm] FW: Call for Adoption: TCP Tuning for HTTP

Willy Tarreau <w@1wt.eu> Fri, 04 March 2016 22:09 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E0A91A90D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 4 Mar 2016 14:09:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.903
X-Spam-Level:
X-Spam-Status: No, score=-6.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 5tJvlfIjWVA3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 4 Mar 2016 14:09:33 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 22CCE1A90BF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 4 Mar 2016 14:09:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1abxpo-0006Dx-0t for ietf-http-wg-dist@listhub.w3.org; Fri, 04 Mar 2016 22:04:32 +0000
Resent-Date: Fri, 04 Mar 2016 22:04:32 +0000
Resent-Message-Id: <E1abxpo-0006Dx-0t@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <w@1wt.eu>) id 1abxpi-0006DG-3P for ietf-http-wg@listhub.w3.org; Fri, 04 Mar 2016 22:04:26 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <w@1wt.eu>) id 1abxpg-0001SX-4g for ietf-http-wg@w3.org; Fri, 04 Mar 2016 22:04:25 +0000
Received: (from willy@localhost) by pcw.home.local (8.14.3/8.14.3/Submit) id u24M3lCl030921; Fri, 4 Mar 2016 23:03:47 +0100
Date: Fri, 04 Mar 2016 23:03:47 +0100
From: Willy Tarreau <w@1wt.eu>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: Joe Touch <touch@isi.edu>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20160304220347.GA30917@1wt.eu>
References: <56D74C23.5010705@isi.edu> <56D76A7E.7090507@isi.edu> <20160302232125.GA18275@1wt.eu> <56D77892.2000308@isi.edu> <20160303065545.GA18412@1wt.eu> <56D87BAC.4060204@isi.edu> <20160303184418.GA18774@1wt.eu> <CAOdDvNokUDxmfy87VrQNLoQvQknP6L3h6fLbuFeVpOiDN4szAQ@mail.gmail.com> <20160303220108.GB23875@1wt.eu> <CAOdDvNohs9TpLxMg-Vn-B=Ux2VumPL92hgqubARa7cgVinUmDg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAOdDvNohs9TpLxMg-Vn-B=Ux2VumPL92hgqubARa7cgVinUmDg@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-7.0
X-W3C-Hub-Spam-Report: AWL=0.926, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1abxpg-0001SX-4g 9653425c917474b1c78c95331204c738
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: Re: [tcpm] FW: Call for Adoption: TCP Tuning for HTTP
Archived-At: <http://www.w3.org/mid/20160304220347.GA30917@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31185
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Pat,

On Fri, Mar 04, 2016 at 04:16:22PM -0500, Patrick McManus wrote:
(...)
> on the one hand, we've gone from the client having a high rate of  fast
> 0RTT fails (blocked from initiating by TW).. to a situation where 3 things
> are going on
> 
> 1] an unquantified "large" fraction of quick successes. (no packet loss
> impact, no state machine out of sync and no blockage by a timer)
> 2] a number of cases of fast 1RTT fail where a RST is received by the client
> 3] a fraction that may succeed or fail, but much more slowly due to retry
> behavior with its set of lovely constants and backoffs

Yes that's exactly it.

> If I've got that (at least vaguely) right, there seem to be situational
> tradeoffs as to whether that is 'better' or not. Sounds like good
> discussion material in a tuning doc :)

By definition, tuning has to be performed according to a specific
situation, otherwise it becomes the standard way of doing things.

> Within the scope of "TCP for HTTP" would you say something different? (and
> sure, I agree legacy TCP might not be the fun thing here.. but its the
> topic at hand.)

My goal as well is not to dictate what should be done, but to enumerate
known impacts of various choices on various actors so that we can always
refer to that in the future for various parts of protocol designs (eg:
we've done this already when documenting the fact that we must drain a
request body before closing or that there's a DoS risk for proxies
passing a close received from the client). In the end it should help us
design more robust and more infrastructure-friendly protocols. And
that's exactly what Daniel has begun with this nice document.

Thanks for your support ;-)
Willy