Re: [tsvwg] Requesting TSVWG adoption of SCE draft-morton-tsvwg-sce

Sebastian Moeller <moeller0@gmx.de> Tue, 19 November 2019 10:46 UTC

Return-Path: <moeller0@gmx.de>
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 428791208AB for <tsvwg@ietfa.amsl.com>; Tue, 19 Nov 2019 02:46:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.648
X-Spam-Level:
X-Spam-Status: No, score=-1.648 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.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 t3_5ohRSd9Uc for <tsvwg@ietfa.amsl.com>; Tue, 19 Nov 2019 02:45:59 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5411A1208DD for <tsvwg@ietf.org>; Tue, 19 Nov 2019 02:45:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1574160343; bh=XAu4YPHOSQiETXPBYOlta5eoBteXSc8L/VX3vLkwFwI=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=cVA+05BFZre7mAJTXxKaIKsBYa8MXyQt5vvkikjiP3nIFbgZZhuSqpoDqsCBLPAsi /zUGYUFNVl4fTzV3S9fWD1/De539EbmDwziy15LcCU5he+yZSJf3O4/LL2t9Ct7tqs rrLN0vafAvZ/Eh1gOWGWTOLffHj4DEQyKXxkMmuk=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [10.11.12.33] ([134.76.241.253]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MvbBk-1hgYU43A74-00sav5; Tue, 19 Nov 2019 11:45:42 +0100
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <HE1PR07MB44250C10A1C7448F82FAD366C24C0@HE1PR07MB4425.eurprd07.prod.outlook.com>
Date: Tue, 19 Nov 2019 11:45:40 +0100
Cc: Michael Welzl <michawe@ifi.uio.no>, "<gorry@erg.abdn.ac.uk> Fairhurst" <gorry@erg.abdn.ac.uk>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D9867E96-AB09-4830-8C2D-D66AA5754FD0@gmx.de>
References: <HE1PR07MB4425A6B56F769A5925FF5AA0C2720@HE1PR07MB4425.eurprd07.prod.outlook.com> <0F5F9FA9-FC09-4679-8A6A-45F93A6A6ED5@akamai.com> <HE1PR07MB44257A563B5DB08450E249E5C24C0@HE1PR07MB4425.eurprd07.prod.outlook.com> <BEE6B55E-85C9-45FF-AF59-B1A68DB55C77@ifi.uio.no> <HE1PR07MB44250C10A1C7448F82FAD366C24C0@HE1PR07MB4425.eurprd07.prod.outlook.com>
To: Ingemar Johansson S <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3445.104.11)
X-Provags-ID: V03:K1:bjDEnums/p6CEdOgLP3JgDZXCV4LijAHLq/C0be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ouoIes5eKjwnCNoO9vUCr00Hz3oLsYBnvBdpVL Y9qvDZv00tAmpaTgDpIt13Owq4EXRFQJInWLXrwprFoT4lVfDmmy8+euzvq4Ey9q1E1CfbHor Vkx+P80wkefKuDti0GPbL3R+IPQ+rjR9MOIPpvmSnn0LKqzwu+uH418OtgsJOweBe5oaGPArc t8Rt0yfpKkEwtc2dAhUGWUGicRkOrOaU0DH96YhrbtXK0cItTkAhUiayqrmMWFpdd5kzUUEkO qLZ+dlh+Bm/lJ3UFjBMlFCp/aW+aGM676iNHXJRJagUK6an/S0IpvXPNs7Z+CBZU2iwGBuq2u yLxVgbzlxIfNnzS9rQ8wCA9/5AtEecQ3PRBJTgpqh077wHnlpsh6H5mkZUyp0s2aKM9LyevRG qNjsWgygrcfNmLeKnsTynWVtDLoijBBKX83IvwE8F2iXJdo+thnsG008JjAo=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/DTP9sSMLNZCcx7fW-EoheoF9Vps>
Subject: Re: [tsvwg] Requesting TSVWG adoption of SCE draft-morton-tsvwg-sce
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, 19 Nov 2019 10:46:03 -0000

Hi Ingemar,


