Re: A more nuanced QUIC timestamp extension negotiation

Christian Huitema <huitema@huitema.net> Tue, 04 August 2020 15:27 UTC

Return-Path: <huitema@huitema.net>
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 EBF873A0B39 for <quic@ietfa.amsl.com>; Tue, 4 Aug 2020 08:27:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 j9_gae_PT9fO for <quic@ietfa.amsl.com>; Tue, 4 Aug 2020 08:27:38 -0700 (PDT)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8F363A0AD8 for <quic@ietf.org>; Tue, 4 Aug 2020 08:27:37 -0700 (PDT)
Received: from xse128.mail2web.com ([66.113.196.128] helo=xse.mail2web.com) by mx166.antispamcloud.com with esmtp (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1k2yqc-000RpB-KF for quic@ietf.org; Tue, 04 Aug 2020 17:27:34 +0200
Received: from xsmtp22.mail2web.com (unknown [10.100.68.61]) by xse.mail2web.com (Postfix) with ESMTPS id 4BLdsf3dGLzDGf for <quic@ietf.org>; Tue, 4 Aug 2020 08:27:18 -0700 (PDT)
Received: from [10.5.2.14] (helo=xmail04.myhosting.com) by xsmtp22.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1k2yqU-0000Ce-Cr for quic@ietf.org; Tue, 04 Aug 2020 08:27:18 -0700
Received: (qmail 30480 invoked from network); 4 Aug 2020 15:27:18 -0000
Received: from unknown (HELO [192.168.1.104]) (Authenticated-user:_huitema@huitema.net@[172.58.43.61]) (envelope-sender <huitema@huitema.net>) by xmail04.myhosting.com (qmail-ldap-1.03) with ESMTPA for <quic@ietf.org>; 4 Aug 2020 15:27:17 -0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: Christian Huitema <huitema@huitema.net>
Mime-Version: 1.0 (1.0)
Subject: Re: A more nuanced QUIC timestamp extension negotiation
Date: Tue, 04 Aug 2020 08:27:16 -0700
Message-Id: <BAFD1A70-B911-4FC8-B081-3957DF20AF36@huitema.net>
References: <20200804150603.GD2988@lubuntu>
Cc: IETF QUIC WG <quic@ietf.org>
In-Reply-To: <20200804150603.GD2988@lubuntu>
To: Dmitri Tikhonov <dtikhonov@litespeedtech.com>
X-Mailer: iPhone Mail (17F80)
X-Originating-IP: 66.113.196.128
X-Spampanel-Domain: xsmtpout.mail2web.com
X-Spampanel-Username: 66.113.196.128/32
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=66.113.196.128/32@xsmtpout.mail2web.com
X-Spampanel-Outgoing-Class: unsure
X-Spampanel-Outgoing-Evidence: Combined (0.15)
X-Recommended-Action: accept
X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0fni+3cnVNNYyS96zEouVZ2pSDasLI4SayDByyq9LIhVUZbR67CQ7/vm /hHDJU4RXkTNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGDcnqpk5VeF3xR4kF6iVwRtbgN zB/4Jkrw1eDLcif59fsuHyvX0gISFbstvyZlR+nPU7Tmz6iKnkQL9gqsxD347235Nhqq+/HvroPq 8GSPg+60/QPNqXybIny9WGhadIo/FqANMYqm8+U1ocMliIzyKbyme9ldZJ7uNXfg/GfS8fUvP/L5 rCqHDsKZM+xa1iwJX+gRCHfMVnsAk591zk0uilUI+ZL4xWiN8NS6C+dmX6OEdA4u1aThyWrQ/ou2 +v/lmX4Em37yFgrCB6NHRn1g+f3uncIqYSL3lhh5c81YyJqFoLZMmkWsaurVZfvqROaDnDtHb8z5 dpPkEuJ8Snwqla7jUnW3hy14Yji8fo+4xCnSRo4Rcu5Z37rMuDjCny5fE9ykbJ7I9co1MAEE3ruN Xsm8UJsAPvDcVSKtDCYkioPY5Qx4fJOk03R5fJtf/Dv/dkIzS7m4GUpXCY1Y3j3ilZpnfSx1WjM8 Y221ho/pD394mWepawqbJhSWXDEVBtSw7sRyIQFCGvc8iVRYMBkuAtX64dd055+O7KBcgcgplIdU PVcmx1QL+XiKf76y/BgKNDzm2dcMqtUjzIW29/E0xfKY2AXNZGS5G93aGyH8MqMlOQRMVMd0HCeT skOZ5TL8W9lQG9qC5vkfu2hHk/bHQzXg724gFzhHYUe+7aKm0vXwzaULTbWmvIte6RLy28I7Ti+J 2sBvM/O0p+zizleC4va6FPcpDHjXMKZJK8+chiYwKVf3abxiNVPmIchqQH/P7cTs80/2FnZg/IMs IAdedSzLrjsyfTPCYbMCLdmf5h2vfxw3Qvb2Glio5Cia/9Kfg4kJ0WtAYbrpe3OOAtQNb87OBHCz Hbokiue7PjVB1S6AQRz4SqXhOP5fdiQt7lu5Jm5nk4BSgYHOJJgUtm67rBRli6kULE5BQDZnPvvF VsQ=
X-Report-Abuse-To: spam@quarantine11.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/aGfysRlNMl7lzGZ3YzBaLUJojQ0>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 04 Aug 2020 15:27:43 -0000

Yes, that make sense. Timestamps are useful if the congestion control algorithm uses them. That's the case for delay based protocols like LEDBAT or throughput based protocols like BBR, not so much for loss based or ECN based protocols.

-- Christian Huitema 

> On Aug 4, 2020, at 8:06 AM, Dmitri Tikhonov <dtikhonov@litespeedtech.com> wrote:
> 
> Hello Christian,
> 
> I propose to change the timestamp extension [1] negotiation from a
> simple boolean TP, meaning that both end will send and receive
> TIMESTAMP frames, to some variant where each endpoint can express
> its interest in TIMESTAMP frames:
> 
>    a) I would like you to send TIMESTAMP frames
>    b) I can generate TIMESTAMP frames if you'd like
>    c) (a) and (b)
> 
> The example here is lsquic [2]:  It can generate TIMESTAMP frames if
> it is useful to its peer (such as picoquic), but it does not use the
> information in incoming TIMESTAMP frames.  The annoying part is when
> both endpoints are lsquic and they generate and exchange useless
> TIMESTAMP frames!
> 
>  - Dmtiri.
> 
> 1. https://tools.ietf.org/html/draft-huitema-quic-ts-02
> 2. https://lsquic.readthedocs.io/en/v2.19.3/apiref.html#c.lsquic_engine_settings.es_timestamps