Re: Add deadline awareness to QUIC

Ian Swett <ianswett@google.com> Mon, 21 November 2022 11:17 UTC

Return-Path: <ianswett@google.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 08829C1524BD for <quic@ietfa.amsl.com>; Mon, 21 Nov 2022 03:17:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.597
X-Spam-Level:
X-Spam-Status: No, score=-17.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vP23jj0Y840V for <quic@ietfa.amsl.com>; Mon, 21 Nov 2022 03:16:56 -0800 (PST)
Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6BAFDC1524AF for <quic@ietf.org>; Mon, 21 Nov 2022 03:16:56 -0800 (PST)
Received: by mail-wm1-x331.google.com with SMTP id i64-20020a1c3b43000000b003d016c21100so2899468wma.3 for <quic@ietf.org>; Mon, 21 Nov 2022 03:16:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YC6CnSsptaQ+2sMZkdwTwo/h55RPUW8Fkk0NTHEdcK0=; b=C/Mmh+KrEJIh6GzBabSh73zdbm0DeLQQvnMsqKkdH88f4j0u4/wB7a10fiuMlao/x8 kxxZeCc2QF4Dhf4ZF/fpGEJ50dUun/zDnizngGNIcLRuS2jRPLu10pAUTd/oSC3vH/bX lUYQseS9ABx/3tTFa7QIkSFRogdMIZWJEgB6tYmP1ckiL0KXJ+BN45cump9VEmQdxlhY i4bJKABESDq7GdA/Q1Z2wqlNHX6k/uO8wbti/rjW/n6cW0mS8bg0Vs8ZmoqP99Gt/f1J okd4TByrr+GOAm5Lc+6gnqA6XhhQA4wVmX9JSVbnAVz5rM/xU/mbDlBL+FlWzuUOyHdj 9mxg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YC6CnSsptaQ+2sMZkdwTwo/h55RPUW8Fkk0NTHEdcK0=; b=LgBrDvaA4bfqN1TGn9UfYLKc5PKjYQ5UqNtO5bmGsLzjVxpIXoV02dQ/AAN9b/vfNu N1VkAZv0WEuUf2yxTWmh5OnBquOSzfQ8Oc+vwH5OYl4+VAohkY0olKn471bwNaPjfU0M WGb23K4NDkBqKPYZADySexs4XU7ZO18sInHczgVCfReWfi1F2rebXP78t3+FL65M8rLE VfH45eR9Co7oExH0ZCtnXMKf1haEaEs6yS+sqPoiFbvOtubx5CNrgT0VIKBkDiPhNr6L XEb54JYkKntQ9q1DdkKJrXr589dA1jI0HEnvnCwX/DTq6Gzisxr/1DKWqtk0Uf6KJ+54 WInA==
X-Gm-Message-State: ANoB5pmQilWojEk1uyCJmxX+vkuXSbW/+E3b9AsQxJLhd/ZR7kdfCjOp KTiVjSK3rdTJowOIjurZhEftoW+CNgQlSNNvJqqQFA==
X-Google-Smtp-Source: AA0mqf6tdTgaOYvmZ+wdvg04GeCRpyhCDwq+xKbR+QGukKOdCLUBeRixcAMEXWBcWHqmxe10u8rEoDnZKW2lmDD++XI=
X-Received: by 2002:a05:600c:3110:b0:3cf:b07a:cd56 with SMTP id g16-20020a05600c311000b003cfb07acd56mr15140828wmo.143.1669029414096; Mon, 21 Nov 2022 03:16:54 -0800 (PST)
MIME-Version: 1.0
References: <CAAZo2nGK_HPbRKhW7fk8cBbZ5Y8HJOf737COKoFy=Xc6XHoL9g@mail.gmail.com> <797f896f-839b-3734-0c07-0465bfd7fe35@huitema.net> <CAC8QAcdeUvkGpoR4-dQp05cjW8QnHRVAvUkV5ASCZ=xpYG7Tfw@mail.gmail.com> <CAAZo2nGRRRoZmmb2yTCBm0MykQB0W6_vvdL3jTYyQhwkmm1gzA@mail.gmail.com>
In-Reply-To: <CAAZo2nGRRRoZmmb2yTCBm0MykQB0W6_vvdL3jTYyQhwkmm1gzA@mail.gmail.com>
From: Ian Swett <ianswett@google.com>
Date: Mon, 21 Nov 2022 11:16:42 +0000
Message-ID: <CAKcm_gORtoZCbkxiqvoibaMnxKyPNw144vWQR+DuBmnVca13dA@mail.gmail.com>
Subject: Re: Add deadline awareness to QUIC
To: Chuan Ma <simonkorl0228@gmail.com>
Cc: sarikaya@ieee.org, Christian Huitema <huitema@huitema.net>, quic@ietf.org, cuiyong@tsinghua.edu.cn
Content-Type: multipart/alternative; boundary="00000000000059724205edf931af"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/fapFP9dFwZ3pnbuBUoRhjgsgEsw>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
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, 21 Nov 2022 11:17:01 -0000