> On Nov 19, 2019, at 11:30, Ingemar Johansson S <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org> wrote:
> 
> Hi Michael
> Fair point, or perhaps in this discussion, I should use another word than "fair" to avoid confusion 😊
> 
> Yes. I know the paper discussed CoDel, what I wanted to point out however that CoDel has its own share of issues related to link underutilization at higher RTTs, meaning that the 5ms threshold is not good enough in all cases. My interpretation is that for classic traffic you need to set the thresholds differently depending on what RTT you expect your e2e traffic to experience.

	[SM] This is made pretty explicit in the codel rfc (https://tools.ietf.org/html/rfc8289) in the sections:

"4.2.  Setting INTERVAL


   The INTERVAL value is chosen to give endpoints time to react to a
   drop without being so long that response times suffer.  CoDel's
   estimator, TARGET, and control loop all use INTERVAL.  Understanding
   their derivation shows that CoDel is the most sensitive to the value
   of INTERVAL for single long-lived TCPs with a decreased sensitivity
   for traffic mixes.  This is fortunate, as RTTs vary across
   connections and are not known a priori.  The best policy seems to be
   to use an INTERVAL value slightly larger than the RTT seen by most of
   the connections using a link, a value that can be determined as the
   largest RTT seen if the value is not an outlier (use of a 95-99th
   percentile value should work).  In practice, this value is not known
   or measured (however, see Appendix A for an application where
   INTERVAL is measured).  An INTERVAL setting of 100 ms works well
   across a range of RTTs from 10 ms to 1 second (excellent performance
   is achieved in the range from 10 ms to 300 ms).  For devices intended
   for the normal terrestrial Internet, INTERVAL SHOULD have a value of
   100 ms.  This will only cause overdropping where a long-lived TCP has
   an RTT longer than 100 ms and there is little or no mixing with other
   connections through the link.


4.3.  Setting TARGET


   TARGET is the maximum acceptable persistent queue delay above which
   CoDel is dropping or preparing to drop and below which CoDel will not
   drop.  TARGET SHOULD be set to 5 ms for normal Internet traffic.

   The calculations of 
Section 3.2
 show that the best TARGET value is
   5-10% of the RTT, with the low end of 5% preferred.  Extensive
   simulations exploring the impact of different TARGET values when used
   with mixed traffic flows with different RTTs and different bandwidths
   show that below a TARGET of 5 ms, utilization suffers for some
   conditions and traffic loads; above 5 ms showed very little or no
   improvement in utilization.

   Sojourn times must remain above the TARGET for INTERVAL amount of
   time in order to enter the drop state.  Any packet with a sojourn
   time less than TARGET will reset the time that the queue was last
   below TARGET.  Since Internet traffic has very dynamic
   characteristics, the actual sojourn delay experienced by packets
   varies greatly and is often less than TARGET unless the overload is
   excessive.  When a link is not overloaded, it is not a bottleneck,
   and packet sojourn times will be small or nonexistent.  In the usual
   case, there are only one or two places along a path where packets
   will encounter a bottleneck (usually at the edge), so the total
   amount of queueing delay experienced by a packet should be less than
   10 ms even under extremely congested conditions.  This net delay is
   substantially lower than common current queueing delays on the
   Internet that grow to orders of seconds [NETAL2010] [CHARB2007].

   Regarding the roles of TARGET and the minimum-tracking INTERVAL, note
   that TARGET SHOULD NOT be increased in response to lower layers that
   have a bursty nature, where packets are transmitted for short periods
   interspersed with idle periods where the link is waiting for
   permission to send.  CoDel's estimator will "see" the effective
   transmission rate over an INTERVAL amount of time, and increasing
   TARGET only leads to longer queue delays.  On the other hand, where a
   significant additional delay is added to the intrinsic RTT of most or
   all packets due to the waiting time for a transmission, it is
   necessary to increase INTERVAL by that extra delay.  TARGET SHOULD
   NOT be adjusted for such short-term bursts, but INTERVAL MAY need to
   be adjusted if the path's intrinsic RTT changes."


Yes, you are correct that INTERVAL should be roughly matched to the observed RTT, but note that roughly here means roughly, so being off by a factor of 2 is not too problematic. TARGET however is simply a function of interval, I note again, that the derivation of TARGET from INTERVAL dependes on TCPs standard response pattern and hence should not be specific to CODEL or FQ_CODEL (this is why I proposed that as a stop-gap measure the dual queue AQM is tested with a reference queue delay value of 5 ms, but I digress).
	The same applies for PIE and other AQMs, the root cause seems to be that longer RTTs imply looser control loops and hence a disadvantage at competing with nimbler short RTT flows, which probably might be partially ameliorated, but probably is unfixable gerically (short of giving all control loops the worst case delay artificially).
But see Høiland-Jørgensen T, Hurtig P, Brunstrom A (2015) The Good, the Bad and the WiFi: Modern AQMs in a residential setting. Computer Networks 89:90–106. (https://www.sciencedirect.com/science/article/pii/S1389128615002479) for a deeper exploration of how that interacts with different path lengths and fairness.

This is also orthogonal, to the failure of L4S reference scheduler to properly share bandwidth between the two traffic classes L4S recognizes. And I personally doubt that that is easily fixable inside the existing dual queue AQM/scheduler design, but am opn to be convinced otherwise by hard empirical data.



Best Regards
	Sebastian





> 
> /Ingemar
> 
>> -----Original Message-----
>> From: Michael Welzl <michawe@ifi.uio.no>
>> Sent: den 19 november 2019 11:20
>> To: Ingemar Johansson S
>> <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>
>> Cc: Holland, Jake <jholland@akamai.com>; tsvwg@ietf.org;
>> <gorry@erg.abdn.ac.uk> Fairhurst <gorry@erg.abdn.ac.uk>; Ingemar
>> Johansson S <ingemar.s.johansson@ericsson.com>
>> Subject: Re: [tsvwg] Requesting TSVWG adoption of SCE draft-morton-
>> tsvwg-sce
>> 
>> JUST A CORRECTION  (*), because that was our work:
>> 
>>> FQ-CoDel is not problem free either see
>>> https://protect2.fireeye.com/v1/url?k=e91d5acb-b58f57d4-e91d1a50-
>> 0cc47
>>> ad93db4-16a1170b93824c3b&q=1&e=74431335-0146-453f-a47c-
>> fe14226bcc52&u=
>>> 
>> http%3A%2F%2Fdl.ifip.org%2Fdb%2Fconf%2Fnetworking%2Fnetworking201
>> 7%2F1570335770.pdf , which later on led to the alternate recommendations
>> in RFC8511, in other words the unfairness issues are to be addressed in the
>> endpoints.
>> 
>> We only evaluated CoDel, not FQ-CoDel, and this didn’t focus on fairness.
>> FQ_* is quite fair AFAIK  :-)
>> 
>> So… the unfairness issue wasn’t the argument in this paper that led to RFC
>> 8511.
>> 
>> Cheers,
>> Michael
>> 
>> ---
>> (*) the use of capitals here means: I am NOT a participant in this discussion,
>> OH MY GOD I am not, PLEASE don’t involve me!!!   … I’m merely correcting a
>> statement about our own earlier work.  I do enjoy watching the debate from
>> a safe distance, though.
>