Re: [hybi] Payload only compression extension, again

Bjoern Hoehrmann <derhoermi@gmx.net> Tue, 26 July 2011 15:25 UTC

Return-Path: <derhoermi@gmx.net>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24D3A21F85F6 for <hybi@ietfa.amsl.com>; Tue, 26 Jul 2011 08:25:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.716
X-Spam-Level:
X-Spam-Status: No, score=-3.716 tagged_above=-999 required=5 tests=[AWL=-1.117, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2XmR66fGe-GX for <hybi@ietfa.amsl.com>; Tue, 26 Jul 2011 08:25:56 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by ietfa.amsl.com (Postfix) with SMTP id E3F9011E810B for <hybi@ietf.org>; Tue, 26 Jul 2011 08:25:54 -0700 (PDT)
Received: (qmail invoked by alias); 26 Jul 2011 15:25:52 -0000
Received: from dslb-094-223-187-169.pools.arcor-ip.net (EHLO HIVE) [94.223.187.169] by mail.gmx.net (mp041) with SMTP; 26 Jul 2011 17:25:52 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1+U5jpCXw6UAiA+frBCigEe0+28TWFqSmVgUsBvzZ BJ1oAXVgUZVxw/
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: John Tamplin <jat@google.com>
Date: Tue, 26 Jul 2011 17:25:53 +0200
Message-ID: <hpmt27lkpsu1420u10i14vj46ugaah8ba2@hive.bjoern.hoehrmann.de>
References: <CAH9hSJbS+y8+742OC0fc_1Hy8VgopPSG7yN+BgBCx4CY+kzGnQ@mail.gmail.com> <CABLsOLCk9DHHwk=NumpNruCgso5nr6_QwaLtfiZJ-m0Tp7vm_Q@mail.gmail.com> <CAH_y2NEYmvGPESMyKgMCHOXC1Yp1-cpbZH=X-zhMAhKTRsKgKQ@mail.gmail.com> <CAE8AN_VuTFi5OrOW7md1L_Ggqvyx9_8VPu+0LE6t9j31mHYcnQ@mail.gmail.com> <CAH9hSJYhenXHobhmL+sdmRp-b5BRWQUmj3V1oridcMma233zOA@mail.gmail.com> <CABLsOLA7TSTDqxCvbtxOzGOrdOuzMtEc=ysAAvs2CBZm1MrToA@mail.gmail.com>
In-Reply-To: <CABLsOLA7TSTDqxCvbtxOzGOrdOuzMtEc=ysAAvs2CBZm1MrToA@mail.gmail.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Payload only compression extension, again
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2011 15:25:57 -0000

* John Tamplin wrote:
>The problem is that if you don't share compression state across frames, then
>it becomes critical to not try and compress incompressible content.  Look at
>the experiment data I presented in that same thread -- it is very easy for
>frame sizes to go up if you aren't sharing compression state, so I think if
>this option is included we have to decide now how to turn off compression on
>a frame-by-frame basis rather than delaying it for a future extension.

Deflate stores uncompressed data in up to 2^15 byte long blocks like

  1 byte indicating no compression and whether it's a final block
  2 byte indicating the length
  2 byte one's complement of the length
  n byte uncompressed data as per the length

Are you saying the 5 additional byte per block are a problem?
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/