Re: [rmcat] Following up on my ECN feedback question at the meeting today

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Mon, 21 November 2016 13:14 UTC

Return-Path: <ingemar.s.johansson@ericsson.com>
X-Original-To: rmcat@ietfa.amsl.com
Delivered-To: rmcat@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A57E1129A1D for <rmcat@ietfa.amsl.com>; Mon, 21 Nov 2016 05:14:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.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 Qw6JXatw5GqB for <rmcat@ietfa.amsl.com>; Mon, 21 Nov 2016 05:14:18 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 C2AB3129A20 for <rmcat@ietf.org>; Mon, 21 Nov 2016 05:14:17 -0800 (PST)
X-AuditID: c1b4fb3a-d644398000007918-82-5832f3275dab
Received: from ESESSHC023.ericsson.se (Unknown_Domain [153.88.183.87]) by (Symantec Mail Security) with SMTP id 82.D5.31000.723F2385; Mon, 21 Nov 2016 14:14:16 +0100 (CET)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.87) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 21 Nov 2016 14:14:15 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ufAA6PhzAnyOf4rcpdQXU6e8Tl0GBB5Aplsn3fUqdXE=; b=TMGYN/o6DKhlaWE27w6uyZxhRVMlGOzvWLk7SkjZcti+qZ9UP1sZyj8WAfr97Po9gIMLExKGkQuLUcFjDDeJdYuDPEbLaDRvj9v1JpZPJJMk4lH+1JQ08GcbqbyJbX96lbGZzW7JgLsVr0v+JfHWoaCTpb8AJLFrSIjgWFzNDUk=
Received: from DB4PR07MB348.eurprd07.prod.outlook.com (10.141.234.148) by DB4PR07MB347.eurprd07.prod.outlook.com (10.141.234.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.5; Mon, 21 Nov 2016 13:14:14 +0000
Received: from DB4PR07MB348.eurprd07.prod.outlook.com ([10.141.234.148]) by DB4PR07MB348.eurprd07.prod.outlook.com ([10.141.234.148]) with mapi id 15.01.0747.006; Mon, 21 Nov 2016 13:14:13 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: "in@bobbriscoe.net" <in@bobbriscoe.net>, "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>, "Michael Ramalho (mramalho)" <mramalho@cisco.com>
Thread-Topic: [rmcat] Following up on my ECN feedback question at the meeting today
Thread-Index: AQHSQPyWEKWQg1XVT0OUUvHX6S8g5KDjagJA
Date: Mon, 21 Nov 2016 13:14:13 +0000
Message-ID: <DB4PR07MB348FD7788D05AEC0EE6C24EC2B50@DB4PR07MB348.eurprd07.prod.outlook.com>
References: <582D8488.1000200@erg.abdn.ac.uk> <237b098db57e43668bcc4ce72bef1ec1@XCH-ALN-017.cisco.com> <582DC8CA.1050103@erg.abdn.ac.uk> <57f0db24766a124929b403b16fc412d4.squirrel@server.dnsblock1.com>
In-Reply-To: <57f0db24766a124929b403b16fc412d4.squirrel@server.dnsblock1.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-originating-ip: [192.176.1.89]
x-ms-office365-filtering-correlation-id: 0a51c614-396d-4e7f-23fc-08d412104a01
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB4PR07MB347;
x-microsoft-exchange-diagnostics: 1; DB4PR07MB347; 7:sOBR353hyEq0RtjWRuR83+HkexMQY+wS99eVrdwFG7nwvH/iyIgmJnIl7h/iiMHt76O3XoFRDn3YGvsCy63fuT/K82oAOldt5np0zC/PL88mv7oDEdzUj+KAgKLRlVSjvSD4qi5vWobIAl84agSD0veMhQ7+bZ/a6PY8G/3JQeBTFnAZRMllYUZZynoPHp80IBVtbogeHHEIheOCDBKzoc4B3kITTt1T4lO7jrgDQEI6sMSvSE2KvV5IoBol66EIvtGmv5nhYeuItMs7026+2ueovBbEtsaF7SrQSWvtvTfB45MpdbD3qR59rmYzowWCVFTNdME8ssoPr0Wp0XQ7Eho5OZ55YVbxhpAbimAWhbI/2zM7TzYhj8GzAvMSq+RV1Xw2CgLov7t/Bgg2YrEXnQPy2iAwgz2qYZgsbIddGTMrmFOHekyAgh2b2hEE8QRBc4gTbZ+hocRrOm4+pFlccA==
x-microsoft-antispam-prvs: <DB4PR07MB34704A0C4A651CE4C39F1DBC2B50@DB4PR07MB347.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(20558992708506)(100405760836317)(95692535739014)(211171220733660);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6045199)(6040307)(6060326)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(6061324); SRVR:DB4PR07MB347; BCL:0; PCL:0; RULEID:; SRVR:DB4PR07MB347;
x-forefront-prvs: 01334458E5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(199003)(377454003)(189002)(24454002)(13464003)(2906002)(8676002)(81156014)(81166006)(8936002)(2900100001)(97736004)(189998001)(5001770100001)(5660300001)(6506003)(2950100002)(92566002)(2501003)(7696004)(86362001)(229853002)(38730400001)(87936001)(76176999)(54356999)(76576001)(50986999)(3846002)(77096005)(102836003)(6116002)(68736007)(3660700001)(4326007)(66066001)(101416001)(33656002)(3280700002)(122556002)(561944003)(74316002)(305945005)(9686002)(93886004)(7846002)(7736002)(106356001)(106116001)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR07MB347; H:DB4PR07MB348.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2016 13:14:13.3996 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR07MB347
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02SbUhTURzGO7v3btfR6DQV/5qijYoS1BpaKyyqL63SELMcfqmhVx3plF2V LJENUnC+JOFIF8s+SOnMVypNylQ0FQMtNd+wlS8sHWUmqWlZu16Dvv3O83/O+T88HJqQllBe tEabxui06iSZUEyWqZqiA/YvyVUHS39IFI7ce0jxuGGNVCws7VBUj30TniSV87YBSlmy3kAp C5Y+C5QVFT8FEWSMODSOSdJkMLqgE1fFiROrJkHqu6zr1Y2lhB41ZxoRTQMOhl+WPUYkpqW4 FoFRP4uMyMV56EGwaEjgBiQuJKC8y0LyLpMA7kwXELzrNYKWutMcC3EoVHWsbN52w7cR2J+G ckzgvVBsLxZy7IqjwDTetuW5BHbbAMGlcMNyWG8J4GTSab87ekvAsQTHwGh9M8Hv7UfwfHJN xA1ccDjM3zdvZkDYB2wrH0h+lweMz5RvXgaMoeJFP8GzO8xNb1C8Pxa+jxVSvO4H3ZVfhDyH w8OiVsRzGMwaLFt6PglNnRd41kDnhJ3im0uC4clILhvgcQQ5z2q3/N7wypIr4Ad9FLypGxTx ZTHwqCYH8UV4weRQHipG/ub/cpud7xL4ANS1BPHybijJ/yQyb3axE3rLZsgHiLQid5Zh2eQE uTyQ0WliWTZFG6hl0hqR86+0P1k/1oza7ac6EKaRbLukflCuklLqDDYzuQMBTcjcJFFfnZIk Tp15g9GlXNGlJzFsB9pFkzIPyeEqW7QUJ6jTmGsMk8ro/k0FtIuXHpXNHb855SHKE4k//knf qLBmsQuK0bZ9I01B/i09y7lF718W1RzZVmzr7broF9GVr1cZKvtqHCHnFouGaY+xsOX5tw5D CLSvRrsejWQbrSFD57OmfLN99JnU5Ywzqu7p1njPVOlImzj4rKcJsw6D75JFbYqnXb2t2dUS ZfRvGckmqg/5EzpW/Rckw8+FJwMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/rmcat/QizdvPNFJVhRsUy0A8lV6nHtTVA>
Cc: "rmcat@ietf.org" <rmcat@ietf.org>
Subject: Re: [rmcat] Following up on my ECN feedback question at the meeting today
X-BeenThere: rmcat@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "RTP Media Congestion Avoidance Techniques \(RMCAT\) Working Group discussion list." <rmcat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rmcat>, <mailto:rmcat-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rmcat/>
List-Post: <mailto:rmcat@ietf.org>
List-Help: <mailto:rmcat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rmcat>, <mailto:rmcat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Nov 2016 13:14:32 -0000

