RE: Updated DATAGRAM -03 draft

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Fri, 02 August 2019 21:24 UTC

Return-Path: <ingemar.s.johansson@ericsson.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 B91F8120189 for <quic@ietfa.amsl.com>; Fri, 2 Aug 2019 14:24:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 4Fn8-5MpkyLc for <quic@ietfa.amsl.com>; Fri, 2 Aug 2019 14:24:17 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130051.outbound.protection.outlook.com [40.107.13.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8A7712013D for <quic@ietf.org>; Fri, 2 Aug 2019 14:24:16 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lFAITihHQVwpYFwSl/XbL0w4nBW+Tyv1VOFVQ933Bwl2A+8RRsa/2apik+gmLFuSvFeqEGGEfzGIY4mbZU/y70y7G45enZtDIpazqIi150yRCooTbNxcziecApCXBvYXLqZLUyYqbi0XmeiHcfemAXV6miMBlUL+MQoy6GwWCv3Ja0OaCzIQAXPkqmK5LzXWq+e3JHlw4YctAbUA9d3JmaEi2F4bq0wVnZOSqklowOztf6bD6qZJX5wp8rNbAtPJJgAaJdcMna75rrYsxcxeM8c8s+VmT5Dd/V6xV3peWxzcYq/qFnTYZO8X3fo8+1Y+SAKHOOkiQqUyyEaqVzV4hQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Db5MLtNNgUtXYgOQ+mPt6gebGOfiu+ijrLM5i+J+Cro=; b=ewrSf+5wG0IDo720JrVWDhx/0FomrCycvSWl87ISgdfTEDqmTa0rnan+CIiQPRuxQDpnKN+AWoypY5wOR+xb1maVsXzkoO1BA3HW+fHnv+WwZ78RkWUTlu9sSV7lomYyzyVAZcnVvjCvgOeo4Bs6eVqbWqbDrQB+mYPc8geXDMYM/OM7jKGTd93iSePXXaHPwS+UflVTAceYnE80FP9YxBomT6rUyqOJ/L23qe3IIwRj1WUWSQ9NI8z+kU1l0Oe3Ty1zQ/AnM6GmsPlysnyhkKsqVG4xsg3dQi8tI+9UBetYFXGaVQ3peo0MeCKG8dt3FJNRh947Wovp3d2+tKt4QA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ericsson.com;dmarc=pass action=none header.from=ericsson.com;dkim=pass header.d=ericsson.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Db5MLtNNgUtXYgOQ+mPt6gebGOfiu+ijrLM5i+J+Cro=; b=pe7mSWp2hbccvPs6tY5+/uv9Ei3XNMvqccWhFXWOD/R2MTZdJ/8+9HTQFzEjLxbMimaSAkwwTQd9cQh9TZFZ6ro8hG2bE+Q2XbrXHS2CGMbTA/pCX43sNLjRazRfOfWgKC8bGREOgTiptdT9R+SmTY62jGwF6KztyJDv+3F+q4k=
Received: from HE1PR07MB4425.eurprd07.prod.outlook.com (20.176.167.142) by HE1PR07MB3180.eurprd07.prod.outlook.com (10.170.245.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.10; Fri, 2 Aug 2019 21:24:13 +0000
Received: from HE1PR07MB4425.eurprd07.prod.outlook.com ([fe80::fcb3:30af:89e8:99c9]) by HE1PR07MB4425.eurprd07.prod.outlook.com ([fe80::fcb3:30af:89e8:99c9%7]) with mapi id 15.20.2136.010; Fri, 2 Aug 2019 21:24:13 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Bjorn Mellem <mellem@google.com>
CC: Tommy Pauly <tpauly@apple.com>, Roberto Peon <fenix@fb.com>, Robin MARX <robin.marx@uhasselt.be>, Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, QUIC WG <quic@ietf.org>, Christian Huitema <huitema@huitema.net>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Subject: RE: Updated DATAGRAM -03 draft
Thread-Topic: Updated DATAGRAM -03 draft
Thread-Index: AQHVPAi5RGl8N8lyN0SYGyNU0RUUwKbOVJ+wgADlXwCAGSwZkA==
Date: Fri, 02 Aug 2019 21:24:13 +0000
Message-ID: <HE1PR07MB4425A60B2FB60407507661E6C2D90@HE1PR07MB4425.eurprd07.prod.outlook.com>
References: <CY4PR15MB1542BBF479C310E861C733F0CDCF0@CY4PR15MB1542.namprd15.prod.outlook.com> <2F2121D0-503B-48CF-99E1-A9CE9192FF87@apple.com> <HE1PR07MB44257B24563DC9EBC93335EBC2C90@HE1PR07MB4425.eurprd07.prod.outlook.com> <CACcUHGPymb2p5nOoX8Pm+5QB08TYa=7VhO9r0vPOg92pYsZpEg@mail.gmail.com>
In-Reply-To: <CACcUHGPymb2p5nOoX8Pm+5QB08TYa=7VhO9r0vPOg92pYsZpEg@mail.gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-originating-ip: [90.235.12.119]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5f734122-b3a2-477d-b6dd-08d7178fc416
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(49563074)(7193020); SRVR:HE1PR07MB3180;
x-ms-traffictypediagnostic: HE1PR07MB3180:
x-microsoft-antispam-prvs: <HE1PR07MB31809AD8EEBE69ADC39A3E9FC2D90@HE1PR07MB3180.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1850;
x-forefront-prvs: 011787B9DD
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(136003)(396003)(346002)(39860400002)(54094003)(199004)(189003)(66066001)(4326008)(81156014)(478600001)(107886003)(7116003)(6306002)(86362001)(7736002)(81166006)(5070765005)(74316002)(476003)(486006)(7696005)(11346002)(790700001)(966005)(256004)(186003)(440504004)(53546011)(102836004)(517774005)(606006)(26005)(6246003)(8676002)(446003)(6116002)(2906002)(71190400001)(76176011)(54906003)(14454004)(236005)(316002)(5660300002)(54896002)(6436002)(6506007)(14444005)(3846002)(52536014)(6916009)(53936002)(229853002)(76116006)(99286004)(8936002)(66574012)(33656002)(15650500001)(99936001)(66556008)(7110500001)(2420400007)(9686003)(66946007)(66476007)(66616009)(64756008)(68736007)(71200400001)(55016002)(25786009)(66446008); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3180; H:HE1PR07MB4425.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: ggYdQml8jpFFsTNbwCE+/5+tCBElk6njK6ZQ83en5lvMh8BvZjVuaaK/rhjUo+NkMAyHon0qsuuSRDQNl7B8b8P7TBFUeNyuFUoHwBfQQqCg4WzS+oPUkJSYQldrYrViIbfbmfPivDNyWDqQ7h4FdGJRq3RAzp7yh6r7UVEdJRlFXKlCVKgABp9MOQ4kpMlFczPdSSb3Rrx/GVD7ns2JCp2l43NVWSkMh/Wh2+U9zJlqGV6KHxxg5S4BEGleeGot+DswstY8npl4w0fKtDuvDlZGnw3hgCtQLYq2K6wik3rcJJU7tNlUDhWA3EMam/rxKGj5GOFuBMg8EzNc3nmdADwGmRcXACF07tjTU5p09ESpXCeyYTj849LukzQ9sHLQVxiVjLcp26fBlvPw4W42HBwtOop2hWOf+y/aVdFUwh8=
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0278_01D54989.5E9B4940"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5f734122-b3a2-477d-b6dd-08d7178fc416
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2019 21:24:13.2270 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ingemar.s.johansson@ericsson.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3180
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/IbQuJCINvkMUnN5zMYnwIeOsWeo>
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: Fri, 02 Aug 2019 21:24:22 -0000

Hi Björn + others

I am personally more in favor of having the network congestion control on the transport layer, similar to how it is being done in RFC8298 (SCReAM). With that said, it is to me an open question which network congestion control that best serves the combination of real time media and other media such as file transfers, that is a possible outcome with QUIC as generally used transport protocol. It can for instance be interesting to see how well BBRv2 fares with realtime media.

 

As regards to APIs:

SCReAM has a built it push-back signal from the network congestion control to the media rate control(ers), this pushes down the media bitrate slightly when a network queue starts to build up. My experience is that SCReAM works without this push-back signal with the drawback that queues can more easily build up on the sender side. The bottom line is thus that a push-back signal from network congestion control to the media rate controllers can be useful.

 

/Ingemar

 

From: Bjorn Mellem <mellem@google.com> 
Sent: den 17 juli 2019 21:52
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Cc: Tommy Pauly <tpauly@apple.com>; Roberto Peon <fenix@fb.com>; Robin MARX <robin.marx@uhasselt.be>; Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>; QUIC WG <quic@ietf.org>; Christian Huitema <huitema@huitema.net>
Subject: Re: Updated DATAGRAM -03 draft

 

In Google's work on WebRTC-over-QUIC, we've generally used the GCC (Google Congestion Control) scheme described in this draft: https://tools.ietf.org/html/draft-ietf-rmcat-gcc-02.

 

We're moving toward an approach that essentially tunnels media over a QUIC datagram flow.  In doing this, I've made a couple of observations about congestion-controlled datagrams:

 

 1. In cases where we control the QUIC implementation, it's simple enough to make it use GCC.  However, we'd like to be able to use it through interfaces like WebTransport (https://github.com/WICG/web-transport <https://protect2.fireeye.com/url?k=527e4dd7-0eaa474b-527e0d4c-8631fc8bdea5-802ec935843b019d&q=1&u=https%3A%2F%2Fgithub.com%2FWICG%2Fweb-transport> , https://tools.ietf.org/html/draft-vvv-webtransport-overview-00), where we do not control the QUIC transport directly.  (This could probably be solved with appropriate APIs for configuring WebTransport's congestion control.)

 

 2. GCC is work-in-progress.  There are fairly regular changes aimed at improving its performance in various edge cases.  In order to deploy changes we either need an extremely broad API or control of the transport.

 

While this might seem like an API problem, among the proposed solutions is "don't congestion control datagrams (let the application do that) and implement a circuit-breaker instead".  That would obviously require that the transport does not congestion control datagrams, either.

 

There are other possibilities that might work for real-time media, such as exposing timing information and allowing an application to set a *lower* rate if it wants to preserve latency.  But what about tunneling other protocols over QUIC datagrams?  Do we expect those to work within QUIC's congestion control?  Disable the upper-layer protocol's congestion control?  Or hook the two together in some cooperative manner?

 

Bjorn

 

On Tue, Jul 16, 2019 at 11:31 PM Ingemar Johansson S <ingemar.s.johansson@ericsson.com <mailto:ingemar.s.johansson@ericsson.com> > wrote:

+1. 

In the general non-QoS scenario it is to prefer that the streams share one connection and thus one congestion control. 

 

My experiments with SCReAM (RFC8298) shows that this can be made to work quite well on RTP streams, an implementation of this is found at  <https://protect2.fireeye.com/url?k=8566ae5e-d9b2a4c2-8566eec5-8631fc8bdea5-0ad521e62f5c8311&q=1&u=https%3A%2F%2Fgithub.com%2FEricssonResearch%2Fscream> https://github.com/EricssonResearch/scream. It is however not straightforward to get perfect prioritization such as 70% of the bandwidth goes to stream A and 30% to stream B when it comes to real-time low latency media. The key reason is that the low latency goal means that there are often no packets to schedule as extra delay due to queueing in the sender should be avoided, variations on source rates from video encoder makes it more challenging. 

In comparison, “Infinite” bitrate sources such as file transfers are much easier to work with as they provide data ready to schedule for transmission on the sender side until the file transfer is done.

In the SCReAM case I have so far managed to get something like ball-park weighted fairness, fig 7 in  <https://www.hindawi.com/journals/wcmc/2018/3142496/> https://www.hindawi.com/journals/wcmc/2018/3142496/ shows how it works in a real test scenario over a LTE access. 

 

I mentioned non-QoS scenarios. In scenarios where an underlying network supports QoS (such as 4G/5G), then it can be beneficial to use two or more connections, which are then scheduled over different bearers.

 

/Ingemar

 

From: Tommy Pauly <tpauly@apple.com <mailto:tpauly@apple.com> > 
Sent: den 16 juli 2019 14:47
To: Roberto Peon <fenix@fb.com <mailto:fenix@fb.com> >
Cc: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com <mailto:mikkelfj@gmail.com> >; QUIC WG <quic@ietf.org <mailto:quic@ietf.org> >; Christian Huitema <huitema@huitema.net <mailto:huitema@huitema.net> >; Robin MARX <robin.marx@uhasselt.be <mailto:robin.marx@uhasselt.be> >
Subject: Re: Updated DATAGRAM -03 draft

 

I definitely agree that sharing one connection, where the frames are all subject to a shared congestion control, will provide the most control and the best results.

 

What it does bring up, however, is the need for text regarding prioritization in the document, similar to the “Stream Prioritization” section in the main transport document. The application should be able to indicate to the quic implementation the relative priority of a flow of datagrams with regards to other streams and other flows, thus indicating how to schedule frames when congestion control opens up. This is also a way in which having a flow identifier known at the transport can be useful (although this identifier could be used strictly locally to get a similar effect). 

 

Thanks,

Tommy

 

On Jul 15, 2019, at 6:23 PM, Roberto Peon <fenix@fb.com <mailto:fenix@fb.com> > wrote:

 

Using two connections would be unfortunate-- this will almost always guarantee worse results than even the most simple proportional prioritization or fair-share scheduling because you can cause self contention and dilute your measurement accuracy.

-=R

  _____  

From: QUIC <quic-bounces@ietf.org <mailto:quic-bounces@ietf.org> > on behalf of Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com <mailto:mikkelfj@gmail.com> >
Sent: Monday, July 15, 2019 12:12:09 PM
To: QUIC WG; Christian Huitema; Robin MARX
Cc: Tommy Pauly
Subject: Re: Updated DATAGRAM -03 draft 

 

You could also carry two connections, one for video and one for game status updates.

 

I’m wondering if there is, or should be, a way to accomplish this on a single connection.

I asked something similar a long time ago and I don’t think there is any amition for managing bandwidth in this for on a single connection, at least for QUIC v1.

 

 

On 15 July 2019 at 21.04.58, Christian Huitema (huitema@huitema.net <mailto:huitema@huitema.net> ) wrote:


On 7/15/2019 3:03 AM, Robin MARX wrote: 
> Hello Tommy, 
> 
> Good to see the updated draft. 
> I do wonder about the decision to enforce congestion control for 
> DATAGRAM frames and the effect this will have on the gaming use case.  
> As also discussed in Prague, real-time gaming often requires a set 
> update rate frequency (e.g., 30-60 messages per second) for 
> responsiveness.  
> I wonder if congestion controlling the frames (e.g., delaying/dropping 
> them) will produce some weird edge cases that really mess with this 
> setup.  
> It's a bit difficult to assess because the messages are usually 
> relatively small (though they could be mixed with larger messages, 
> e.g., RPCs) and you could make the argument that, if there is actual 
> congestion, the packets will be dropped in the network either way.  
> You could also say that custom game-focused implementations will just 
> ignore the text and do their own logic as needed. 
> 
> So I'm not sure the text needs changes, I just wanted to mention that 
> it might not be optimal for the real-time gaming use case and that it 
> might be capable footgun with some weird edge cases if people do stick 
> to the text. 


Not really. If the network is congested and the video game still 
persists sending frequent messages the most likely outcome will be 
queuing and losses, and thus bad game play. The proper behavior in a 
congested network is to switch to a low bandwidth mode of some kind -- 
maybe a lower frame rate, or a lower resolution. This is pretty much the 
same issue as voice or video over IP: if the network is congested, it 
makes sense to use a higher compression rate. With congestion control, 
the application can detect the upset of congestion and adopt these 
strategies. That's generally much better than to just passively accept 
queues and losses. 

-- Christian Huitema