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

Roberto Peon <grmocg@gmail.com> Tue, 28 May 2013 20:37 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 19B2D21F941D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 May 2013 13:37:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.498
X-Spam-Level:
X-Spam-Status: No, score=-10.498 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 u7z0EK51t7D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 May 2013 13:37:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 05BCC11E80D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 May 2013 13:37:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UhQeD-0005vQ-7d for ietf-http-wg-dist@listhub.w3.org; Tue, 28 May 2013 20:37:33 +0000
Resent-Date: Tue, 28 May 2013 20:37:33 +0000
Resent-Message-Id: <E1UhQeD-0005vQ-7d@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UhQe1-0005uU-7Z for ietf-http-wg@listhub.w3.org; Tue, 28 May 2013 20:37:21 +0000
Received: from mail-ob0-f173.google.com ([209.85.214.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UhQe0-0007ks-Jw for ietf-http-wg@w3.org; Tue, 28 May 2013 20:37:21 +0000
Received: by mail-ob0-f173.google.com with SMTP id wc20so1922383obb.32 for <ietf-http-wg@w3.org>; Tue, 28 May 2013 13:36:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=naDYHTI9of1XR3Am8Vd3Ne/YdQczDRlAhJ1s6W+Qe8I=; b=f+ECX0ZDgtJswLhfjWaYZZdGijnprFpkdvnLIPb2DHu9YG8553RWL74hSAGUStBjeh FE7Qyv27WDLVEIcdkC10wwPAJ4QNNoPvxpcrrEsROwbdCbFhV2DLLYJ1fXHra6FcamEA 1gPeM1wgfq/NTB01EahEPQ91rp9h0Kyx0JFCXT6JUTzbeF4VHTlhT1F1AIJrBzW02Mpi FFSu88P9Nn5qn6L5Vsv2Fz84LwyBNk8jyYVlhSyLQpPrvjsflBlrktippjuyBM8TRHwc rWnnjL50SiuU4uRQrIb39vEFTXootdCQIeEPMKoHkBQ4clLFxc4Rdq30dq3dLv5lQFQw sUiQ==
MIME-Version: 1.0
X-Received: by 10.182.98.135 with SMTP id ei7mr21606018obb.102.1369773414560; Tue, 28 May 2013 13:36:54 -0700 (PDT)
Received: by 10.76.169.68 with HTTP; Tue, 28 May 2013 13:36:54 -0700 (PDT)
In-Reply-To: <CAOdDvNr81+HtAQ1bR5LtXHmD1Gz+XbfHP=9WZiNZvHodxUddpQ@mail.gmail.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>
Date: Tue, 28 May 2013 13:36:54 -0700
Message-ID: <CAP+FsNd3MR0_UD=0q734OEmUkPqb1aypgRhoWUR81OFkH4HquA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>, James M Snell <jasnell@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=047d7b2e4970cc3cbe04ddcd396a
Received-SPF: pass client-ip=209.85.214.173; envelope-from=grmocg@gmail.com; helo=mail-ob0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.666, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UhQe0-0007ks-Jw 720e9f17b302fd24c513746775b29567
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/CAP+FsNd3MR0_UD=0q734OEmUkPqb1aypgRhoWUR81OFkH4HquA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18126
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>

That is fine by me so long as we mark the rest of the length field as
reserved and don't touch it.
-=R


On Tue, May 28, 2013 at 1:33 PM, Patrick McManus <mcmanus@ducksong.com>wrote;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.
>
>