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; =?utf-8?q?b=3DoYMweOge4RKjLjMJRxgz7x3Tqsye1HEpUotROd6n1/gaJfS8R9vjHwEU4wJ0M?= =?utf-8?q?ZycRDNdSYQfH99VeaaBT8UfCegJx5jhd/VROT4PQ4Pp18HvYJTH7ueY9IknhcN40p?= =?utf-8?q?6lfpvby5aZ60gmFX6J9+Q/VknNNxj+86NuxlFteQAl5dYXfwlgm9ezlBfxQ1u9VkA?= =?utf-8?q?SZM+x0s6vvrBrFyaS+SmyNZ4qXuUOP9ZoKP747FQY5EZ3eLCeFxzXzmEGJ/1Fh7ib?= =?utf-8?q?IYEK5/SqncHIx8BErxx0Y58/uRF8hPwLU7+egSKocC0NM4PeVCNdrd1dBO5jQ6bBQ?= =?utf-8?q?APzXIePKCc8LvVNUyBc1g=3D=3D?=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; =?utf-8?q?h=3DFrom=3ADate=3ASubject=3AMessage-ID=3ACont?= =?utf-8?q?ent-Type=3AMIME-Version=3AX-MS-Exchange-SenderADCheck=3B?= =?utf-8?q?bh=3D+/dcdamVTFaFKyNBFD8QXaQKefK4PkyX5C2u3B5x2Pw=3D=3B_b=3De7fZME?= =?utf-8?q?r/MU49ALoCkQaTdc/Qb5IM1fCQuJkOn9+nzwdW4VJrWGZooOHZAQDPLwV18EZlxJu?= =?utf-8?q?wZjsNTNfaqmMFqC8tfRfvtvJ3uVpJnIR9Ml2SKPZoH/+qUMOSkUSKxsHxwcT/6oYO?= =?utf-8?q?dxLjoK3CkaEhJK5oaT5sJ8q65prYQdChXK2jv22zVRLnw4lUh91ueOje1cf28RdLk?= =?utf-8?q?AxjylqDhcFtkt1/g+oWzolNBCn4KV+hocfMy4RL7AFTnhOp01mEYDBDEM7h3fha1k?= =?utf-8?q?qQTKEOhMGNsc8NLcpoKTulajrcauuegnIQPmWudkjvBSd6os8JZxWGqrVzmrugG6r?= =?utf-8?q?6xLCfGqVd2g=3D=3D?=
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; =?utf-8?q?h=3DFrom=3ADate=3ASubject=3AMessage-ID=3AContent-Typ?= =?utf-8?q?e=3AMIME-Version=3AX-MS-Exchange-SenderADCheck=3B?= =?utf-8?q?bh=3D+/dcdamVTFaFKyNBFD8QXaQKefK4PkyX5C2u3B5x2Pw=3D=3B_b=3Dgw9JGS?= =?utf-8?q?GtSL/TPtay8xhV6n414cMoqb3TgQEuyUsUaHKXtxkqCq9rWeIJZ7xFJi3I6MoDtXB?= =?utf-8?q?e5VIbGBgs+uHDcZNtE3LcrrmvB4uM9E4sm2pMMN4SL0Ru5Ts7HPJU+1HA/VYSfrpr?= =?utf-8?q?VKrzuxf//O32tj6WoDi/JLDgIiGyOWoAvhs=3D?=
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: =?utf-8?q?AdX2sUQTt8TR64exRw6bAaEpFrsNEgAD11cAAACWSIAAAOWNgAAD?= =?utf-8?q?4iVQAAalBwAACxURwAE9jDUAAAUUToA=3D?=
Date: Tue, 17 Mar 2020 07:02:30 +0000
Message-ID: =?utf-8?q?=3CHE1PR07MB44253C9941C7E6F1011615F5C2F60=40HE1PR07MB4?= =?utf-8?q?425=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?=
References: =?utf-8?q?=3CHE1PR07MB44251B019947CDB6602B30B2C2FF0=40HE1PR07MB4?= =?utf-8?q?425=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?= =?utf-8?q?=3CA2300F8D-5F87-461E-AD94-8D7B22A6CDF3=40gmx=2Ede=3E_=3CHE1PR07M?= =?utf-8?q?B4425B105AFF56D1566164900C2FF0=40HE1PR07MB4425=2Eeurprd07=2Eprod?= =?utf-8?q?=2Eoutlook=2Ecom=3E?= <1C969A05-A4B7-43E9-B694-3195A2FC086A@gmx.de> =?utf-8?q?=3CHE1PR07MB44255CED94938F9C38515FD6C2FF0=40HE1PR07MB4425=2Eeurpr?= =?utf-8?q?d07=2Eprod=2Eoutlook=2Ecom=3E?= =?utf-8?q?=3CAC10E219-46C2-4345-B98F-71689F788B13=40gmx=2Ede=3E_=3CHE1PR07M?= =?utf-8?q?B4425AA2A7976C1CCF594D3B2C2FF0=40HE1PR07MB4425=2Eeurprd07=2Eprod?= =?utf-8?q?=2Eoutlook=2Ecom=3E?= <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: =?utf-8?q?=3CHE1PR07MB32411C973BE9A9E5AA0D73B1C2F?= =?utf-8?q?60=40HE1PR07MB3241=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?=
x-ms-oob-tlc-oobclassifiers: OLM:2043;
x-forefront-prvs: 0345CFD558
x-forefront-antispam-report: SFV:NSPM; =?utf-8?q?SFS=3A=2810009020=29=286029?= =?utf-8?b?MDAxKSg0NjM2MDA5KSgzNjYwMDQpKDM3NjAwMikoMTM2MDAzKSgzOTYwMDMpKDM5?= =?utf-8?q?860400002=29=28346002=29=28199004=29=2881166006=29=2881156014=29?= =?utf-8?q?=288936002=29=2871200400001=29=28316002=29=282906002=29=284786000?= =?utf-8?b?MDEpKDU0OTA2MDAzKSgxMTAxMzYwMDUpKDMzNjU2MDAyKSg5Njg2MDAzKSgx?= =?utf-8?b?ODYwMDMpKDc2MTE2MDA2KSg1MzU0NjAxMSkoNTUwMTYwMDIpKDI2MDA1KSg2?= =?utf-8?q?506007=29=284326008=29=288676002=29=28107886003=29=2852536014=29?= =?utf-8?q?=285660300002=29=2886362001=29=2866556008=29=2864756008=29=286694?= =?utf-8?b?NjAwNykoNzY5NjAwNSkoNjY2MTYwMDkpKDY2NDQ2MDA4KSg2NjQ3NjAwNyk7?= 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: =?utf-8?q?zC+OFo4NuqA5FTLK/F613//jhc8Jns5?= =?utf-8?q?gATFVUrbeLAV1d2QqhN2iIsIKcnUYw4T5p/EjZ7SBq138P3yx3DQZfeOhEP6HZ+WX?= =?utf-8?q?GySR48pAIg8/RCQRsoehNICU9n8SQrrQpsWqufb23d/VXfzN06dHuwOLor2WH5IWl?= =?utf-8?q?w/IOpq/mT5bRcYIR5wgIn2zS4Yk2ew1g893VI9MiFdG77URd4x9cuiZL+O4NC1BSf?= =?utf-8?q?IiXrEMl4ilr1E+bBsX06ImFJzIu4IQzQ8O+K4tk14O0RRqGzvzc5IJcXXayV6guYo?= =?utf-8?q?EQTU+uWphJUXBE5tMf0RKYYQyc5CSW0aofjd/V8zhMWw2y1K7MVX+1atHYo9uMEj0?= =?utf-8?q?vyxv2M425bjpoQn8L+MPCHzgfl444MDxmBM0BGlqvR8enrwNpYGZ5SiWG7m0cq605?= =?utf-8?q?VWBT6LVVA0hxcub5ZGPgLAw8a2e?=
x-ms-exchange-antispam-messagedata: =?utf-8?q?kiD5tf8qXjUb5X2OYtJ/DMU+vOjyl2?= =?utf-8?q?/AjJ1+K7X3sAcTddKTSUw2RzgRbbd15EEZ420wVwX27DKSj761tpfiAxmlAA8HbDC?= =?utf-8?q?RWwCYL0uTpbF5bY2SzpA/SXhIH3k07jU/n5AZlnUFCgsw5ofd+XLLCQ=3D=3D?=
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: =?utf-8?q?FTYVbKyFGXq/ydatLzwZ3?= =?utf-8?q?2V2UUTgYBB/5Tu8Slp6jowQD+tpKnLVWaSQKZKeFgT5lyC7MBURVHf0ep81NLRgp4?= =?utf-8?q?93SA7ezrNzpqG7KNP+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>de>; Ingemar Johansson S
> <ingemar.s.johansson@ericsson.com>om>; 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