[tsvwg] Real time low latency video (SCReAM) and L4S

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Thu, 10 December 2020 09:18 UTC

Return-Path: <ingemar.s.johansson@ericsson.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB5003A0B87 for <tsvwg@ietfa.amsl.com>; Thu, 10 Dec 2020 01:18:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 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, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 PunuR-8AwecM for <tsvwg@ietfa.amsl.com>; Thu, 10 Dec 2020 01:18:34 -0800 (PST)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150083.outbound.protection.outlook.com [40.107.15.83]) (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 14C403A0317 for <tsvwg@ietf.org>; Thu, 10 Dec 2020 01:18:32 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fBLLYtfKo3cyMEJnY3xkWJ58MVUM/ZL7vHr/9wjdmrcXiz7VGrPQTxP/Nf7PmraqmWKVx2SzRzISgYh1zruRRX9kPoUHWiams2DmXqLwNz/0vH3EKKGFpC/G12NmLkas0iP8qDY3u6o7tJIrPNMP5smIuw/lAhveQ61lDfD+Cz1AfRJCGXVkRFdMly7wqdvt+fg6lRByd7q9oASBdflI1CTKgcoPncCMY7J1vgCeYA5TyqB9UhOm7ee7ihNxiZDhExediW04aCK7HfO5XKJwmOKkFy2kSBnp7AN+9X/reTLZl46vqasZdNwviRAMZJ+ddGePvaF/K4u7UGGl4k/Hjw==
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=mxh4D3LurSGgIa10fNF4PakWw6C9//mhR77U6rfCiHY=; b=dpqNyiQ4iHayjYcrVLmk1Lyza7ysawqiMxwszNnECt0POruQcJampvWvaNFvrBej+Zg8AQLWdUUxrzpiVpgdiZKYzrALUvfyl5vveOe+N8DFrg8lwkH92tLz2yNB0y4tJXFpDeOrvpv5rZXn/DWrLnGgGOZgP1HeNX59dTmpKxnnt7CeCzwQzOz4AiSODZ2tOrhdR2Ia4SkSapjDXjtdJ3UZRqV5NqlI82AUTZTirpSZvQcPNvU299SZPP8FuyhxEHV+h7Q6HKOva4+2yMxQBQXJWT2FIUuB7ToDhIFdJpSwQoelmg/H0sJ1StBInqnNRZuopY01Y3icQBkzEaizRQ==
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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mxh4D3LurSGgIa10fNF4PakWw6C9//mhR77U6rfCiHY=; b=AT8DE4x0B7naMtsl/D2/NsHcswg1YCHFbT1jE3jt7TW2bRqTCuY7jBj3sBpOUZwja1CEhEPpaI6Y6r72dFET9hyZRxHkpBV90UyD7eTzp2fTIKzUeK6UZFLeH9JLwdUU5o+ALb9UxnwfEWcOlqJBQ044VuBckiFz0ZNESfBtg9s=
Received: from HE1PR0701MB2299.eurprd07.prod.outlook.com (2603:10a6:3:6c::8) by HE1PR0702MB3577.eurprd07.prod.outlook.com (2603:10a6:7:7f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.10; Thu, 10 Dec 2020 09:18:29 +0000
Received: from HE1PR0701MB2299.eurprd07.prod.outlook.com ([fe80::6898:c00e:a986:6131]) by HE1PR0701MB2299.eurprd07.prod.outlook.com ([fe80::6898:c00e:a986:6131%2]) with mapi id 15.20.3654.012; Thu, 10 Dec 2020 09:18:29 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: "tsvwg@ietf.org" <tsvwg@ietf.org>
Thread-Topic: Real time low latency video (SCReAM) and L4S
Thread-Index: AdbOzgG08a4o2wR7QRCcPRTXaxWEJQ==
Date: Thu, 10 Dec 2020 09:18:29 +0000
Message-ID: <HE1PR0701MB229912614342D1316592A1E6C2CB0@HE1PR0701MB2299.eurprd07.prod.outlook.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [83.227.122.88]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b9046f06-8061-4427-6b77-08d89cec8f03
x-ms-traffictypediagnostic: HE1PR0702MB3577:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <HE1PR0702MB3577C1A3CEE7F2108F8337FCC2CB0@HE1PR0702MB3577.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1303;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /aAA/D2idqsq4bUNYtRHez0m/Bn6DPRwvjYhVei34j8evW3nUE+zTQE0f3Eh/tUkMBcttT98ju3GcUEX1rTRyVSv9QNJq2APQPfcJ1PTT8GhDV5+DofeBPMAkVi9nOJb70WHheiMT0Ld7eDwZnRP8zlRcT9ZQk7q0g6frP/J4Iw9q5wfY4ntyHodO08Db+yCCJZ+ClV6SJhYr61nPk+hab3haLYwr708Yi0i8dC0n2X3UXJkgMa0cHwU2m1XWUt/8dGGsikbUk3BtaX2oqCJufOsF480xdcfOB67ms0vJZH99j22inrw+ZjVIhIVsrvky4bHlewYMLZHRT/80IOs60EhOFGSxRwZvOB2fMxonl8xVS3ToOaTl/IG5ADSft2fxD3Sbq9MHyArncYkx6Ddgg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0701MB2299.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(366004)(346002)(83380400001)(508600001)(76116006)(33656002)(186003)(8936002)(66574015)(107886003)(99936003)(66476007)(66556008)(64756008)(66446008)(66616009)(66946007)(71200400001)(86362001)(966005)(19627235002)(6506007)(4326008)(26005)(5660300002)(9686003)(6916009)(7696005)(2906002)(52536014)(55016002)(8676002)(15974865002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: S1y/hhEqi20dXmpXPIN0EX6BeKjoox1fOWKCuufKImeIGaDAE895P9a2Sqn5KB+0RLH+10uUfpiJM1M0YoUrM7wM7zEbQdEelmVCIRy/flxmIhgJ4UrTLvHkZbTbtX1THagqjcZKhTvRN66x6iWu7wEMzluPWe7/glxWl9BMqkS/6Mtm2AQyZ2HF7KpD6p15VdmvBhPuU80iQHvp6mB8wSy+JapN4EL0cdbOOwNldwAOZ8Q7VZf/nL+GyPiOr6OybCoSQaRhBfR0rEyIwpozJmBzCiH7SVyDPiQs5LKsGXPpSMtsQ1P0gIOXBR//d79g5+1K6jjjp3WYrjfDQ4AZoMidnlLcoTD2MPPG6eGp9DaJuIExuXdj+5vMJdwuEok4I1GIdvUd6UqxVN9ymK1R9Ge7FkVX8m59U426xYK4O5cbiu+7nbNnZ/1ulVQFkzq7/f0kmRNU36uSUTvRSYKHnGhDkwkEWS/hJK6hvYNAMsMRVcZkuXaUZdiShT4B9pxAev5sbo96VW//bTjqcKY8v3ir3l3+0QQA5qLH2ywM2bA70DJAYV0iQpkegfdxMFDJP7KH220mUiQHy1b4ooOJY2vSh5kq2EeZCqtAAqESdRtRjaM7Z2AqAqzFqqH0krUBhFSbcu2vnsFbqx7hhU5PiVTCfQnKz65iXSNJdsRvm0LkCoBSGirZVlKBlqzRUlatfwC0RobusyMmPlLaAnRw849FQli0JTknXWVE0GyUH1ZPKVhxth5zOkRmh6ROfnRikbZG0t6ntwY0KmB5EwbRgRiPdfpzNwPnAyBdX38S4SmQEjJLaMjk6uZ+o6+68drNU/cmx6mu9P48+yl53zWlsfXVt5TZyK2JxCWTQb5tubPlHqQqeAExY+mvMnw02r4z9lyzrIWvFnLGhzOOm217QOxH/PMxZY2rEpKXaNJvMhkKgUXLE7XAi6txTj0lkkqNqIF1p1l6OqIyt9MnGGbPZUg2rqrL7j7E5TeDwYVwPzY=
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0752_01D6CEDD.CCC16910"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB2299.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b9046f06-8061-4427-6b77-08d89cec8f03
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2020 09:18:29.6856 (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: gLRSgw5rLWD2e0mdfKU564LOfKbFz+WmfUKE8VTI0KXorYPVvkF7QAQZkxFcdKH102STy07NljBOvmwrN4++5XdSuNzecKuNV1Wa3GV3+stxQYs/TTa19JP8ZoF0H3uI
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3577
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/tJxoGoWEXlE9bN9PwVW-NgmSdsU>
Subject: [tsvwg] Real time low latency video (SCReAM) and L4S
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Dec 2020 09:18:37 -0000

Hi

I write up one post to address a few of the arguments for/against L4S seen from a SCReAM perspective and from the general point of streaming of low latency video.
I don't expect that the opponents of L4S will become convinced but I hope that it will help others to get some perspective around the matters brought up below. There is a certain risk that this can end up in yet another lengthy thread. I will personally eject from this quite quickly to spare the rest of the audience. 

1) "SCReAM, last I checked, has no code to implement the detection heuristic." (for RFC3168 bottlenecks) : 
SCReAM as well as other rate control algorithms need to have a fall back to delay based congestion control, to at least get a decent behavior for the cases where L4S is not implemented. In addition  a video source has a variable frame size output, not just  because of occasional I frames, P frames also vary in size. This means that realtime low latency applications that strive for a low e2e delay will leave some air for other flows. It is not a given that they will behave like SCReAM but regardless of implementation they all have a rate limited source with a rate that varies a lot over short time scales.
With SCReAM I currently see the problem that it is a bit too reactive to congestion and that it needs some improvement and an RFC3168 detection algorithm is perhaps needed then. But currently, SCReAM is a pretty weak competitor against flows with infinite source bitrates. 
But.. instead of just repeating this argument over and over again. Get the SCReAM BW test application from https://github.com/EricssonResearch/scream and run it with the following additional arguments 
-ect 1 -rand 20 
The code is public, it is just to fire away in test beds.

2) L4S gives very limited gain over CoDel (5ms is only a little more than 1ms). 
I will address this argument as well as the argument that the argument that the congestion control algos chartered in the RMCAT WG already themselves can keep delay low. The simulated test case is SCReAM running with a test trace from NVENC, the video frames are scaled to match the target rate, in the first experiment I assume that the video encoder is very responsive to changes in target bitrate, in the second experiment a bit sluggish behavior is mimicked that makes the video coder react 200ms late, this is a common case in many video encoders (e.g NVIVIA Jetson Nano and Xavier NX and RPI 3). The bottleneck is a 20ms RTT and a bandwidth that varies between 40 and 15Mbps in steps. The max video bitrate is set to 30Mbps.

*SCReAM_no_ECN_v_0.0.png : Shows the performance with no ECN support at all. The video frame delay illustrates the delay the end user will experience, the larger the variations, the larger delay is needed in a dejitterbuffer is needed to avoid a choppy play out.
*SCReAM_ECT0_CoDel_5ms_100ms_v_0.0.png : Shows the performance with  CoDel ECN marking.  Slightly better than no ECN but still up to 150ms frame delay spikes
*SCReAM_ECT1_L4S_v_0.0.png : Now with L4S. The delay is greatly reduced. What is left is the frame delay due to the serialization delay of the larger video frames. The nominal bitrate is slightly lower than the other two cases above in the congested area (when the bottleneck BW is <= 30Mbps), this is a natural tradeoff between latency and throughput.

Now we complicate things a bit for the experiment when the video coder is a bit more sluggish in its behavior. Now it takes 200ms for the video coder to respond to a changed target bitrate.
* SCReAM_no_ECN_v_0.2.png : As expected one can see that the video frame delays increase yet some more.
* SCReAM_ECT0_CoDel_5ms_100ms_v_0.2.png : Roughly the same performance with some tendency towards a higher frame delay.
* SCReAM_ECT1_L4S_v_0.2.png : Video frame delay is still very low, despite this added extra video coding artifact.

To conclude. 
+ L4S improves performance a lot.
+ Congestion controls that only rely on delay and packet loss measurements does not give a very low delay.
  
I hope that this should cast some light on the question whether L4S is useful or not.

/Ingemar
================================
Ingemar Johansson  M.Sc. 
Master Researcher

Ericsson Research
RESEARCHER
GFTL ER NAP NCM Netw Proto & E2E Perf
Labratoriegränd 11
977 53, Luleå, Sweden
Phone +46-1071 43042
SMS/MMS +46-73 078 3289
ingemar.s.johansson@ericsson.com
www.ericsson.com

 Talk about a dream, try to make it real
                  Bruce Springsteen
=================================