Re: CONEX? (was: Re: Q and L loss bits)

"Brian Trammell (IETF)" <ietf@trammell.ch> Thu, 21 November 2019 10:07 UTC

Return-Path: <ietf@trammell.ch>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C4611209FE for <quic@ietfa.amsl.com>; Thu, 21 Nov 2019 02:07:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 YPOgMcpHhwlV for <quic@ietfa.amsl.com>; Thu, 21 Nov 2019 02:07:27 -0800 (PST)
Received: from smtp-sh.infomaniak.ch (smtp-sh.infomaniak.ch [128.65.195.4]) (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 1F33A1208D9 for <quic@ietf.org>; Thu, 21 Nov 2019 02:07:25 -0800 (PST)
Received: from smtp-3-0000.mail.infomaniak.ch ([10.4.36.107]) by smtp-sh.infomaniak.ch (8.14.5/8.14.5) with ESMTP id xALA7Ed9024423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 21 Nov 2019 11:07:14 +0100
Received: from [IPv6:2001:67c:370:128:2125:c8a4:62c3:bef5] (unknown [IPV6:2001:67c:370:128:2125:c8a4:62c3:bef5]) by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id CC3B610035677; Thu, 21 Nov 2019 11:07:10 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: CONEX? (was: Re: Q and L loss bits)
From: "Brian Trammell (IETF)" <ietf@trammell.ch>
In-Reply-To: <b87ec28d39004c07a05662e200f82108@ustx2ex-dag1mb5.msg.corp.akamai.com>
Date: Thu, 21 Nov 2019 18:07:08 +0800
Cc: Lars Eggert <lars@eggert.org>, IETF QUIC WG <quic@ietf.org>, Christian Huitema <huitema@huitema.net>, "alexandre.ferrieux@orange.com" <alexandre.ferrieux@orange.com>, Dmitri Tikhonov <dtikhonov@litespeedtech.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <55785142-03C8-48E0-B497-419AED1D1F15@trammell.ch>
References: <20191119143218.GB2789@ubuntu-dmitri> <24388_1574174932_5DD400D4_24388_372_7_1574174948.30247.49.camel@orange.com> <20191119150829.GD2789@ubuntu-dmitri> <20191119192622.GE2789@ubuntu-dmitri> <a21bc373-1fda-836e-7efc-599832ae575d@huitema.net> <20191120014850.GC16017@ubuntu-dmitri> <cd2e9389a61d49eabad2b0fac2f4db96@ustx2ex-dag1mb5.msg.corp.akamai.com> <A5687771-2F40-419F-A8A2-00FFF919B3FA@eggert.org> <A6DB3084-447B-467A-B164-310C83A6526C@trammell.ch> <b87ec28d39004c07a05662e200f82108@ustx2ex-dag1mb5.msg.corp.akamai.com>
To: "Lubashev, Igor" <ilubashe@akamai.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8
X-Antivirus-Code: 0x100000
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/UiqzUtslhhilHDgE_3-DoFmslHQ>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Nov 2019 10:07:29 -0000


> On 21 Nov 2019, at 15:23, Lubashev, Igor <ilubashe@akamai.com> wrote:
> 
> A few things about the ConEx vs QL-lossbits
> 
> 1. ConEx has a mechanism that is similar to L-bit (we mention ConEx RFC7713 in the draft).  But it has no equivalent of the Q-bit signal.  It is very hard to tell upstream loss from downstream loss with ConEx.

Yep, at least when I talk about this proposal I mean "replace L with ConEx". We can leave Q as it is. (The question as to the independent utility of Q and L is a separate discussion).

> 2. ConEx reports bytes, while QL-loss reports packets.  There is a trade-off here, as bytes may be more valuable, but reporting bytes can be imprecise, if the packets marked are of different size from the packets lost.  Overall, both work well enough.

IIRC ConEx spent an inordinate amount of time on the bytes versus packets bikeshed so let's not :)

> 3. ConEx requires more bits than what we have in QUICv1, so it would be a significant disruption to QUICv1 header format to properly implement all ConEx bits.  The Q- and L- bits are enough for the purpose.

What I'd like to look at is a one-bit encoding for L that exposes the same signals ConEx did. It turns out this might be about the same thing as L as currently defined when L doesn't count losses determined to be spurious. 

> 4. CWR is an interesting signal, and I actually have a separate CWR bit (I call it "E-bit") in https://tools.ietf.org/html/draft-ferrieuxhamchaoui-tsvwg-lossbits-02#section-5 -- the -tsvwg- version of the draft.  However, it is not very closely related to loss for networks with ECN.

This raises the other question: whether what we really want to measure is "this packet is lost" (which network operations activities use loss as an indication of lower-layer issues they need to fix) or "this packet caused the transport difficulty" (which is more of an indication of endpoint-visible performance, interesting to a different department in network operations). Or, "if a packet is dropped in the woods, and nobody cares about it, does it make a sound?"

On most networks with most deployed CC algorithms these generate basically the same metric, so the distinction is maybe philosophical. It is less true for nonelastic traffic and for newer CC algorithms.

Cheers,

Brian

>  On an ECN-capable network for ECN-capable flows, downstream loss would become indistinguishable from downstream congestion that marks CE.  Ultimately, it seemed that given just two bits to work with, Q-bit plus a pure loss bit seemed preferable to Q-bit plus "loss-or-CE_echo" bit.  But I am happy to discuss this!
> 
> - Igor
> 
>> On Thu, Nov 21, 2019 at 2:44 PM, Brian Trammell (IETF) <ietf@trammell.ch> wrote:
>> 
>> hi Lars,
>> 
>> This is kind of where I was going with the "expose CWR-like semantics for loss"
>> thing; "just do conex" is a much better shorthand for that.
>> 
>> Thanks, cheers,
>> 
>> Brian
>> 
>>> On 21 Nov 2019, at 14:42, Lars Eggert <lars@eggert.org> wrote:
>>> 
>>> Hi,
>>> 
>>> I'm wondering whether specifying a CONEX mapping for QUIC would satisfy
>> the needs that quic-lossbits attempts to address? We could reuse an existing
>> piece of IETF work.
>>> 
>>> See https://tools.ietf.org/html/rfc7713 for an overview and
>> https://tools.ietf.org/html/rfc7786 for the TCP mapping.
>>> 
>>> Lars
>>> 
> 
>