Re: Proposal - Reduce HTTP2 frame length from 16 to 12 bits

David Morris <dwm@xpasc.com> Tue, 28 May 2013 21:16 UTC

Return-Path: <ietf-http-wg-request@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 A675021F87CD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 May 2013 14:16:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.953
X-Spam-Level:
X-Spam-Status: No, score=-5.953 tagged_above=-999 required=5 tests=[AWL=4.646, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2I9PatQX2cRL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 May 2013 14:16:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2D35B21F8FAF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 May 2013 14:16:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UhREq-0004jQ-O9 for ietf-http-wg-dist@listhub.w3.org; Tue, 28 May 2013 21:15:24 +0000
Resent-Date: Tue, 28 May 2013 21:15:24 +0000
Resent-Message-Id: <E1UhREq-0004jQ-O9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1UhREa-0003Ry-LD for ietf-http-wg@listhub.w3.org; Tue, 28 May 2013 21:15:10 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1UhREZ-00025s-Pw for ietf-http-wg@w3.org; Tue, 28 May 2013 21:15:08 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 9A40B3F75C for <ietf-http-wg@w3.org>; Tue, 28 May 2013 21:14:40 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id r4SLEe9c010322 for <ietf-http-wg@w3.org>; Tue, 28 May 2013 14:14:40 -0700
Date: Tue, 28 May 2013 14:14:40 -0700
From: David Morris <dwm@xpasc.com>
Reply-To: 'HTTP Working Group' <ietf-http-wg@w3.org>
To: 'HTTP Working Group' <ietf-http-wg@w3.org>
In-Reply-To: <CAOdDvNr81+HtAQ1bR5LtXHmD1Gz+XbfHP=9WZiNZvHodxUddpQ@mail.gmail.com>
Message-ID: <alpine.LRH.2.01.1305281410440.10135@egate.xpasc.com>
References: <CAOdDvNoAjiRSBv9ue6RgCQJ4wMNQcKBH2a8zVa4_96wbp=g8MA@mail.gmail.com> <CABP7Rbefh0HxT7Pui_F8viNvu8232O3Qt=VaR6SgsL1DQarVSA@mail.gmail.com> <CAA4WUYgKsDudsSAywWSwz5KVsEV5iUREqjmYVB5sWuc+11ujOQ@mail.gmail.com> <CAP+FsNdejY=K4fp6jMh1AzSkMpdxWNd+cCnaF6uw2GPfMVtjAA@mail.gmail.com> <CABP7Rbf6Ls8pBf9Rons9hgLeXjnm-yk6t6kebk1EXcS3bTdf_Q@mail.gmail.com> <CAA4WUYjGk5EYeP9pP=TDWdGGyq5PjwHcDc+qD1mBGuSAt9yvng@mail.gmail.com> <CAP+FsNez763nkt5EPo8Wf496gH-+hY_V1NRuT5TDuM+697L6_g@mail.gmail.com> <CAOdDvNr81+HtAQ1bR5LtXHmD1Gz+XbfHP=9WZiNZvHodxUddpQ@mail.gmail.com>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
X-Milter-Version: master.87-g7939dec
X-AV-Type: clean
X-AV-Accuracy: exact
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-3.214, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UhREZ-00025s-Pw 8a6327c56a2340679daaa1bf87f3c870
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposal - Reduce HTTP2 frame length from 16 to 12 bits
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1305281410440.10135@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18127
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 Tue, 28 May 2013, Patrick McManus wrote:

> On Tue, May 28, 2013 at 4:12 PM, Roberto Peon <grmocg@gmail.com> wrote:
> 
> My sweet-spot number was 16k, as I knew that I could saturate a 10G nic
> > with 16k frames/writes and have enough CPU left over to do some actual
> > work. The amount of overhead goes up more than linearly with the decrease
> > in frame size thanks to contention, etc.
> >
> >
> 
> Given what you've said here and in the other mail (plus of course my own
> previously stated concerns) I'm inclined to suggest a 16KB max (14 bits)
> without introducing any kind of max frame size configurable. My point is to
> drive it as small as we can without creating excessive overhead and you've
> put a stake in the ground that 16KB is that level. That's still 4x as
> aggressive as the current draft.

I've been working with a product for a number of years which incorporates
muxed http response streams where 16k chunks per streams seem to work
well. Our design concern was to keep low speed connections full while
minimizing HOL blocking. Unfortunately, there is no easy way to test
alternatives.