This looks like it might be conflating a few features, some of which are
very media specific and some which are more general, such as prioritization
and deadline awareness.

I may have missed it, but I'm not sure I understand why the deadline
awareness requires a new frame.  For low latency media, the sender
typically knows what the deadline is, so it has no need to communicate it
to the peer, unless this design has relays in mind.  If so, Media over QUIC
is even more the right venue for this.

For example, the Chromium QUIC code has had a ttl feature for a few years
that we've used for various use cases:
https://source.chromium.org/chromium/chromium/src/+/main:net/third_party/quiche/src/quiche/quic/core/quic_stream.cc;l=1384

Ian

On Tue, Nov 15, 2022 at 11:03 AM Chuan Ma <simonkorl0228@gmail.com> wrote:

> Hello Huitema and Sarikaya, thanks for the reply.
> You are correct that some of our designs are similar to MoQ answers. For
> example, we both use partial delivery to improve real-time app delivery.
> Actually, we sent the draft to the MoQ mailing list and discussed the
> detailed design and which layer to place the module. But our draft focuses
> on providing general deadline-aware transport service as a QUIC extension
> which is out of the scope of MoQ. MoQ builds on top of QUIC and is
> explicitly tailored to media delivery.
> We would like to hear the opinion of the QUIC community to see the need
> for such a *general deadline-aware transport service*.
>
> On Tue, Nov 15, 2022 at 7:12 AM Behcet Sarikaya <sarikaya2012@gmail.com>
> wrote:
>
>>
>>
>> On Mon, Nov 14, 2022 at 1:05 PM Christian Huitema <huitema@huitema.net>
>> wrote:
>>
>>> Hello Chuan Ma,
>>>
>>> Your draft aligns very much with some of the options investigated for
>>> "media over QUIC". Have you considered participating in that working
>>> group?
>>>
>>>
>> I agree, this looks very much like media transmission material.
>>
>> Behcet
>>
>>> -- Christian Huitema
>>>
>>> On 11/14/2022 10:20 AM, Chuan Ma wrote:
>>> > Dear all:
>>> >
>>> > I'm Chuan Ma from Tsinghua University. I want to discuss the deadline
>>> > awareness of the current application and whether we should add it to
>>> the
>>> > QUIC protocol.
>>> >
>>> > Applications may have specific deadline requirements for data
>>> transmission.
>>> > For instance, a video conference application may require sending the
>>> data
>>> > with a deadline of 200ms to enable live interaction. The application
>>> may
>>> > drop the data that misses the deadline, even if the data has already
>>> > reached the other end. In this case, it is possible to drop the data
>>> after
>>> > the given deadline from the sender to save bandwidth and decrease
>>> queuing
>>> > time. Deadline requirement is also helpful to offer deadline-aware
>>> > scheduling combined with QUIC stream priority. Such scheduling methods
>>> can
>>> > increase the punctuality of QUIC and allow more data to arrive on
>>> time. It
>>> > is possible to extend QUIC and offer deadline-aware transport as a
>>> service.
>>> >
>>> > Nowadays, deadline-aware data transmission is getting more and more
>>> > popular. Applications that emphasize real-time interaction, such as
>>> VR/AR,
>>> > gaming, and video conference, are drawing more and more attention. So
>>> > deadline-aware transport has a lot of use cases. However, currently,
>>> it is
>>> > the application that is responsible for realizing deadline-aware
>>> transport.
>>> > This transport service should be offered by the transport protocol but
>>> not
>>> > be left to the application. It is reasonable to provide such transport
>>> > service in a new transport protocol, and QUIC is a good base.
>>> >
>>> > We wrote a draft to show this idea in
>>> > https://datatracker.ietf.org/doc/draft-shi-quic-dtp/ and implemented a
>>> > protocol based on QUIC called DTP (Deadline-aware Transport Protocol)
>>> in
>>> > https://github.com/STAR-Tsinghua/DTP.git. We also built a live stream
>>> > prototype application to compare the performance between DTP and QUIC (
>>> > https://github.com/STAR-Tsinghua/LiveEvaluationSystem.git). We found
>>> that
>>> > DTP outperformed QUIC in improving data transmission punctuality and
>>> saving
>>> > bandwidth resources. We published the paper in ICNP22 and built several
>>> > systems like proxy and tunnel based on DTP. It would be a good idea to
>>> give
>>> > this method a try.
>>> >
>>> > We'd like to know what you think about this topic. Please let us know
>>> if
>>> > you have any comments.
>>> >
>>> > Best regards.
>>> >
>>> > Chuan Ma
>>> >
>>>
>>>