Re: Definition of Recovery Period End

Subodh Iyengar <subodh@fb.com> Wed, 17 January 2018 01:10 UTC

Return-Path: <prvs=4555f49861=subodh@fb.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 B9B5C12D88F for <quic@ietfa.amsl.com>; Tue, 16 Jan 2018 17:10:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.719
X-Spam-Level:
X-Spam-Status: No, score=-2.719 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fb.com header.b=Emmh5TRH; dkim=pass (1024-bit key) header.d=fb.onmicrosoft.com header.b=LneA97mV
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 Q-M1R5Dv5mWb for <quic@ietfa.amsl.com>; Tue, 16 Jan 2018 17:10:14 -0800 (PST)
Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) (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 AFE2812EBE9 for <quic@ietf.org>; Tue, 16 Jan 2018 17:10:13 -0800 (PST)
Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0H14tE8002418; Tue, 16 Jan 2018 17:10:13 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=facebook; bh=vs8EjlvN02mVGaXAnS0iNggtEvP0CRA/WUWpefVgLak=; b=Emmh5TRH97OWgG9cSwVrNN66/ANEYWU7tOcG8R3oWw/bABVSPl7sB2MQXhYdLgNXo5FC R3WksbrqQrZ+T3yvDYZbczeUgTcngV4q1bSwhtGKfKEDUKuJDv8zblJEjL2xyr8kca1U 6qQpMK1SxNXv4SLLyA5j+Dve87aVoi6Yg/I=
Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2fhtg58krp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 16 Jan 2018 17:10:13 -0800
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.30) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 16 Jan 2018 20:10:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vs8EjlvN02mVGaXAnS0iNggtEvP0CRA/WUWpefVgLak=; b=LneA97mVrafMIwuu7VuEmRbF8wdKko9x+KeEcIhb3AWXmNcpqwIPmAHJO8jXO84AyPGsd1Sv6zKL/Ssymj4ARQWesVnrIJHSryrfG5w6DqSQRcCe9RQQsAjQZwF2tIBx5bf0MB0J9s+1hN52Fq1+RSoweFd3ShvnlEjkgl5H+bI=
Received: from MWHPR15MB1455.namprd15.prod.outlook.com (10.173.234.145) by MWHPR15MB1455.namprd15.prod.outlook.com (10.173.234.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Wed, 17 Jan 2018 01:10:10 +0000
Received: from MWHPR15MB1455.namprd15.prod.outlook.com ([10.173.234.145]) by MWHPR15MB1455.namprd15.prod.outlook.com ([10.173.234.145]) with mapi id 15.20.0407.012; Wed, 17 Jan 2018 01:10:10 +0000
From: Subodh Iyengar <subodh@fb.com>
To: Nick Banks <nibanks@microsoft.com>, IETF QUIC WG <quic@ietf.org>
Subject: Re: Definition of Recovery Period End
Thread-Topic: Definition of Recovery Period End
Thread-Index: AdOPKyC5dkpgelaZSFyTiB2jNW8J3gABBbbU
Date: Wed, 17 Jan 2018 01:10:10 +0000
Message-ID: <MWHPR15MB14559D2E94DED8AB176EC15AB6E90@MWHPR15MB1455.namprd15.prod.outlook.com>
References: <BN6PR21MB0178ECF15AA5E99508B897F3B3E90@BN6PR21MB0178.namprd21.prod.outlook.com>
In-Reply-To: <BN6PR21MB0178ECF15AA5E99508B897F3B3E90@BN6PR21MB0178.namprd21.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [2620:10d:c090:200::5:bb73]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; MWHPR15MB1455; 7:x/oosyNZ+uUBBlnYqM5EvclDxiVI6bBp+is4FrB56owzkTDClYKe56uec3upGh/5NC2CM7dpStH3dPGai52a990VDtF9JfyYAXTEKEqQxa5IGRcT5HKPrTC5HilLREbwIryjtRkeGCCbOUp9ZqR+3W6gYdfvuOf8y37xwTZDP4J4r8H9hhHQeWRELu0ix7PfPA9EfZsewQCs9ngBGurM0kBbbd8zB4K92XsOsoGjS1bhdTBKlxDqZfMNEmI1oD4j; 20:58vi1lH6CQH84wDkmjDigMSIT3XIGGE44pKaqugttCfSQZ25cCMLzxVIV9wC/v13SPRZNSj5lB9MG2fcaWXo73HDJr1hra5M+P9OPvMhFFPO0t9eIsPKf3JXF8WGGgDsyRaN36JtE0NmGmE1FY8LLbqobZFgi+NCl+dqg+RstcY=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: a83841a3-1eb2-4329-2a68-08d55d470e06
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:MWHPR15MB1455;
x-ms-traffictypediagnostic: MWHPR15MB1455:
x-microsoft-antispam-prvs: <MWHPR15MB145588C81DC8429F5ED18C87B6E90@MWHPR15MB1455.namprd15.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(3231023)(11241501184)(2400039)(944501161)(93006095)(93001095)(10201501046)(3002001)(6041268)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:MWHPR15MB1455; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR15MB1455;
x-forefront-prvs: 0555EC8317
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39380400002)(39860400002)(366004)(396003)(346002)(376002)(189003)(199004)(97736004)(19627405001)(54896002)(2900100001)(9686003)(6436002)(33656002)(25786009)(3280700002)(478600001)(86362001)(55016002)(106356001)(6246003)(2906002)(45080400002)(14454004)(316002)(99286004)(3660700001)(110136005)(2950100002)(76176011)(6606003)(1511001)(5660300001)(8936002)(53936002)(81156014)(81166006)(68736007)(74316002)(7736002)(8676002)(77096006)(7696005)(105586002)(229853002)(102836004)(8666007)(53546011)(6506007)(59450400001)(6116002)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR15MB1455; H:MWHPR15MB1455.namprd15.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: BFO+uNyT4JdyOBvruUVFqqOCtofYCb/Gw1SM6HSGo/WCdNo+6hKxz95W9EwqLjekaigXuDTGoJNe7qxEecDclw==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_MWHPR15MB14559D2E94DED8AB176EC15AB6E90MWHPR15MB1455namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: a83841a3-1eb2-4329-2a68-08d55d470e06
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2018 01:10:10.1201 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR15MB1455
X-OriginatorOrg: fb.com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-01-16_12:, , signatures=0
X-Proofpoint-Spam-Reason: safe
X-FB-Internal: Safe
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/3ow_bz1c3neOjYxFsHJrxNM_ZyI>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 17 Jan 2018 01:10:16 -0000

