Re: [iccrg] [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S

Bob Briscoe <in@bobbriscoe.net> Tue, 17 March 2020 02:01 UTC

Return-Path: <in@bobbriscoe.net>
X-Original-To: iccrg@ietfa.amsl.com
Delivered-To: iccrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94C683A1581 for <iccrg@ietfa.amsl.com>; Mon, 16 Mar 2020 19:01:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.433
X-Spam-Level:
X-Spam-Status: No, score=-1.433 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bobbriscoe.net
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 WI7nD6Qzr07d for <iccrg@ietfa.amsl.com>; Mon, 16 Mar 2020 19:01:55 -0700 (PDT)
Received: from cl3.bcs-hosting.net (cl3.bcs-hosting.net [3.11.37.202]) (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 B93B23A1580 for <iccrg@irtf.org>; Mon, 16 Mar 2020 19:01:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bobbriscoe.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WKo48YX/1jlkkwtqb/oXzy/xvXe+5w090aMCuhO2FY4=; b=k9FLb6qI/omrOqMg3Z+Jq2Ytv2 b8wX7CbrQ1Ybvb+fG6im9NUbZ6VgR6QxnuTwem8pDzKGzYdRwA4Dn9kypZ9vwaT+5GIgmzN49iy4c c+iBOhUc4QckcD9Z0G4Xr7cLlZ9A6QKW8TdLAIzntMo2qofddDBydWo6fzDD+24gcDcOM8wAC2/WN 6u1jEpXj1x0AAQVa8z8LS7XBYZHgl/oOoQby8e9/hVM4Yf6zTYpRhtRO9pmliiOePXDDCHSZPAErP CzIG5Js/s8wbQ53mSzYVewWGCvyeBhtrX8UhwRfknjvpBQbiYt6IEq5Iqt0nN+b0ggpNBvTAChozP I1h3T4uw==;
Received: from host-79-78-166-168.static.as9105.net ([79.78.166.168]:35458 helo=[192.168.2.5]) by cl3.bcs-hosting.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <in@bobbriscoe.net>) id 1jE168-008lIV-M5; Tue, 17 Mar 2020 01:32:49 +0000
To: Ingemar Johansson S <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>, Sebastian Moeller <moeller0@gmx.de>
Cc: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>, "iccrg@irtf.org" <iccrg@irtf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>
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>
From: Bob Briscoe <in@bobbriscoe.net>
Message-ID: <efb20cca-ccee-1d74-3f95-a287e53049b8@bobbriscoe.net>
Date: Tue, 17 Mar 2020 01:32:47 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <HE1PR07MB4425AA2A7976C1CCF594D3B2C2FF0@HE1PR07MB4425.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-GB
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - cl3.bcs-hosting.net
X-AntiAbuse: Original Domain - irtf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - bobbriscoe.net
X-Get-Message-Sender-Via: cl3.bcs-hosting.net: authenticated_id: in@bobbriscoe.net
X-Authenticated-Sender: cl3.bcs-hosting.net: in@bobbriscoe.net
X-Source:
X-Source-Args:
X-Source-Dir:
Archived-At: <https://mailarchive.ietf.org/arch/msg/iccrg/hZklWQ7fesWRjdDP9EWBNQEPpFk>
Subject: Re: [iccrg] [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S
X-BeenThere: iccrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussions of Internet Congestion Control Research Group \(ICCRG\)" <iccrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/iccrg>, <mailto:iccrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iccrg/>
List-Post: <mailto:iccrg@irtf.org>
List-Help: <mailto:iccrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/iccrg>, <mailto:iccrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Mar 2020 02:01:58 -0000

Sebastian,

I suspect it is the 20ms interval that is the main cause the extra 
queuing delay with CoDel.

The 20:1 ratio between interval and target was really designed around 
loss. The need to filter out brief excursions in the queue is only 
necessary when you're using impairments (losses) as signals. If you're 
using explicit signals, you can signal unfiltered queue variations, 
because there is no harm having higher ECN marking levels. For that 
matter, you might as well use Eric Dumazet's simple patch to CoDel that 
adds immediate ECN marking at a shallow threshold, bypassing all the 
CoDel machinery, which is really tailored for loss.

Of course, unless you have FQ (which you can't at the RLC layer), you 
would have to work out some other way to ensure coexistence with 
existing congestion controls. That is left as an exercise for the reader 
- I wouldn't want to be seen to be pushing any particular solution. But 
hopefully, through scenarios like this, you might start to understand 
the set of requirements that led to one solution rather than another.


Bob

On 10/03/2020 21:04, Ingemar Johansson S wrote:
> Hi
> 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)
>
> And as said earlier, the SCReAM code is freely available to experiment with and occasionally it is quite fun (https://www.youtube.com/watch?v=eU1crtEvMv4 ).
>
>
> /Ingemar
>
>> -----Original Message-----
>> From: Sebastian Moeller <moeller0@gmx.de>
>> Sent: den 10 mars 2020 16:29
>> To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
>> Cc: Ingemar Johansson S
>> <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>; tsvwg@ietf.org;
>> iccrg@irtf.org
>> Subject: Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S
>>
>> Hi Ingemar,
>>
>>
>>
>>> On Mar 10, 2020, at 13:37, Ingemar Johansson S
>> <ingemar.s.johansson@ericsson.com> wrote:
>>> Hi
>>>
>>> The SCReAM code is freely available on
>> https://protect2.fireeye.com/v1/url?k=3fa4aff0-6370a99d-3fa4ef6b-
>> 867011091b6c-c4d35656f5c9b268&q=1&e=16e2b451-36c7-4814-af9d-
>> 4acb21ac792b&u=https%3A%2F%2Fgithub.com%2FEricssonResearch%2Fscream
>> for anybody interested to run their own experiment with whatever AQM/ECN
>> configuration.
>>
>> 	[SM] Well, if you are not interested in figuring out what is happening
>> with with rfc3168 ECN ans SCReAM that is your prerogative...
>>
>>
>>> Please note that SCReAM is configured in an L4S mode when the network
>>> AQM does L4S marking (mimicking ECT(1)). For CoDel-ECN however, SCReAM
>>> runs in normal ECN mode with a beta of 0.8 (=20% reduction on CWND for
>>> each congestion event)
>> 	[SM] Okay, that is a far cry from Reno's 50% though, have you tested
>> different reduction percentages or how did you arrive at 20%?
>> But is it really 0.8? ScreamTx.h has the following:
>>
>> // CWND scale factor upon ECN-CE event
>> static const float kEcnCeBeta = 0.9f;
>>
>> I am probably missing something somewhere...
>>
>>> I tried also with other different ramp markers (1ms/10ms),
>> (2ms/10ms),(5ms/15ms).
>>
>> 	[SM] That means for L4S, or do you mean you tried different values for
>> Codel's target ans ce_threshold parameters?
>>
>>
>>> There are slight variations  in throughput and latency but not dramatic.
>> 	[SM] Well, these are also pretty slight variations in numerical values, at
>> least if compared to codel's default interval of 100ms...
>>
>>> And truth to be told, the ECN behavior is better tuned in the code than the L4S
>> behavior.
>>
>> 	[SM] For a defintion of better that ignores that you seem to be much
>> happier with the results L4S gives you.
>>
>>> There is room for improvement as regards to the L4S behavior (for instance
>> faster ramp-up) and it may well be the case that SCReAM is completely scrapped
>> in favor of new designs.
>>> But the bottomline, the L4S thresholds and L4S code is not carefully picked to
>> show a good performance.
>>
>> 	[SM] So, you tried different L4S parameters (and found the to have
>> similar performance) but for rfc3168 ECN and Codel you only tried the default
>> parameters?
>>
>> Best Regards
>> 	Sebastian
>>
>>> /Ingemar
>>>
>>>> -----Original Message-----
>>>> From: Sebastian Moeller <moeller0@gmx.de>
>>>> Sent: den 10 mars 2020 11:28
>>>> To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
>>>> Cc: Ingemar Johansson S
>>>> <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>; tsvwg@ietf.org;
>>>> iccrg@irtf.org
>>>> Subject: Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S
>>>>
>>>> Hi Ingemar,
>>>>
>>>>
>>>>> On Mar 10, 2020, at 11:07, Ingemar Johansson S
>>>> <ingemar.s.johansson@ericsson.com> wrote:
>>>>> Hi
>>>>>
>>>>> For the future studies we will only focus on L4S as the scope is to
>>>>> study the
>>>> performance gain that L4S give for instance for AR/VR, gaming and
>>>> remote control applications.
>>>>
>>>> 	[SM] How are you going to "study the performance gain that L4S
>>>> give[s]" if you do not compare it with the best of class
>>>> alternatives? I am truly puzzled.
>>>>
>>>>> Flow aware AQMs with RTT estimates as metadata in the packets is
>>>>> outside
>>>> the scope as it would require packet inspection, which is not
>>>> feasible if queues build up on the RLC layer in the 3GPP stack.
>>>>
>>>> 	[SM] Fair enough. What is this comparison intended to show us then?
>>>>
>>>> As far as I can see you paired an application designed for 1/p-type
>>>> congestion feed-back with an 1/sqrt(p)-type AQM that was also set for
>>>> sub-optimal RTT and latency target for the test path. And lo and
>>>> behold, the application does "better*" for the 1/p-type AQM (with
>>>> lower latency target; I assume that  L4S ramp-marker (Th_low=2ms,
>>>> Th_high=10ms) was carefully selected to match what SCReAM expects).
>>>> IMHO that simply demonstrates, that in communication it pays if
>>>> sender and receiver of a symbol (CE here) assign the same meaning to it.
>>>>
>>>> But that can not be it, sohat am I missing here?
>>>>
>>>> Best Regards
>>>> 	Sebastian
>>>>
>>>>
>>>> *) Assuming one buys into your definition of better, in which
>>>> (instantaneous) queueing delay is valued over video quality. From a
>>>> network operators perspective that seems a valid position
>>>>
>>>>
>>>>
>>>>
>>>>> /Ingemar
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Sebastian Moeller <moeller0@gmx.de>
>>>>>> Sent: den 10 mars 2020 10:45
>>>>>> To: Ingemar Johansson S
>>>>>> <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>
>>>>>> Cc: tsvwg@ietf.org; Ingemar Johansson S
>>>>>> <ingemar.s.johansson@ericsson.com>; iccrg@irtf.org
>>>>>> Subject: Re: [tsvwg] SCReAM (RFC8298) with CoDel-ECN and L4S
>>>>>>
>>>>>> Hi Ingemar,
>>>>>>
>>>>>> thanks for posting this interesting piece of data!
>>>>>>
>>>>>>> On Mar 10, 2020, at 09:02, Ingemar Johansson S
>>>>>> <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org> wrote:
>>>>>>> Hi
>>>>>>>
>>>>>>> I recently updated the readme on the SCReAM github with a
>>>>>>> comparison with
>>>>>> SCReAM in three different settings
>>>>>>> 	• No ECN
>>>>>>> 	• CoDel ECN
>>>>>>> 	• L4S
>>>>>>> https://protect2.fireeye.com/v1/url?k=63019d27-3f884737-6301ddbc-0
>>>>>>> cc
>>>>>>> 47
>>>>>>> ad93e2a-489fa99c3277fb8a&q=1&e=5aab95a7-4aab-4a64-99a5-
>>>>>> 5b55606e303b&u=
>>>>>>> https%3A%2F%2Fgithub.com%2FEricssonResearch%2Fscream%23ecn-
>>>> explicit-
>>>>>> co
>>>>>>> ngestion-notification
>>>>>>>
>>>>>>> Even though it is more than a magnitude difference in queue delay
>>>>>>> between CoDel-ECN and L4S,
>>>>>>
>>>>>> 	[SM] So, in this simulations of a 20ms path, SCReAM over L4S gives
>>>>>> ~10 times less queueing delay, but also only ~2 less bandwidth
>>>>>> compared to SCReAM over codel. You describe this as "L4S reduces
>>>>>> the delay considerably more" and "L4S gives a somewhat lower media
>> rate".
>>>>>> I wonder how many end-users would tradeoff these 25ms in queueing
>>>>>> delay against the decrease in video quality from halving the bitrate?
>>>>>> Could you repeat the Codel test with interval set to 20 and target
>>>>>> to 1ms, please?
>>>>>>
>>>>>> If that improves things considerably it would argue for embedding
>>>>>> the current best RTT estimate into SCReAM packets, so an AQM could
>>>>>> tailor its signaling better to individual flow properties (and yes,
>>>>>> that will require a flow-aware AQM).
>>>>>>
>>>>>>
>>>>>>
>>>>>>> it is fair to say that these simple simulations should of course
>>>>>>> be seen as just a
>>>>>> snapshot.
>>>>>>
>>>>>> 	[SM] Fair enough.
>>>>>>
>>>>>>> We hope to present some more simulations with 5G access, and not
>>>>>>> just
>>>>>> simple bottlenecks with one flow, after the summer.
>>>>>>
>>>>>> 	[Looking] forward to that.
>>>>>>
>>>>>>> Meanwhile, the SCReAM code on github is freely available for
>>>>>>> anyone who
>>>>>> wish to make more experiments.
>>>>>>> /Ingemar
>>>>>>> ================================
>>>>>>> Ingemar Johansson  M.Sc.
>>>>>>> Master Researcher
>>>>>>>
>>>>>>> Ericsson Research
>>>>>>> RESEARCHER
>>>>>>> GFTL ER NAP NCM Netw Proto & E2E Perf Labratoriegränd 11
>>>>>>> 971 28, Luleå, Sweden
>>>>>>> Phone +46-1071 43042
>>>>>>> SMS/MMS +46-73 078 3289
>>>>>>> ingemar.s.johansson@ericsson.com
>>>>>>> www.ericsson.com
>>>>>>>
>>>>>>> Reality, is the only thing… That’s real!
>>>>>>>      James Halliday, Ready Player One
>>>>>>> =================================

-- 
________________________________________________________________
Bob Briscoe                               http://bobbriscoe.net/