Re: Straw Poll: Restore Header Table and Static Table Indices
Mark Nottingham <mnot@mnot.net> Mon, 13 October 2014 00:55 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F1961A9141 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Oct 2014 17:55:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.688
X-Spam-Level:
X-Spam-Status: No, score=-7.688 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.786, 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 1Y1bjyo6NlxG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Oct 2014 17:55:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58E681A7017 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 12 Oct 2014 17:55:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XdTt2-0004zT-Tx for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Oct 2014 00:53:20 +0000
Resent-Date: Mon, 13 Oct 2014 00:53:20 +0000
Resent-Message-Id: <E1XdTt2-0004zT-Tx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1XdTsu-0004yf-QS for ietf-http-wg@listhub.w3.org; Mon, 13 Oct 2014 00:53:12 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1XdTst-0001r8-Tv for ietf-http-wg@w3.org; Mon, 13 Oct 2014 00:53:12 +0000
Received: from [192.168.1.83] (unknown [118.209.119.4]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B311D22E253; Sun, 12 Oct 2014 20:52:47 -0400 (EDT)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAP+FsNeJU6aciA+UV3sQ318e4=fXxv9zZbsDZ1jXmYstz6XwaQ@mail.gmail.com>
Date: Mon, 13 Oct 2014 11:52:43 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Jeff Pinner <jpinner@twitter.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E465C1C7-20DF-4F78-9936-9C914042920A@mnot.net>
References: <CA+pLO_jkN67HLT7oup+FcYVY+RZ7ckhpY2gGy=TAsr2UUMnVVA@mail.gmail.com> <987FB86A-EF8B-4CD1-A9A7-52A9163E8CB3@mnot.net> <EBB30C88-7EBD-400F-9591-B646B4D3687B@mnot.net> <CAP+FsNeJU6aciA+UV3sQ318e4=fXxv9zZbsDZ1jXmYstz6XwaQ@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
X-Mailer: Apple Mail (2.1878.6)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-4.7
X-W3C-Hub-Spam-Report: AWL=-2.121, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1XdTst-0001r8-Tv cc56781b5abadd6ca335835a3af22bca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw Poll: Restore Header Table and Static Table Indices
Archived-At: <http://www.w3.org/mid/E465C1C7-20DF-4F78-9936-9C914042920A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27588
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>
Roberto, So far, we've had a large number of people -1 any change here. Summarising: * It's been asserted that the current approach is "much simpler" to implement * The difference is "marginal" * There's concern about "churn" in the spec and implementations * There's concern that the proposals are untested You say it's "highly suboptimal", but you don't back this up. Indeed, we've long established that the WG is not terribly interested in getting the *most* efficient compression available -- especially if it's bought with complexity. As Mike said once long ago, the important part is that we get *some* compression, and my perception is that there's wide agreement in the WG on that point. In the face of that, a one-byte overhead for dynamic headers is hard to characterise as "highly suboptimal." Other folks have discussed / proposed more elaborate changes than Jeff, but I detect very little stomach in the WG for doing so. At most, I think we're at a point where the most reasonable thing to do, *if* we do anything here, would be to revisit the static table and "make room" for more dynamic entries by pruning it some, as per <https://github.com/http2/http2-spec/issues/587>. However, as discussed before, we'd need to see broad support for such a change; so far, we've held that #587 will only happen if we're making other breaking changes. Regards, On 13 Oct 2014, at 3:28 am, Roberto Peon <grmocg@gmail.com> wrote: > The current mechanism is highly suboptimal when not using the headers in the static table. > > There has been no technical argument refuting this-- all arguments have shown that the previous arrangement was approximately on par for static-table heavy workloads in terms of compression efficiency. > > We have no guarantee that users will always wish to use the arguments in the static table. > We know that adding to the size of the static table decreases efficiency of the compressor for any item that would not be in the static table. > > No-one has shown that the new scheme is significantly better in terms of CPU or memory. > > There was no interop issue w.r.t. the previous text. > > In fact, the previous text allowed for the static table to be changed easily in future versions, with guaranteed detection of mismatch when new elements have been appended to the static table by one implementation but not the other. This is not true of the current version, which would require a negotiation in order to figure any such things out, and would otherwise result in corruption. > > > As currently specc'd we're half-assing the compression, and we already know a better solution and have specc'd, implemented and demonstrated interop with it. > -=R > > On Sat, Oct 11, 2014 at 11:59 PM, Mark Nottingham <mnot@mnot.net> wrote: > There doesn't seem to be support for making a change here; most people were against any change, and while there were a few other proposals made, they didn't get broad support. Since this isn't a security or interop issue, I'm inclined to close as WONTFIX. > > Does anybody have new information here, or can we move on? > > Cheers, > > > On 7 Oct 2014, at 6:23 am, Mark Nottingham <mnot@mnot.net> wrote: > > > Thanks, Jeff. > > > > I see people have already started to respond to this. > > > > Everyone else, please do the same — if you think this needs more discussion, please do so, but I think we’re at a point where people can just state their preferences. > > > > Regards, > > > > > > On 7 Oct 2014, at 2:02 am, Jeff Pinner <jpinner@twitter.com> wrote: > > > >> As request by Mark, I propose that the current HPACK draft be changed > >> such that Sec. 2.3.3 Index Address Space reads, > >> > >> "Indices between 1 and the length of the dynamic table (inclusive) > >> refer to elements in the dynamic table. > >> > >> Indices strictly greater than the length of the dynamic table refer to > >> elements in the static table. The length of the dynamic table is > >> subtracted from the index into the static table." > >> > >> with the associated diagram updated. This reverts the change made > >> between draft -08 and -09 in the change log, "Exchanged header and > >> static table positions." > >> > > > > -- > > Mark Nottingham http://www.mnot.net/ > > > > > > > > > > -- > Mark Nottingham https://www.mnot.net/ > > > -- Mark Nottingham https://www.mnot.net/
- Re: Restore Header Table and Static Table Indices Nicholas Hurley
- Restore Header Table and Static Table Indices Jeff Pinner
- Re: Restore Header Table and Static Table Indices Kulkarni, Saurabh
- Re: Restore Header Table and Static Table Indices Poul-Henning Kamp
- Straw Poll: Restore Header Table and Static Table… Mark Nottingham
- Re: Restore Header Table and Static Table Indices Ludin, Stephen
- Re: Restore Header Table and Static Table Indices Michael Sweet
- Re: Restore Header Table and Static Table Indices Greg Wilkins
- Re: Restore Header Table and Static Table Indices Daniel Stenberg
- Re: Restore Header Table and Static Table Indices Simpson, Robby (GE Energy Management)
- Re: Restore Header Table and Static Table Indices Roberto Peon
- RE: Restore Header Table and Static Table Indices Mike Bishop
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Shigeki Ohtsu
- Re: Straw Poll: Restore Header Table and Static T… Greg Wilkins
- Re: Straw Poll: Restore Header Table and Static T… Mark Nottingham
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Mark Nottingham
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Mark Nottingham
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Mark Nottingham
- Re: Straw Poll: Restore Header Table and Static T… Amos Jeffries
- RE: Straw Poll: Restore Header Table and Static T… K.Morgan
- Re: Straw Poll: Restore Header Table and Static T… Nicholas Hurley
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Nicholas Hurley
- RE: Straw Poll: Restore Header Table and Static T… RUELLAN Herve
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Greg Wilkins
- Re: Straw Poll: Restore Header Table and Static T… Mark Nottingham
- Re: Straw Poll: Restore Header Table and Static T… Roberto Peon
- Re: Straw Poll: Restore Header Table and Static T… Greg Wilkins
- Re: Straw Poll: Restore Header Table and Static T… Mark Nottingham
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Roberto Peon
- Re: Straw Poll: Restore Header Table and Static T… Poul-Henning Kamp
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Greg Wilkins
- Re: Straw Poll: Restore Header Table and Static T… Adrian Cole
- Re: Restore Header Table and Static Table Indices Adrian Cole
- Re: Straw Poll: Restore Header Table and Static T… Greg Wilkins
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Adrian Cole
- Re: Straw Poll: Restore Header Table and Static T… Adrian Cole
- Re: Straw Poll: Restore Header Table and Static T… Amos Jeffries
- Re: Straw Poll: Restore Header Table and Static T… Poul-Henning Kamp
- Re: Straw Poll: Restore Header Table and Static T… Adrian Cole
- RE: Straw Poll: Restore Header Table and Static T… RUELLAN Herve
- Re: Straw Poll: Restore Header Table and Static T… Poul-Henning Kamp
- Re: Straw Poll: Restore Header Table and Static T… Simpson, Robby (GE Energy Management)
- Re: Straw Poll: Restore Header Table and Static T… Simpson, Robby (GE Energy Management)
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Jason Greene
- RE: Straw Poll: Restore Header Table and Static T… RUELLAN Herve
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Mark Nottingham
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Poul-Henning Kamp
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Greg Wilkins
- Re: Straw Poll: Restore Header Table and Static T… Mark Nottingham
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Poul-Henning Kamp
- Re: Straw Poll: Restore Header Table and Static T… Roberto Peon
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Poul-Henning Kamp
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Julian Reschke
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Poul-Henning Kamp
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Greg Wilkins
- Re: Straw Poll: Restore Header Table and Static T… Willy Tarreau
- Re: Straw Poll: Restore Header Table and Static T… Jason Greene
- timestamps encoding (was: Re: Straw Poll: Restore… Willy Tarreau
- #578 [was: Straw Poll: Restore Header Table and S… Mark Nottingham
- Re: timestamps encoding (was: Re: Straw Poll: Res… Martin Nilsson
- Re: timestamps encoding Amos Jeffries
- Re: #578 [was: Straw Poll: Restore Header Table a… Amos Jeffries
- Re: #578 [was: Straw Poll: Restore Header Table a… Mark Nottingham
- Re: timestamps encoding Martin Nilsson