All of the loss recovery modes that QUIC has have the following property


if packet n is lost, then packet n - 1 must also be lost.


This is true both in the threshold and time reordering based recovery.

A newly sent packet in loss is triggered by either sending a TLP or RTO.

If you get an ack for a new packet without getting the acks for all the other sent packets, QUICs threshold loss recovery will kick in and confirm that the packets that were sent before were lost.


So I believe you don't need to wait for all the information to be ACKed once you get an ack for the latest packet. An argument could be made that the ack for the new packet might not trigger loss

of all the packets, however it will definitely trigger QUIC's early retransmit timer, which will trigger the future loss.


Subodh




________________________________
From: QUIC <quic-bounces@ietf.org> on behalf of Nick Banks <nibanks@microsoft.com>
Sent: Tuesday, January 16, 2018 4:35:53 PM
To: IETF QUIC WG
Subject: Definition of Recovery Period End


Asking this on here per recommendation on GitHub:



According to the spec, recovery starts with detection of a lost packet and ends with the acknowledgement of a single, newly sent packet. Why isn’t recovery ending only after all the information in the frames that were lost prior to the recovery period have been acknowledged? This way would seem more inline to what TCP does today.



For instance, if 4 packets worth of STREAM frames and a MAX_DATA frame were lost, why shouldn’t recovery last until all that data had been resent and acknowledged?



Thanks,

- Nick Banks