Re: PADDING vs PING

Jana Iyengar <jri.ietf@gmail.com> Mon, 19 March 2018 15:34 UTC

Return-Path: <jri.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 5A4DC12D574 for <quic@ietfa.amsl.com>; Mon, 19 Mar 2018 08:34:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 BmiLCtI1r5hh for <quic@ietfa.amsl.com>; Mon, 19 Mar 2018 08:34:33 -0700 (PDT)
Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (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 10698129C5D for <quic@ietf.org>; Mon, 19 Mar 2018 08:34:33 -0700 (PDT)
Received: by mail-wr0-x243.google.com with SMTP id h2so19023140wre.12 for <quic@ietf.org>; Mon, 19 Mar 2018 08:34:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ghDYQcl3nIxwCy7blH42GBojrwMlV/3bguLBGow7NXE=; b=tEg9RM4F9IC1/vrwuxCcOtJOhV/dtG2uFxEqdPE3nN3aXIIMDgHfcIGtoB/S1T93NN 4fJNrYLAX/4fZdjz4K4NNfIZp2RvtH+ajriyKT76gmLksMvSzUIh9vjVpKhBlbosHBAk KIYCa9iKl7+nEdQDG5XtibedjDD8M7pDL2f5sxwefDVzyj0NoTq8GsctIfPIvAy1tWlN j3l4NxE55tjNv+HMDA+1TPRz/ts7hmvnm711/o1CdIIri25Zgq5XWlYxPuqwAJJ+WHQC Dd9nralclLg4bOu5jTqHts2FJfQvW43J4Rt4anDYRG7AlmNPfqMJ7GvIqLtflrv3Tl8b 5a6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ghDYQcl3nIxwCy7blH42GBojrwMlV/3bguLBGow7NXE=; b=E4VBfvSDuY3xS7AGy/sqrLgln0OUc3lTrvzJwGeUWvSd6yJraUvmCDzQ9IeeOYhE4x bwpjgAA1oNNvTMtuj4OGUpuReV10PfzW2ATL2ae6sMRNXcCJFs6jB31B+DC717ZWuOhj GRLg4mKG1n6rqt2SVOULK4VeQFT8NCJJCB8yMnmlkO2nr6AYzgrl3ubnZlX35o/3pdXR 7Yon+XMGT635zcFRIP0129GWJvc9R1t2EO1DIqy+50ciCGTmYuQnYL3B9MpicbZnSm3D vXZhnLLQbAtCRXKQjh5iqVWkF14TVpdEDtDtep9OL/VmskPe5hzor5l64WfBX0fxTovR XPvw==
X-Gm-Message-State: AElRT7HWmdCNDWemb+xv4sAwB4i2OyDQgWo7Yi4HSR8+PiU35gD7U4T7 PXBgNnbaHghvVytBaJv17xHiV07yCvrGLfMr6I8=
X-Google-Smtp-Source: AG47ELuXO2jYH3wOxy0jw+q9/BBHUcyxpc8cukIZfPu6QdB+HbNwhkcEFw13tgswi3j0p/wDqnjck1cIqNEqAURAfbA=
X-Received: by 10.223.147.67 with SMTP id 61mr9667945wro.37.1521473671551; Mon, 19 Mar 2018 08:34:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.195.199 with HTTP; Mon, 19 Mar 2018 08:34:31 -0700 (PDT)
In-Reply-To: <cf7026c0cc0f4ec1b99c888067c774e9@ustx2ex-dag1mb5.msg.corp.akamai.com>
References: <0a5ec245895043f196c0e93026d8e7ea@ustx2ex-dag1mb5.msg.corp.akamai.com> <CABkgnnU5FDgfhkGybBAV4Ei=cB7E6KF-WbVDgOm=w9pV51=gLA@mail.gmail.com> <cf7026c0cc0f4ec1b99c888067c774e9@ustx2ex-dag1mb5.msg.corp.akamai.com>
From: Jana Iyengar <jri.ietf@gmail.com>
Date: Mon, 19 Mar 2018 15:34:31 +0000
Message-ID: <CACpbDcd8Dny9HUtwOd9Udz0WgUP8WfSgmCj_BgfMZB8gAtBzqQ@mail.gmail.com>
Subject: Re: PADDING vs PING
To: "Lubashev, Igor" <ilubashe=40akamai.com@dmarc.ietf.org>
Cc: Martin Thomson <martin.thomson@gmail.com>, IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0d9eccba678f0567c5b103"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/i9N4my1XF3l6yHwo8lKuFVs109Y>
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: Mon, 19 Mar 2018 15:34:35 -0000

For the record, I'll reiterate what I said at the mic (also what Christian
said), which Martin called option 3:
*The PADDING frame counts towards bytes-in-flight but does not generate an
ACK.*

Rationale: This keeps the rule simple and consistent with regard to PADDING
frames. We expect that padding will commonly be used for packets carrying
data. In this case, this is basically option (2), which states that PADDING
frames if carried in packets containing non-ACK frames count towards bytes
in flight. In the exceptional case that PADDING is used with ACK-only
packets, this makes it the sender's problem to "do the right thing": the
sender periodically sends an ACK-generating frame and figures out a time to
clear out the in-flight.



On Mon, Mar 19, 2018 at 3:02 PM, Lubashev, Igor <
ilubashe=40akamai.com@dmarc.ietf.org> wrote:

> Very well.  So it is Option 2.  One thing I did want to propose that we
> make the "ACK expectations" of PADDING and PING clear.  Bother require ACKs
> (except for ACK+PADDING packets), but PING requires an immediate ACK, while
> PADDING allows for a delay.
>
> -----Original Message-----
> From: Martin Thomson [mailto:martin.thomson@gmail.com]
> Sent: Monday, March 19, 2018 2:37 PM
> To: Lubashev, Igor <ilubashe@akamai.com>
> Cc: IETF QUIC WG <quic@ietf.org>
> Subject: Re: PADDING vs PING
>
> The current text counts ACK towards bytes in flight when there are other
> frames present, so you just described Option 2.  Albeit more precisely.
>
> The key is that packets that comprise only (ACK[, PADDING]) count toward
> bytes in flight.  That is, the packet counts or not, but the content
> determines the answer.
>
> On Mon, Mar 19, 2018 at 2:23 PM, Lubashev, Igor <ilubashe=
> 40akamai.com@dmarc.ietf.org> wrote:
> > Since 4 proposals is not enough, let me propose the 5th one, which is
> > an extension of Subodh’s proposal.
> >
> >
> >
> > PADDING does NOT count for bytes-in-flight (and does not require ACKs)
> > when it is a part of ACK+PADDING packets.
> > PADDING does count for bytes-in-flight and does require ACKs otherwise
> > (including in PADDING-only packets).
> > The difference between PADDING and PING in non-(ACK+PADDING) packets
> > is that PING requires an ACK to be sent ASAP, while ACKing PADDING can
> > be delayed, if the receiver does some ACK coalescing.
> >
> >
> >
> > Igor
>
>