qpack: no need to ack refless header blocks

Dmitri Tikhonov <dtikhonov@litespeedtech.com> Fri, 20 July 2018 18:33 UTC

Return-Path: <dtikhonov@litespeedtech.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E31B131120 for <quic@ietfa.amsl.com>; Fri, 20 Jul 2018 11:33:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=litespeedtech-com.20150623.gappssmtp.com
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 UIZcirNhJk5V for <quic@ietfa.amsl.com>; Fri, 20 Jul 2018 11:33:25 -0700 (PDT)
Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 40360130DF1 for <quic@ietf.org>; Fri, 20 Jul 2018 11:33:25 -0700 (PDT)
Received: by mail-qt0-x232.google.com with SMTP id h4-v6so11119821qtj.7 for <quic@ietf.org>; Fri, 20 Jul 2018 11:33:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=litespeedtech-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=czAeaw4kHwEAL8TidalSzrqLZYjKpRazHZKtn0E7r2A=; b=lMfAW+rsip0Hzf0QeltlA7BOGNBM6CcD+TfVz4v/j3egtHIlkEjbWW7pG9ukNd8f0B D1EQjXFv6MiSxUESizbqDBRiVcfR5xR/SIXyY0QyaYU7NOtvlGP0tRF5/mOwmJpXPrgA 9JUFoDNP8I86LilNpmJtzY8PKATSWzsOQHV1Wjof49T0yoVymb1dPJkBneuNWUmH8MK2 r2n4pPSyfmune7YtAK5PiJvSbA+hS49nZYCSEUfHcCI6x4gLediL6rcV8c0EvI7SvM4k C6Q1HCi0ZYyaoxCHW0AtdK0mD2Xy/yOW59lkC7Ubbz2GQ/kuLJ0lSs3ziH8jSK3F+T34 wB0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=czAeaw4kHwEAL8TidalSzrqLZYjKpRazHZKtn0E7r2A=; b=eLIBVc5U7S1zG6WbYsu2qCiy9vVKrRZEcX1ksOMqHSHhyzXkJugtvd1sReLPsEmjKl kJdYtQAyNfaXmotHyfA0pgx+f7yMfhRlDDzBSbH5zDF4EkZ2NOqPQFoTA9hghrDFlA62 Rx5jfzqXtXRUU3VSho1WE+vcZvRgSZUWAolTLHmWEU6HpdPCaK4Qll3ZXc2YrEA5SiL+ 3hQli12o5UM0ZfFavmnx5J8f1hR4YhmLJy0Hu/P4ZwDHnJ/WhiiTD8YlgeUjErOGKEsI EH9dU8oOLg/92Ntlr0u3c5n5hWWbC7iEhP5E128E/hU9dPi+DhOWFiJ7CSejaqW5CjSo ccgA==
X-Gm-Message-State: AOUpUlGclL+CgqaZI9NUHcxpOL/Azim4t+VoJIwZH8PcMoizD1AEsrMP 9ADZPM7IDLxiKptNX81rz4p/HbtMm8g=
X-Google-Smtp-Source: AAOMgpdbmH28iyy3bUh1ZJSCaCsJ9PlV8qSDlVZPR7BaTfpyNbOza2xI0mzVkDpfo96GuJ3hAja5hQ==
X-Received: by 2002:ac8:2f7c:: with SMTP id k57-v6mr3072782qta.424.1532111604232; Fri, 20 Jul 2018 11:33:24 -0700 (PDT)
Received: from ubuntu-dmitri (ool-2f1636b6.static.optonline.net. [47.22.54.182]) by smtp.gmail.com with ESMTPSA id s31-v6sm2209832qtc.68.2018.07.20.11.33.23 for <quic@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jul 2018 11:33:24 -0700 (PDT)
Date: Fri, 20 Jul 2018 14:33:19 -0400
From: Dmitri Tikhonov <dtikhonov@litespeedtech.com>
To: IETF QUIC WG <quic@ietf.org>
Subject: qpack: no need to ack refless header blocks
Message-ID: <20180720183319.GA23032@ubuntu-dmitri>
Mail-Followup-To: IETF QUIC WG <quic@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/KQ7FRESg3yoneSeUYiBDoxnJ02Y>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2018 18:33:27 -0000

There is no need to acknowledge header blocks that do not reference
the dynamic table.  These acknowledgements do not contain any
information useful to the encoder.  I propose that the draft be
modified to state that

    A Header Acknowledgement is emitted only if the header block
    references the dynamic table (only when Largest Reference in
    the Header Data Prefix is zero).

This a) saves bytes and b) allows the encoder to drop state for
such header blocks as soon as they are encoded.

  - Dmitri.