Re: Benjamin Kaduk's Discuss on draft-ietf-quic-datagram-08: (with DISCUSS and COMMENT)

David Schinazi <dschinazi.ietf@gmail.com> Fri, 28 January 2022 23:27 UTC

Return-Path: <dschinazi.ietf@gmail.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 CF6523A17E0; Fri, 28 Jan 2022 15:27:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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=gmail.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 yso5j-yNvwok; Fri, 28 Jan 2022 15:27:06 -0800 (PST)
Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) (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 59C0D3A17DE; Fri, 28 Jan 2022 15:27:06 -0800 (PST)
Received: by mail-pl1-x631.google.com with SMTP id h14so7587054plf.1; Fri, 28 Jan 2022 15:27:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DNbl5/s7MDCc9il+cEfbsQX1ACIQKDwsS0i/aP81Wp4=; b=e1kjR6i/nXurfO5E/s27EROu7IS+t/5gtq4vn3LjJqtxHNEk5xMbEpoYs+wY50qhfs ar0UtUOouIKt4l8OiAsD516gMQvnGqwZpgmaosnE/gq25sit0UUJbV7ig+yXgcfCqDhD SOrs6ppmfoXtLlwagTVtVGfHLXiAA+wqgyriEoLeX5JBl2QBfn3Zoo9Ej2U3k/FRlzh4 2JDjqW1m1Dx1Of1+QhOlpISfVhmC39kFd5x1cweTg/IughNFJ2NbkmwPQdpz+rzpp0S0 63N0RUSG5WEZGo+0gZ5Zrs4cO+lhaxVqcC2rkYp1QTbR+zRV8vIiQdf6KBVc0QQq6Mxa Eifw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DNbl5/s7MDCc9il+cEfbsQX1ACIQKDwsS0i/aP81Wp4=; b=ZBROlIhBux1Z+ET6dn+8yGsgLZaVBBOi3IFW5BxL3LWMPBp0wH5djxvYMcB1AYQqrM QmuWPqm2REh6aBmuGlC7zvoVtM06kjoacSjW7hysxdcIsmQjlFBDBSymWUqlr1uyIkTL RlbX4FtMFRRrd3RlAx5KAc8h+MPVHdEsK8AJV8G1YASQM72NlmLx4KGlP7hD+SShs8YW kPDR/6sl5numueoUqhW5rNmmg0alTTmHzu6RDskDM5Tewew2eMcFftIyu2H2qclgVtrO vMZjwxiVFKtekdVSwyMPgDchcQ2wD+uo87TUSnuCHivQnnlCDGzcwc5WObhvQPOpMQ72 lbjw==
X-Gm-Message-State: AOAM530jFo2ROzTmq4RR1zYid4r2Jb07SRQA3V4aK4DQ++EXp9jmHtT5 LpN8DumsvKtD4PdKiDY4Bc3AJXEB8WbVvK6dKw8=
X-Google-Smtp-Source: ABdhPJwcWGVN3rY3ou/bB+D2A0lbjUIfJDX5x7SzPxYco4qhnWaOtbMThlxUSqmp1xY+DO48sgJOnZuOlfHJoDkwv0g=
X-Received: by 2002:a17:902:ea0d:: with SMTP id s13mr10388924plg.110.1643412424668; Fri, 28 Jan 2022 15:27:04 -0800 (PST)
MIME-Version: 1.0
References: <164340861623.26528.929610315910641983@ietfa.amsl.com> <CAPDSy+7PM7Op3ajuO6Q8izU3-L8=R2LNMNu4OOj4D58KmE4mrQ@mail.gmail.com> <20220128230918.GD11486@mit.edu>
In-Reply-To: <20220128230918.GD11486@mit.edu>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Fri, 28 Jan 2022 15:26:53 -0800
Message-ID: <CAPDSy+6b=M+WSoVnK5sP+k1_TU5OP9JrtoYGFqHrdqRkgVNAyQ@mail.gmail.com>
Subject: Re: Benjamin Kaduk's Discuss on draft-ietf-quic-datagram-08: (with DISCUSS and COMMENT)
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: The IESG <iesg@ietf.org>, draft-ietf-quic-datagram@ietf.org, WG Chairs <quic-chairs@ietf.org>, QUIC <quic@ietf.org>, Lucas Pardue <lucaspardue.24.7@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000cab97305d6acc53f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/tVg1cwa5X83qlo9SIfXMS91X1eE>
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: Fri, 28 Jan 2022 23:27:09 -0000

On Fri, Jan 28, 2022 at 3:09 PM Benjamin Kaduk <kaduk@mit.edu> wrote:

> On Fri, Jan 28, 2022 at 02:55:57PM -0800, David Schinazi wrote:
> > Thank you for your review Ben. Responses inline.
> >
> > David
> >
> > On Fri, Jan 28, 2022 at 2:23 PM Benjamin Kaduk via Datatracker <
> > noreply@ietf.org> wrote:
> >
> > > ----------------------------------------------------------------------
> > > DISCUSS:
> > > ----------------------------------------------------------------------
> > >
> > > Section 5 refers to a "max_packet_size" transport parameter but I do
> not
> > > see that parameter defined in the registry or RFC 9000.
> > > It seems that a transport parameter of that name was present in earlier
> > > versions of draft-ietf-quic-transport, but got renamed to
> > > max_udp_payload_size in the -28, so hopefully this is just a trivial
> > > rename.
> > >
> >
> > You're absolutely right, we missed the rename and will fix this by
> > landing your PR #76.
>
> Excellent, I'm glad this was the easy option, and as you note in the
> follow-up, it's fixed in the editor's copy already, so I'll go clear now.
>
> > ----------------------------------------------------------------------
> > > COMMENT:
> > > ----------------------------------------------------------------------
> > >
> > > I put some editorial suggestions (including the presumed resolution of
> the
> > > DISCUSS) on github at https://github.com/quicwg/datagram/pull/76 .
> > >
> >
> > Thanks, let's discuss those on the PR.
> >
> > Section 2
> > >
> > >    *  QUIC uses a more nuanced loss recovery mechanism than the DTLS
> > >       handshake, which has a basic packet loss retransmission timer.
> > >
> > > This is true of DTLS 1.2 and prior versions, which technically is right
> > > now the current version of DTLS.  However, it's not quite true of DTLS
> > > 1.3, which includes an explicit ACK message to supplement the
> > > retransmission timer.  DTLS 1.3 stands a pretty decent chance of being
> > > published as an RFC prior to this document (per ekr, it should have the
> > > last technical changes from the WG finalized this weekend and then go
> into
> > > the "real" AUTH48 state), so I think we ought to speak to the
> mechanisms
> > > of DTLS 1.3 here.
> > >
> >
> > How about we just remove "which has a basic packet loss retransmission
> > timer"?
> > I think it's safe to say that QUIC congestion control is more nuanced
> than
> > that of
> > any version of DTLS, including DTLS 1.3.
>
> That seems reasonable.  I agree that QUIC CC is clearly more nuanced than
> DTLS of any version.  And the value of going into any level of detail about
> what DTLS actually does provide seems pretty minimal.
>

Thanks. I've now made that change to the editor's copy.

David

> Section 3
> > >
> > >    For most uses of DATAGRAM frames, it is RECOMMENDED to send a value
> > >    of 65535 in the max_datagram_frame_size transport parameter to
> > >    indicate that this endpoint will accept any DATAGRAM frame that fits
> > >    inside a QUIC packet.
> > >
> > > It's interesting to compare this to the RFC 9000 max_udp_payload_size
> > > default of 65527, the maximum permitted UDP payload.  Indeed, the QUIC
> > > 1-RTT packet header does not even contain a length field that would
> limit
> > > the frame size.  So I'm not entirely sure what motivates the 65535
> value
> > > specifically.  (I do see the subsequent discussion about how there are
> > > other factors, including max_packet_size/max_udp_payload_size, that can
> > > further limit what is usable.)
> > >
> >
> > We picked that value because it means "don't limit the length" and
> doesn't
> > involve thinking about header sizes or doing math.
>
> Okay.  I can't fault that, even if it seems that since we're bounded by
> max_udp_payload_size we could just as easily reuse the 65527 value.
>
> Thanks for the quic(k) turnaround!
>
> -Ben
>