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

Leif Hedstrom <leif@ogre.com> Wed, 29 May 2013 15:19 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 A119521F93DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 May 2013 08:19:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[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 VwbljqNNTgAW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 May 2013 08:19:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B4DAE21F8F28 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 May 2013 08:19:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Uhi8m-0002ub-2M for ietf-http-wg-dist@listhub.w3.org; Wed, 29 May 2013 15:18:16 +0000
Resent-Date: Wed, 29 May 2013 15:18:16 +0000
Resent-Message-Id: <E1Uhi8m-0002ub-2M@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <leif@ogre.com>) id 1Uhi8T-0002ts-Uy for ietf-http-wg@listhub.w3.org; Wed, 29 May 2013 15:17:57 +0000
Received: from kramer.ogre.com ([71.6.165.248]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <leif@ogre.com>) id 1Uhi8S-0006lp-Jw for ietf-http-wg@w3.org; Wed, 29 May 2013 15:17:57 +0000
Received: from [192.168.201.3] (homey.ogre.com [24.56.188.103]) (authenticated bits=0) by kramer.ogre.com (8.14.5/8.14.5) with ESMTP id r4TFHXK1021302 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Wed, 29 May 2013 08:17:34 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ogre.com; s=03062012; t=1369840654; bh=nzoVMjyGIRMFJ7dAanRMOF8gtsw85w0qgPSfW3bdhdQ=; h=Date:From:To:Subject:References:In-Reply-To; b=UFWOsB7WSWFtWqCzvaNUDg7dd+FJsw0ZiDvGPYx/6djDSreS9H1O6s1JMf1Bk2vkW Bj4EFdSmga9BqFlCgHU/KWsqTsNLNf9phSBTnFeYrqCHOlt2xWSdBYuD3C770iFYVJ dgxNUfe65QBIHgdviwFS6bHSEb+oEFP+ODUdsL2I=
Message-ID: <51A61C0D.9020309@ogre.com>
Date: Wed, 29 May 2013 09:17:33 -0600
From: Leif Hedstrom <leif@ogre.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
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> <CAA4WUYhOnocH7nxX=ZmzH8jyygF_JAaYzTezCWFXP1XdTUEgKg@mail.gmail.com> <CAP+FsNfidCwu9x8Ru2k8ws15pQn-CMGS8dJCa4ELB5kK=BLg-Q@mail.gmail.com>
In-Reply-To: <CAP+FsNfidCwu9x8Ru2k8ws15pQn-CMGS8dJCa4ELB5kK=BLg-Q@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=71.6.165.248; envelope-from=leif@ogre.com; helo=kramer.ogre.com
X-W3C-Hub-Spam-Status: No, score=-1.0
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-1.07, SPF_PASS=-0.001, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: lisa.w3.org 1Uhi8S-0006lp-Jw 78cdbf4f5ffd9e92f51c89a24a77f387
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/51A61C0D.9020309@ogre.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18143
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 5/28/13 7:12 PM, Roberto Peon wrote:
> I understand what you're saying. We're all agreeing that the max frame 
> size should be limited. I'm simply suggesting 16k is what I think is the 
> best small frame size. Patrick is suggesting 4k.
> I wouldn't object strenuously to 4k, but my experience and gut both say 
> 16k is the better choice.
>

My gut says that 4k is on the small side too. If we left it at 16-bit, but 
with a SHOULD saying only 14-bits are to be used, are we still cutting too 
much rope for people to hang themselves? I'm not suggesting UA developers 
should have to try to optimize for anything beyond the suggested 16KB frame 
sizes, that seems unreasonable and unnecessary.

On the argument side for smaller frames, CPUs tend to get more powerful 
faster than the NIC capacity increases. In my experience, a modern box can 
saturate a 10GigE at the same (small) object sizes as a machine could 
saturate a 1 GigE NIC 4-5 years ago.

Cheers,

-- Leif