RE: Q and L loss bits: which is which?

"Lubashev, Igor" <ilubashe@akamai.com> Tue, 19 November 2019 23:56 UTC

Return-Path: <ilubashe@akamai.com>
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 7DCDD12008C for <quic@ietfa.amsl.com>; Tue, 19 Nov 2019 15:56:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 rYHzJ9kimfGc for <quic@ietfa.amsl.com>; Tue, 19 Nov 2019 15:56:13 -0800 (PST)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (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 A966D12006B for <quic@ietf.org>; Tue, 19 Nov 2019 15:56:13 -0800 (PST)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.42/8.16.0.42) with SMTP id xAJNrT2p004963; Tue, 19 Nov 2019 23:56:12 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=645TbTr7KcMaKAYT0dUEIOurTrTfWjh31HyopHpw2gI=; b=H6ww2Rvq6kamlSQe8l6s+UWGPMDiiXTwBHG4XzC7XNeLm7j3LDeHOHEYnWNCpdXU/Cft dfvi4+Fsi5dZSzFdEORGJwPclYzOcCWc72OEl9dz1bU+vj+QM4B9lBQgpNsQGm2QrlUD b/8AvqCnfTNt740+JvQcsD1KYdFlGidD7xUA8C0xX1Lxv9GKUk5N/G2rB7UlpLdg9xKD /gqxp37ssRp5sFY/yWShv5X1tFvvO6SpjXZYD3osi4oA15QlBOessIrW1ZU4tRLJf2nu WYBYsTGO7kF3j3vZ2eIOopLMlReWEkvyevczHaLdcSM02pC//V1rdQeiaNNBlQK+K0cU qA==
Received: from prod-mail-ppoint8 (prod-mail-ppoint8.akamai.com [96.6.114.122] (may be forged)) by m0050095.ppops.net-00190b01. with ESMTP id 2wafwvfsw2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Nov 2019 23:56:11 +0000
Received: from pps.filterd (prod-mail-ppoint8.akamai.com [127.0.0.1]) by prod-mail-ppoint8.akamai.com (8.16.0.27/8.16.0.27) with SMTP id xAJNl24k003352; Tue, 19 Nov 2019 18:56:10 -0500
Received: from email.msg.corp.akamai.com ([172.27.165.117]) by prod-mail-ppoint8.akamai.com with ESMTP id 2wadb132cf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 19 Nov 2019 18:56:09 -0500
Received: from USTX2EX-DAG1MB5.msg.corp.akamai.com (172.27.165.123) by ustx2ex-dag1mb1.msg.corp.akamai.com (172.27.165.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 19 Nov 2019 17:56:07 -0600
Received: from USTX2EX-DAG1MB5.msg.corp.akamai.com ([172.27.165.123]) by ustx2ex-dag1mb5.msg.corp.akamai.com ([172.27.165.123]) with mapi id 15.00.1473.005; Tue, 19 Nov 2019 17:56:07 -0600
From: "Lubashev, Igor" <ilubashe@akamai.com>
To: Christian Huitema <huitema@huitema.net>, "alexandre.ferrieux@orange.com" <alexandre.ferrieux@orange.com>, IETF QUIC WG <quic@ietf.org>
Subject: RE: Q and L loss bits: which is which?
Thread-Topic: Q and L loss bits: which is which?
Thread-Index: AQHVnuYxGYRqnRW1T0W5CpBoQ1gaSaeS98cAgAAFaICAAEgOgIAAQQmA//+iQwA=
Date: Tue, 19 Nov 2019 23:56:05 +0000
Message-ID: <ffa583fd76c44ad9b99427341841d740@ustx2ex-dag1mb5.msg.corp.akamai.com>
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>
In-Reply-To: <a21bc373-1fda-836e-7efc-599832ae575d@huitema.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.216.50]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-11-19_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911190187
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-19_08:2019-11-15,2019-11-19 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 clxscore=1015 mlxlogscore=999 impostorscore=0 suspectscore=0 bulkscore=0 malwarescore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911190187
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/PWJzImo5bfsceaz9cLOWBClp35w>
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: Tue, 19 Nov 2019 23:56:18 -0000

Christian, I actually thought about this, and decided that the recommendation is not to decrement L counter.  It is in the -tsvwg- version of the draft but somehow did not have it into the -quic- version (keeping two versions in sync is apparently hard), sorry. (https://tools.ietf.org/html/draft-ferrieuxhamchaoui-tsvwg-lossbits-02#section-3.2)

"
If the protocol is able to rescind the loss determination later, the Unreported Loss counter SHOULD NOT be decremented due to the rescission.
"

I thought this rule would limit the confusion of the observer who is trying to correlate Q and L bits. I'm happy to hear alternative opinions on this.

- Igor

> -----Original Message-----
> From: Christian Huitema <huitema@huitema.net>
> Sent: Wednesday, November 20, 2019 7:19 AM
> To: alexandre.ferrieux@orange.com; IETF QUIC WG <quic@ietf.org>
> Subject: Re: Q and L loss bits: which is which?
> 
> I am willing to do the same in Picoquic, but I would really like to get the
> transport parameter defined first.
> 
> Also, I would like some clarification. The loss counter is supposedly
> incremented using Quic's loss detection machinery, but the loss detection
> mechanism sometimes err on the false positive side. This is detected if an ack
> arrive late for a packet that was supposed lost, and the loss is classified as
> spurious.
> 
> Any guidance on how to handle spurious loss detection?
> 
> -- Christian Huitema
> 
> On 11/20/2019 3:26 AM, Dmitri Tikhonov wrote:
> > I added a loss bits server on
> >
> >     http3-test.litespeedtech.com:4440
> >
> > Feel free to give it a shot!
> >
> > Both lsquic server and client can be compiled with loss bits support
> > by doing
> >
> >     EXTRA_CLFAGS=-DLSQUIC_LOSS_BITS=1 cmake ....
> >
> > The code is on a branch for now:
> >
> >
> >
> https://github.com/litespeedtech/lsquic/commit/0b83dfa304bcd9750b67e62
> > 97416ce493d9fb5b1
> >
> >   - Dmitri.
> >
> > On Tue, Nov 19, 2019 at 10:08:29AM -0500, Dmitri Tikhonov wrote:
> >> On Tue, Nov 19, 2019 at 03:49:08PM +0100,
> alexandre.ferrieux@orange.com wrote:
> >>> Thanks for your offer: experimentations are very welcome !
> >>> You're right we forgot to just define which is what, we'll fix the
> >>> draft shortly. We'll choose: 0x10 for Q and 0x08 for L.
> >>> This means the first byte layout becomes:
> >>>  |0|1|S|Q|L|K|P P|
> >> Thank you!
> >>
> >> I also assume that these two bits would now be outside of the header
> >> protection?  That is, the short header header protection mask [1] is
> >> now 0x7 instead of 0x1F?  This is not mentioned in your draft, but I
> >> don't see how an observer could get at those bits otherwise.
> >>
> >>   - Dmitri.
> >>
> >> 1. https://tools.ietf.org/html/draft-ietf-quic-tls-24#section-5.4.1