Re: [quicwg/base-drafts] Complicated Retransmission Corner Cases (#765)
janaiyengar <notifications@github.com> Fri, 08 September 2017 17:41 UTC
Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CBAC132D5C for <quic-issues@ietfa.amsl.com>; Fri, 8 Sep 2017 10:41:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-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=github.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 6PCjoT4b20wV for <quic-issues@ietfa.amsl.com>; Fri, 8 Sep 2017 10:41:13 -0700 (PDT)
Received: from o8.sgmail.github.com (o8.sgmail.github.com [167.89.101.199]) (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 6EAC4132F03 for <quic-issues@ietf.org>; Fri, 8 Sep 2017 10:41:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=jLtbwiQB0uI6ZnaIrkHYJKw3/BU=; b=SJA4TUlUHU5u3pQl vEJpGq9Tek7QvKM+/l33G1/ux0dPAjHk9sM8fqOOCZK1OFJQ7wp8591pEZCvqVdD w+IKqCOtn+c1sJkVa/cRNS4gr1KAL3qs7qV/RCb4riv7RD1mVgS/zqc+MQRbs7Nr Nsy6+n6EVpYZq230zdhu2fz4Y+Y=
Received: by filter1108p1mdw1.sendgrid.net with SMTP id filter1108p1mdw1-911-59B2D637-2C 2017-09-08 17:41:11.795213626 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0023p1mdw1.sendgrid.net (SG) with ESMTP id XksHfzX3T26AOBdsHTBubQ for <quic-issues@ietf.org>; Fri, 08 Sep 2017 17:41:11.742 +0000 (UTC)
Date: Fri, 08 Sep 2017 17:41:11 +0000
From: janaiyengar <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab9e3039b43293685687691310615aa6a0ad619b9b92cf0000000115ca983792a169ce0f3e8128@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/765/328168605@github.com>
In-Reply-To: <quicwg/base-drafts/issues/765@github.com>
References: <quicwg/base-drafts/issues/765@github.com>
Subject: Re: [quicwg/base-drafts] Complicated Retransmission Corner Cases (#765)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59b2d6377221c_175c3fda5852bc38469c0"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: janaiyengar
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0RODRHX4q0tiV+ALKbSrtnSUByFMtoxmHWHY mJSSqp7mJMWRk64Ifcb3N8A8VxOOLodbriwZ9tk61gxPd4mQZfSxTNus79lvIPZayxZqi5pcXiYBqz gQZahsMcEy7FUWRMEAOn5ux39jO3dgRUeWvysUXyDImmnPVTjNgHvJjX0XI5xKaieffvAOGMweP2Wr 8=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/m0t9zAMTIchVQcql7UC5Z9bK0B8>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Sep 2017 17:41:15 -0000
So, GQUIC tracks delivery state of packets, in part because loss recovery and congestion control work at these scales. As I wrote to Martin earlier, GQUIC has a data structure that holds per-packet metadata about what frames were contained in a sent packet, and a deque of these per-packet structs. Once acked you can remove the entry. When marked as lost, we hang on to it with the packet number of the retransmission (which is a new packet in the same data structure), to allow spurious rtx detection, and to prevent future retransmissions. We also remember one past transmission in a chain of retransmitted packets, to avoid having an indefinitely long chain of past transmissions. (You'd want to be careful around removing old state around TLP, just to be safe.) @MikeBishop In addition to reliability, an ack also contributes towards RTT measurement, and a late ack is a very useful signal, which moves the RTT estimate to be higher than it otherwise would have been. I would strongly recommend holding on to packets for a while after it is marked as lost. @martinduke I think you can make the implementation a ton easier if you don't try to re-bundle retransmissions. Meaning, simply send retransmittable frames from a lost packet in a retransmission, without trying to pack it maximally with mixing and matching. Yes, it's a pain if the PTMU reduces mid-connection, but that situation is rare enough (I've never really seen it in practice) that I'm comfortable in punting on that in practice. Does that make sense? I think it's a good idea to keep the data in the streams and have frame-level metadata per-packet that has offsets into the stream about data that has been sent. This allows you to keep one copy of stream data without having to maintain a separate copy for sent data. @martinduke I'd love to look at a PR if you could send one along. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/issues/765#issuecomment-328168605
- [quicwg/base-drafts] Complicated Retransmission C… martinduke
- Re: [quicwg/base-drafts] Complicated Retransmissi… Martin Thomson
- Re: [quicwg/base-drafts] Complicated Retransmissi… Mike Bishop
- Re: [quicwg/base-drafts] Complicated Retransmissi… martinduke
- Re: [quicwg/base-drafts] Complicated Retransmissi… janaiyengar
- Re: [quicwg/base-drafts] Complicated Retransmissi… ianswett
- Re: [quicwg/base-drafts] Complicated Retransmissi… ianswett