Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S
Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Tue, 17 March 2020 07:02 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 CBDD23A1999 for <tsvwg@ietfa.amsl.com>; Tue, 17 Mar 2020 00:02:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 5NAA6U4VyYWc for <tsvwg@ietfa.amsl.com>; Tue, 17 Mar 2020 00:02:38 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10051.outbound.protection.outlook.com [40.107.1.51]) (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 4CCB93A10C5 for <tsvwg@ietf.org>; Tue, 17 Mar 2020 00:02:36 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oYMweOge4RKjLjMJRxgz7x3Tqsye1HEpUotROd6n1/gaJfS8R9vjHwEU4wJ0MZycRDNdSYQfH99VeaaBT8UfCegJx5jhd/VROT4PQ4Pp18HvYJTH7ueY9IknhcN40p6lfpvby5aZ60gmFX6J9+Q/VknNNxj+86NuxlFteQAl5dYXfwlgm9ezlBfxQ1u9VkASZM+x0s6vvrBrFyaS+SmyNZ4qXuUOP9ZoKP747FQY5EZ3eLCeFxzXzmEGJ/1Fh7ibIYEK5/SqncHIx8BErxx0Y58/uRF8hPwLU7+egSKocC0NM4PeVCNdrd1dBO5jQ6bBQAPzXIePKCc8LvVNUyBc1g==
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=+/dcdamVTFaFKyNBFD8QXaQKefK4PkyX5C2u3B5x2Pw=; b=e7fZMEr/MU49ALoCkQaTdc/Qb5IM1fCQuJkOn9+nzwdW4VJrWGZooOHZAQDPLwV18EZlxJuwZjsNTNfaqmMFqC8tfRfvtvJ3uVpJnIR9Ml2SKPZoH/+qUMOSkUSKxsHxwcT/6oYOdxLjoK3CkaEhJK5oaT5sJ8q65prYQdChXK2jv22zVRLnw4lUh91ueOje1cf28RdLkAxjylqDhcFtkt1/g+oWzolNBCn4KV+hocfMy4RL7AFTnhOp01mEYDBDEM7h3fha1kqQTKEOhMGNsc8NLcpoKTulajrcauuegnIQPmWudkjvBSd6os8JZxWGqrVzmrugG6r6xLCfGqVd2g==
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=+/dcdamVTFaFKyNBFD8QXaQKefK4PkyX5C2u3B5x2Pw=; b=gw9JGSGtSL/TPtay8xhV6n414cMoqb3TgQEuyUsUaHKXtxkqCq9rWeIJZ7xFJi3I6MoDtXBe5VIbGBgs+uHDcZNtE3LcrrmvB4uM9E4sm2pMMN4SL0Ru5Ts7HPJU+1HA/VYSfrprVKrzuxf//O32tj6WoDi/JLDgIiGyOWoAvhs=
Received: from HE1PR07MB4425.eurprd07.prod.outlook.com (20.176.162.29) by HE1PR07MB3241.eurprd07.prod.outlook.com (10.170.243.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.12; Tue, 17 Mar 2020 07:02:31 +0000
Received: from HE1PR07MB4425.eurprd07.prod.outlook.com ([fe80::e80a:dc35:1cef:7cb9]) by HE1PR07MB4425.eurprd07.prod.outlook.com ([fe80::e80a:dc35:1cef:7cb9%7]) with mapi id 15.20.2835.013; Tue, 17 Mar 2020 07:02:31 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Jonathan Morton <chromatix99@gmail.com>, Ingemar Johansson S <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>
CC: Sebastian Moeller <moeller0@gmx.de>, "iccrg@irtf.org" <iccrg@irtf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Thread-Topic: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S
Thread-Index: AdX2sUQTt8TR64exRw6bAaEpFrsNEgAD11cAAACWSIAAAOWNgAAD4iVQAAalBwAACxURwAE9jDUAAAUUToA=
Date: Tue, 17 Mar 2020 07:02:30 +0000
Message-ID: <HE1PR07MB44253C9941C7E6F1011615F5C2F60@HE1PR07MB4425.eurprd07.prod.outlook.com>
References: <HE1PR07MB44251B019947CDB6602B30B2C2FF0@HE1PR07MB4425.eurprd07.prod.outlook.com><A2300F8D-5F87-461E-AD94-8D7B22A6CDF3@gmx.de> <HE1PR07MB4425B105AFF56D1566164900C2FF0@HE1PR07MB4425.eurprd07.prod.outlook.com> <1C969A05-A4B7-43E9-B694-3195A2FC086A@gmx.de> <HE1PR07MB44255CED94938F9C38515FD6C2FF0@HE1PR07MB4425.eurprd07.prod.outlook.com><AC10E219-46C2-4345-B98F-71689F788B13@gmx.de> <HE1PR07MB4425AA2A7976C1CCF594D3B2C2FF0@HE1PR07MB4425.eurprd07.prod.outlook.com> <9C8E93A1-1C72-4CD4-8EB5-438AB2F2FF8D@gmail.com>
In-Reply-To: <9C8E93A1-1C72-4CD4-8EB5-438AB2F2FF8D@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: [83.227.122.88]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cfca3a29-7428-4941-d798-08d7ca41295f
x-ms-traffictypediagnostic: HE1PR07MB3241:|HE1PR07MB3241:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <HE1PR07MB32411C973BE9A9E5AA0D73B1C2F60@HE1PR07MB3241.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:2043;
x-forefront-prvs: 0345CFD558
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6029001)(4636009)(366004)(376002)(136003)(396003)(39860400002)(346002)(199004)(81166006)(81156014)(8936002)(71200400001)(316002)(2906002)(478600001)(54906003)(110136005)(33656002)(9686003)(186003)(76116006)(53546011)(55016002)(26005)(6506007)(4326008)(8676002)(107886003)(52536014)(5660300002)(86362001)(66556008)(64756008)(66946007)(7696005)(66616009)(66446008)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3241; H:HE1PR07MB4425.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: zC+OFo4NuqA5FTLK/F613//jhc8Jns5gATFVUrbeLAV1d2QqhN2iIsIKcnUYw4T5p/EjZ7SBq138P3yx3DQZfeOhEP6HZ+WXGySR48pAIg8/RCQRsoehNICU9n8SQrrQpsWqufb23d/VXfzN06dHuwOLor2WH5IWlw/IOpq/mT5bRcYIR5wgIn2zS4Yk2ew1g893VI9MiFdG77URd4x9cuiZL+O4NC1BSfIiXrEMl4ilr1E+bBsX06ImFJzIu4IQzQ8O+K4tk14O0RRqGzvzc5IJcXXayV6guYoEQTU+uWphJUXBE5tMf0RKYYQyc5CSW0aofjd/V8zhMWw2y1K7MVX+1atHYo9uMEj0vyxv2M425bjpoQn8L+MPCHzgfl444MDxmBM0BGlqvR8enrwNpYGZ5SiWG7m0cq605VWBT6LVVA0hxcub5ZGPgLAw8a2e
x-ms-exchange-antispam-messagedata: kiD5tf8qXjUb5X2OYtJ/DMU+vOjyl2/AjJ1+K7X3sAcTddKTSUw2RzgRbbd15EEZ420wVwX27DKSj761tpfiAxmlAA8HbDCRWwCYL0uTpbF5bY2SzpA/SXhIH3k07jU/n5AZlnUFCgsw5ofd+XLLCQ==
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_034A_01D5FC32.67611E40"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: cfca3a29-7428-4941-d798-08d7ca41295f
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2020 07:02:31.0887 (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: FTYVbKyFGXq/ydatLzwZ32V2UUTgYBB/5Tu8Slp6jowQD+tpKnLVWaSQKZKeFgT5lyC7MBURVHf0ep81NLRgp493SA7ezrNzpqG7KNP+EnI3jxqovQDFm21C6mXFOWA6
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3241
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/bb-PdHOHmiFlq2KSrt_QsDkSCoE>
Subject: Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN 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: Tue, 17 Mar 2020 07:02:54 -0000
Hi Jonathan Please see inline /Ingemar > -----Original Message----- > From: Jonathan Morton <chromatix99@gmail.com> > Sent: den 17 mars 2020 05:19 > To: Ingemar Johansson S > <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org> > Cc: Sebastian Moeller <moeller0@gmx.de>; Ingemar Johansson S > <ingemar.s.johansson@ericsson.com>; iccrg@irtf.org; tsvwg@ietf.org > Subject: Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S > > > On 10 Mar, 2020, at 11:04 pm, Ingemar Johansson S > <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org> wrote: > > > > Attached is a simulation of the same simple bottleneck case with target=1ms > and interval=20ms. > > Two ECN beta values : 0.8 and 0.6. A larger backoff (0.6) does actually not > improve things as the CWND reduction leads to that packets from the video > coder are queued up in the RTP queue. > > As you can see there is still a way to go to reach the L4S delays. > > > > Perhaps the SCReAM's response to CoDel - ECN marks can be optimized > further, don't know, but I already spent a considerable time to try and get where > the code is now, and I spent a lot more time on this than I spent on the response > to the L4S signal. > > My impression is that it is the fractional congestion signal with L4S that makes > it easier to get a good algorithm behavior (and I definitely believe that there is > room for improvement) > > I had a look through this thread again, and I remembered something which may > be very relevant to put these results into context. I think you are making at least > some of these tests with a 50fps video stream from a typical PAL-format > camcorder, in which case the interval between frames is already 20ms. The top > of the delay graph in the tightened Codel traces is only 50ms, and in the originals > is 100ms. [IJ] The frame rate in this example is 60fps, which means a 16.6ms frame interval. I am not convinced though that the frame rate plays so much role here as the packet pacing make these 16.6ms frames become transmitted in ~10ms or so (depends in the computed pacing rate in SCReAM) > > I estimate the queue delay in the tightened Codel traces is approximately 10ms > most of the time - only half a frame. Is this actually noticeable to the user? > Perhaps this performance is already good enough. > > I think this level of delay mostly results from the behaviour of your pacing > algorithm under bursty demand. Codel deliberately tolerates a degree of > burstiness, in the name of maintaining reasonable throughput on the networks > and traffic patterns found in the real world. As long as the queue empties below > the target delay within the interval, Codel will not intervene - and at the > tightened settings, the interval is approximately the same as the video > framerate, which seems entirely appropriate. > > Something you could try is to partially simulate an SCE deployment, by setting > SCReAM into L4S mode and employing a Codel AQM set to, say, 25ms interval, > 2.5ms target. I think that might have interesting results. This actually represents > the SCE portion of an AQM optimised for a 100ms path, but it's a configuration > that's quite well tested and should cope well with a bursty traffic load. There > are some differences between the L4S response algorithm and the ones we use > in SCE, but I think you should get good results with this combination. [IJ] Yes, possible that it may be as you say, but doesn't this reveal a flaw in CoDel if you need to adapt thresholds based on assumptions on application layer behavior?. I cannot for instance rule out that somebody in the future (or perhaps already now?) implements a gaming engine that updates part of the view with 240fps and other, less important parts with 30fps. QUIC would allow all that media over one connection but in different streams. For the network it would just be a bunch of packets passing through. > > I've looked briefly at the code, and I think true SCE support could also be > implemented without difficulty; you already have sufficient ECN codepoint > feedback from the receiver. You would need to apply the L4S response (or > something broadly equivalent) when noting ECT(1) codepoints, and the > conventional Multiplicative Decrease response when noting CE codepoints. > Obviously, this also means ECT(0) must be emitted at origin, not ECT(1). > > I'd be happy to advise further on work in this direction, if you think it's > promising. [IJ] Surely possible. But like said before, I am not going there. I don't see that it is worth spending effort on this as it should be apparent by now that SCE would not give better performance than L4S . I'd rather spend my time on improving SCReAM, or any other congestion control algorithm for low latency steaming media to utilize the potential with L4S better. But the SCReAM code is of course available for anybody who wants to with it in any desired direction. > > - Jonathan Morton
- [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Jonathan Morton
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Ingemar Johansson S
- Re: [tsvwg] [iccrg] SCReAM (RFC8298) with CoDel-E… Bob Briscoe
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Bob Briscoe
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Bob Briscoe
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Jonathan Morton
- Re: [tsvwg] [iccrg] SCReAM (RFC8298) with CoDel-E… Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Jonathan Morton
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Ingemar Johansson S
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Bob Briscoe
- Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L… Sebastian Moeller