Hi Bob + others

For what it's worth, in the proposed SCReAM feedback there is only an ECN-CE counter. I have however not pursued this as I left to the feedback design team to come up with a generic feedback format that works for all RMCAT candidates.

There may be cases where one would like to know exactly which packets that are ECN-CE marked, what I can come up with is :
1) ConEx : Achieve a perfect indication of bytes congested in the re-inserted feedback
2) Scalable congestion control (L4S) : Compute the exact amount of "congested" bytes for proper computation of the congestion window backoff.
The reason why I think a counter is sufficient is that the feedback for each media is individual, so if you have two media streams with vastly different bitrates you will still be able to get (hopefully) decent approximations for 1) and 2) based of the average packet size for each stream. For scalable congestion control I don't believe that an average congestion bytes that is a little off plays that much of a role, it will temporarly lead to a congestion window decrease that is a little off but that would correct itself in the form of a few more or less ECN-CE marked packets in the subsequent round trips, it is most likely an error that will drown in the other congestion noise.

Reporting of ECT(0) and ECT(1) is guess mainly for e.g. black hole detection. It is however possible to use RFC6679 for this purpose.

/Ingemar




> -----Original Message-----
> From: Bob Briscoe [mailto:in@bobbriscoe.net]
> Sent: den 17 november 2016 19:01
> To: gorry@erg.abdn.ac.uk; Michael Ramalho (mramalho)
> <mramalho@cisco.com>
> Cc: rmcat@ietf.org
> Subject: Re: [rmcat] Following up on my ECN feedback question at the
> meeting today
> 
> Michael, Gorry,
> 
> On Thu, November 17, 2016 3:12 pm, Gorry Fairhurst wrote:
> > Sounds fine, thanks - I'll let others also get back if they wish,
> > otherwise keep designing!
> >
> > Gorry
> >
> >
> > On 17/11/2016 14:59, Michael Ramalho (mramalho) wrote:
> >
> >> Hi Gorry,
> >>
> >>
> >> Speaking for myself (and not necessarily all on the RMCAT Design
> >> Team), every proposal so far has the ability to report both ECN bits
> >> for ALL the packets the receiver received. Thus the sender, knowing
> >> what was sent and what was received, could determine any changes in
> these bits.
> >>
> >> The proposals since the "01" draft have put the ECN information in
> >> different places - to attain the goal of trivial compression. Note
> >> that we have not come to closure if compression is needed (that was
> >> what Colin's presentation addressed).
> >>
> >>
> >> In the proposal shown at the meeting - if all the ECN bits received
> >> were identical, one instance of those two bits appeared in the fixed
> >> body of the report (two bits stolen from where the end_seq was
> >> previously) along with a flag (another bit stolen from the same
> >> field) that stated that all received ECN bits were identical. If all
> >> received ECN bits were not identical, then ALL of the individual ECN
> >> bits for all packets received were reported elsewhere (in the "C
> >> bits" after all the arrival time offset fields).
> >>
> >> There was discussion in one of the DT meetings that one might want
> >> disable the reporting of the individual ECN bits - perhaps
> >> dynamically via signaling - and I briefly mentioned that during my
> presentation.
> >> Such discussion has not been reflected in any consensus nor in any
> >> text. I think the option was discussed in the context of a low
> >> bandwidth stream (but I am not certain on this point).
> >>
> >> However, if such an option to disable ECN reporting was desired and
> >> enabled - the format in the proposal shown had two ECN bit locations
> >> above as "a representative ECN". Again, this was not defined or
> >> discussed - but such could be the most prevalent ECN ... or the
> >> "worst-case" ECN (i.e., if there was congestion flagged in some of
> >> them) ... or [who knows].
> >>
> >> In closing, we are not certain that we need compression. But we do
> >> know how to compress loss indications and individual ECN bits
> >> efficiently via run length encoding (perhaps using what is already
> >> defined in RTCP XR). My vote would be to compress the ECN (rather
> >> than disabling ECN
> >> reporting) if we ever decided that the reporting all ECN bits
> >> individually was too burdensome.
> 
> [BB]: In any compression scheme, please try to avoid allowing the receiver to
> opt out of giving an accurate count of CE received...
> 
> One of the reasons for (potentially) deciding we do not need the ECN nonce
> in the IP header any more (see draft-black-tsvwg-ecn-experimentation) is
> that an alternative is possible without consuming any IP header codepoints.
> It has not been written up, but it would involve the sender randomly setting
> CE itself once or twice, and checking that the receiver reports these
> faithfully. I believe it would be sufficient for the receiver to just report the
> sum of CE marks (so the sender's injected CE marks would set a lower bound
> to how much marking a receiver could suppress).
> 
> Like the ECN nonce, this is only applicable if the sender is willing to police ECN
> on behalf of the network. But despite its limitations, it is worth ensuring that
> a receiver cannot downgrade feedback precision sufficiently to enable its
> own attack.
> 
> I believe it will be sufficient for CE feedback to always be accurate. ECT
> 0/1 do not need to be accurate.
> 
> Also, please ensure the feedback always gives bytes marked not just packets
> marked (or allows the sender to infer bytes marked, e.g. if all packets are the
> same size). Not just to aid testing for receiver cheating, but also as motivated
> in RFC7141.
> 
> Until someone writes up a scheme for testing receiver ECN feedback
> compliance, I'm afraid I cannot give more details. But you can find the
> equivalent scheme for drop here:
> draft-moncaster-tcpm-rcv-cheat-03 (Expired)
> 
> Also I suggest a read of rfc7560. Despite its title, "Problem Statement and
> Requirements for Increased Accuracy in ECN Feedback", it is solely about
> TCP, but still a useful checklist for rmcat.
> 
> 
> Cheers
> 
> 
> Bob
> 
> >>
> >> Again, those are my opinions and not necessarily all on the Design
> >> Team. I'll let Colin and others respond to the frequency and overhead
> >> portions of your comments.
> >>
> >> Best,
> >>
> >>
> >> Michael Ramalho
> >>
> >>
> >> -----Original Message-----
> >> From: rmcat [mailto:rmcat-bounces@ietf.org] On Behalf Of Gorry
> >> Fairhurst
> >>  Sent: Thursday, November 17, 2016 5:21 AM
> >> To: rmcat@ietf.org
> >> Subject: [rmcat] Following up on my ECN feedback question at the
> >> meeting today
> >>
> >> I have some follow-up comments on things relating to the transport
> >> use of ECNthat may relate to draft-dt-rmcat-feedback-message-01.
> >>
> >> (1) My meeting comment on jabber was (I may have missed the point
> >> earlier in the talk) that I wanted to check if a new method could
> >> potentially hide the presence of a CE-Mark (specifically receiving a
> >> CE-marked packet and not reporting this seems like something we may
> >> wish to worry about and I could not work out is the proposal ever
> >> omitted ECN information).
> >>
> >> (2) Now looking at the design team draft, this statement is of course
> >> OK with me:
> >>
> >>
> >> "If ECN
> >> [RFC3168] is used, it is necessary to report on the 2-bit ECN mark in
> >> received packets, indicating for each packet whether it is marked
> >> not-ECT, ECT(0), ECT(1), or ECN-CE."
> >>
> >> And following this it seems to me that there are two very basic
> >> pieces of information that I'd love to be able to know as a sender
> >> when using an ECN-capable network:
> >>
> >> (2a) It *can* be important to know that an ECT(?) codepoint is being
> >> received at the IP layer. A sender may well know that it is sending
> >> either ECT(0) or ECT(1), but doesn't definitely know these are being
> >> received unchanged (i.e., the path has not remarked these). -
> >> Reporting all ECN marks would clearly satisfy this - read no further
> >> if you plan to always do this. - A count of how many ECT marks were
> >> received is really helpful to know that the current ECN forwarding
> >> path is broken, it could even allow a sender to check that any chosen
> >> ECT(x) encoding is working, by independently setting x=0 or x=1, if
> >> it wishes. - Knowing which specific ECT(?) is received is potentially useful
> information.
> >> This could perhaps be used in a method to determine which flavour of
> >> ECN-marking is supported by a path, and more info about whether ECN
> >> is being handled correctly by a network (knowing middleboxes don't do
> >> unwanted things can always utilise extra information). (As new info,
> >> the TSVWG is currently considering work proposing to eliminate the
> >> use of NONCE encoding where an apps sends ECT(0) and ECT(1)
> randomly.
> >> This could simplify the need to encode which ECT(?) codepoints were
> >> received
> >> - see draft-black-tsvwg-ecn-experimentation.)
> >>
> >>
> >> (2b) A sender must *at least* know if there were any CE marks in a
> >> reporting interval. - If you report each CE received than this is
> >> sufficient. But I have a word of caution. *If* an app looses a report
> >> with a CE-mark report it may never know, and does not impact user
> >> experience in terms of loss, but the CC still needs to respond to
> >> behave correctly for AQM, and may impact delay :-). - It can be very
> >> valuable for the sender to know if ANY CE-marked packets were
> >> received, even if sending not-ECN capable packets at this moment
> >> (where it is an error that indicates ECT(?) is unreliable). - Knowing
> >> how many CE-marks (or CE-marked bytes) per interval is probably really
> valuable for a CC.
> >> I'd think a sender could easily utilise more CE per packet
> >> information, and may need to do (e.g., to utilise L4S should that be
> >> wanted in future). - Knowing each CE-mark is something that any CC
> >> can utilise and could be needed for L4S. It could also help to know
> >> about whether bursts are being marked, rather than average rate. -
> >> Some AQMs may use shallow marking and that is something that COULD
> be
> >> nice to detect in future from per-packet CE-mark reports. (At the
> >> moment, I really think we don't completely know yet how to do this).
> >>
> >>
> >> So to me, this suggests at least some counters per reporting interval
> >> are needed - and per-packet info will be much better.
> >>
> >> (3) In relation to "Feedback Frequency and Overhead", section 4. I
> >> have one less useful comment:
> >>
> >> Amortising overhead by reporting less often could perhaps result in a
> >> performance tradeoff. There may well be quite stringent timing
> >> implications if an RMCAT app wants to use "low latency" ECN - that's
> >> something to be watched as the transport as the L4S work in TSVWG
> >> progresses, but it would be nice to know that the report interval
> >> does not constrain our options. I'm arguing that the WG may need to
> >> note this (or consider this), but I for one, don't yet know how this
> >> will evolve in future.
> >>
> >> In case anyone needs it, draft-ietf-aqm-ecn-benefits-08 may have some
> >> more info.
> >>
> >> Best wishes,
> >>
> >>
> >> Gorry
> >>
> >>
> >
> >
> 
>