Re: QPACK proposal: wrap absolute index values

Dmitri Tikhonov <dtikhonov@litespeedtech.com> Mon, 06 August 2018 03:40 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 ED439130E72 for <quic@ietfa.amsl.com>; Sun, 5 Aug 2018 20:40:41 -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 Oklub_GEYRxF for <quic@ietfa.amsl.com>; Sun, 5 Aug 2018 20:40:40 -0700 (PDT)
Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (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 61217130DCF for <quic@ietf.org>; Sun, 5 Aug 2018 20:40:40 -0700 (PDT)
Received: by mail-qt0-x231.google.com with SMTP id n6-v6so12366115qtl.4 for <quic@ietf.org>; Sun, 05 Aug 2018 20:40:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=litespeedtech-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QzS3NGSbWEHXJ7G0CpKpyKmRlHO9RcN38N6CKgur+RI=; b=W4GYEugInrtqTsW6SF6qnSYN//yFBf3e3U0T4kL0LlFEE9a/lVqLdNendQx1GRg1Bz pqddig/a1gs7QtnucGoAiI/ok89GXq/j52A6n6uFFArEDoDY6o+aHqtuqmuItGOZZ24Q 3OLNDYNdU4LxPKQf/uZmzAQ3DQOTbTQr3FY+htoh1cQOlNIb7nD2nP0C/HbX+/SMqiot Z3bC9q0SfUVZr2yCHzMc/+JYwJARiGYyuFwJCftRIahdAQcIo+Y/03a3QH8rUvR3ZZdR K2w0rAXIXkJoLxkCwZv0uHFJ202creWtNtL/qEcbrMekcVlExS3DTc4dB3WdTMMi2JGB FtBA==
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:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=QzS3NGSbWEHXJ7G0CpKpyKmRlHO9RcN38N6CKgur+RI=; b=nowFRy7OM2h7kBwDz5efTvTo1SMeT2zRzT6rWCTTs2n+hJ2eIQyKyFSZdWBj70F20Z SAgAbio40ZoWEVfUuIo9M/cNZZHwOs7IVA0uTCIcr7vx71Bl43YookT++lgaZYKgws9m uQeurA2LD+n9FFOTWPIPirjwzIm4MUHxQgc2dPtnrhA9JZKCaBBJRoi3zy0u9b/bv1Vy C/LiRlGT3Qu4BmO5MHdN9BdDpLI3Wlgk4W/sqMCa7hJS8ZpHXbAWXHRwvGJ1Qll+ecPq TCcv/z3Jzi4XkRFepYgBhLS93/tan+nKd21RIPK1MkVtsi5qhKkGpvpPH1JX/YjqLqT+ 6KXQ==
X-Gm-Message-State: AOUpUlFHIzKdxG5DvKtUH3EoDo2sytaHnAlT7HP8nVG9LXxhRhO9kC19 GnRmE/oherwR7gCxjv8XM0giDA==
X-Google-Smtp-Source: AAOMgpdt3NVnMGoAc2XnSTUxY0SFI8sK3cnrbLTrs4/mLPRCthdTX893eJGsRoddtktp7MV2kBdk5g==
X-Received: by 2002:a0c:98c1:: with SMTP id g1-v6mr11517532qvd.27.1533526839573; Sun, 05 Aug 2018 20:40:39 -0700 (PDT)
Received: from ubuntu-dmitri (ool-44c1d219.dyn.optonline.net. [68.193.210.25]) by smtp.gmail.com with ESMTPSA id c184-v6sm5593645qkd.43.2018.08.05.20.40.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Aug 2018 20:40:39 -0700 (PDT)
Date: Sun, 5 Aug 2018 23:40:37 -0400
From: Dmitri Tikhonov <dtikhonov@litespeedtech.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: QUIC WG <quic@ietf.org>
Subject: Re: QPACK proposal: wrap absolute index values
Message-ID: <20180806034037.GB25402@ubuntu-dmitri>
Mail-Followup-To: Martin Thomson <martin.thomson@gmail.com>, QUIC WG <quic@ietf.org>
References: <20180805154649.GA14245@ubuntu-dmitri> <CABkgnnV2Ugu6O_6Q8grjhQiqavUe6P8FVP_BNRuNqtzVXTbOgw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABkgnnV2Ugu6O_6Q8grjhQiqavUe6P8FVP_BNRuNqtzVXTbOgw@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/fGpnhz563XEkQhkotZOwMxG97dM>
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: Mon, 06 Aug 2018 03:40:42 -0000

On Mon, Aug 06, 2018 at 10:29:50AM +1000, Martin Thomson wrote:
> Table State Synchronize is relative, so it wouldn't benefit from a
> change here.  That's something I missed initially, so it's probably a
> candidate for clearer text.

I think the text looks fine -- I simply was not reading it carefully
enough.

> I've no real opinion on the wrapping proposal.  It seems like it might
> work for the Largest Reference.  The math is a tiny bit annoying to
> decode in the same way the packet number encoding is, but it is
> doable.

Yes, it is similar to the packet number logic, except that unlike the
packet number, the absolute index wraps around.

  - Dmitri.