Re: Call for Adoption: TCP Tuning for HTTP

Leif Hedstrom <leif@ogre.com> Tue, 08 March 2016 22:53 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B341912DBE9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 8 Mar 2016 14:53:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.021
X-Spam-Level:
X-Spam-Status: No, score=-7.021 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ogre.com
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QwzqhFzqyvSx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 8 Mar 2016 14:53:47 -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 3192012DBE8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 8 Mar 2016 14:53:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1adQQx-0001dg-Km for ietf-http-wg-dist@listhub.w3.org; Tue, 08 Mar 2016 22:48:55 +0000
Resent-Date: Tue, 08 Mar 2016 22:48:55 +0000
Resent-Message-Id: <E1adQQx-0001dg-Km@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <leif@ogre.com>) id 1adQQq-0001bB-55 for ietf-http-wg@listhub.w3.org; Tue, 08 Mar 2016 22:48:48 +0000
Received: from cosmo4.ogre.com ([71.6.165.248] helo=cosmo.ogre.com) by maggie.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from <leif@ogre.com>) id 1adQQj-0000SV-9V for ietf-http-wg@w3.org; Tue, 08 Mar 2016 22:48:47 +0000
Received: by cosmo.ogre.com (8.15.2/8.15.2) with ESMTPSA id u28Mm9Bl026974 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 8 Mar 2016 14:48:12 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ogre.com; s=03062012; t=1457477292; bh=y7J4LGn2UEnpaJF7Iw9MfmgY232fsd41/zwq33XWlGg=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=R1QM7iYJ+OUTO1uBk7+wi+A2XPjRAKQhTs0fslLwRBYLKt2Cbtd5OpOkeWb2tPuNN q0VIFJ9Ke7Llsel0Tuh9vY4L2Fi57TCpj3gINCsiounEDPMmQHgZ1uRzg4KslNdiJA /SS00j1zfY/cjhweNTcCjGcBDMR4WNbwbFD2iKZ0=
Content-Type: multipart/alternative; boundary="Apple-Mail=_764DCEB0-4498-4C89-8344-758FA822B715"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Leif Hedstrom <leif@ogre.com>
In-Reply-To: <56DCE281.5030804@treenet.co.nz>
Date: Tue, 08 Mar 2016 15:48:09 -0700
Cc: ietf-http-wg@w3.org
Message-Id: <75BA73E5-0936-42F1-9FC1-795AE9D0DE8E@ogre.com>
References: <1C279539-57D5-4624-A80A-0344565872DF@mnot.net> <7DE0D70B-2969-482D-AE5F-51213726B8B7@ogre.com> <56DCE281.5030804@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.3112)
Received-SPF: pass client-ip=71.6.165.248; envelope-from=leif@ogre.com; helo=cosmo.ogre.com
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1adQQj-0000SV-9V 95b7b587b0bf195f3afc7a3b34daba81
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Call for Adoption: TCP Tuning for HTTP
Archived-At: <http://www.w3.org/mid/75BA73E5-0936-42F1-9FC1-795AE9D0DE8E@ogre.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31229
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>

> On Mar 6, 2016, at 7:08 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> 
> On 7/03/2016 2:17 p.m., Leif Hedstrom wrote:
>> 
>>> On Mar 1, 2016, at 10:46 PM, Mark Nottingham wrote:
>>> 
>>> [ copying Alison as our Transport Tech Advisor ]
>>> 
>>> Daniel has kindly started a document about how HTTP uses TCP, both for /1 and /2:
>>> <https://tools.ietf.org/html/draft-stenberg-httpbis-tcp>
>>> 
>>> We haven't explicitly discussed this at a meeting, but I have heard interest in this topic from a variety of folks.
>>> 
>>> What do people think about adopting this with a target of Best Current Practice?
>>> 
>>> Please comment on-list.
>> 
>> 
>> +1 on adopting this as a BCP.
>> 
>> I think its focus / bias towards Linux has to be addressed, which requires input / feedback from other OS vendors of course. But the adoption of this draft would likely help such efforts significantly.
>> 
>> Cheers,
>> 
>> — leif
> 
> 
> +1 "me too".
> 
> In regards to OS-specific things, I am somewhat against making it have
> any at all. The most desirable outcome of this draft would not be that
> admin can find what to tune for HTTP, but that TCP would evolve so we
> dont have to tune at all. Don't forget that HTTP applications require
> many different protocols all working together over the same transport(s)
> to be efficient. Tuning just for one wont help much.

Good point. I think “none" is better than "just Linux", which would force the authors to describe each option in a TCP and protocol standards way (and not implementation specific). Sounds like a lot of work though.

That much said, that might turn it into a difficult document to read. In the end, what many people need is a single sysctl.conf (etc.) file to deploy. :-).

Cheers,

— Leif