Re: Ack Delay

Christian Huitema <huitema@huitema.net> Fri, 17 January 2020 20:13 UTC

Return-Path: <huitema@huitema.net>
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 7E7F81200D6 for <quic@ietfa.amsl.com>; Fri, 17 Jan 2020 12:13:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 MqQWuGKcMVHp for <quic@ietfa.amsl.com>; Fri, 17 Jan 2020 12:13:08 -0800 (PST)
Received: from mx36-out10.antispamcloud.com (mx36-out10.antispamcloud.com [209.126.121.30]) (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 007E11200A4 for <quic@ietf.org>; Fri, 17 Jan 2020 12:13:07 -0800 (PST)
Received: from xse460.mail2web.com ([66.113.197.206] helo=xse.mail2web.com) by mx62.antispamcloud.com with esmtp (Exim 4.89) (envelope-from <huitema@huitema.net>) id 1isXzM-0009OD-Vz for quic@ietf.org; Fri, 17 Jan 2020 21:13:06 +0100
Received: from xsmtp22.mail2web.com (unknown [10.100.68.61]) by xse.mail2web.com (Postfix) with ESMTPS id 47zsgf2mnWz44d4 for <quic@ietf.org>; Fri, 17 Jan 2020 12:13:02 -0800 (PST)
Received: from [10.5.2.14] (helo=xmail04.myhosting.com) by xsmtp22.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1isXzK-0003M4-8N for quic@ietf.org; Fri, 17 Jan 2020 12:13:02 -0800
Received: (qmail 21271 invoked from network); 17 Jan 2020 20:13:02 -0000
Received: from unknown (HELO [192.168.200.64]) (Authenticated-user:_huitema@huitema.net@[72.235.197.82]) (envelope-sender <huitema@huitema.net>) by xmail04.myhosting.com (qmail-ldap-1.03) with ESMTPA for <ianswett=40google.com@dmarc.ietf.org>; 17 Jan 2020 20:13:01 -0000
Content-Type: multipart/alternative; boundary="Apple-Mail-CA19D98F-14A2-4018-AA10-35A3991A8337"
Content-Transfer-Encoding: 7bit
From: Christian Huitema <huitema@huitema.net>
Mime-Version: 1.0 (1.0)
Subject: Re: Ack Delay
Date: Fri, 17 Jan 2020 10:13:00 -1000
Message-Id: <52E731DE-F96D-4B68-B62D-DD877F26DC32@huitema.net>
References: <CAKcm_gPu+QHfPBjrzZppEv7x0Y_RwFDXVgN2eyPmt8cSfwUMOg@mail.gmail.com>
Cc: Timo Völker <timo.voelker@fh-muenster.de>, "quic@ietf.org" <quic@ietf.org>
In-Reply-To: <CAKcm_gPu+QHfPBjrzZppEv7x0Y_RwFDXVgN2eyPmt8cSfwUMOg@mail.gmail.com>
To: Ian Swett <ianswett=40google.com@dmarc.ietf.org>
X-Mailer: iPhone Mail (17C54)
X-Originating-IP: 66.113.197.206
X-Spampanel-Domain: xsmtpout.mail2web.com
X-Spampanel-Username: 66.113.197.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=66.113.197.0/24@xsmtpout.mail2web.com
X-Spampanel-Outgoing-Class: ham
X-Spampanel-Outgoing-Evidence: Combined (0.08)
X-Recommended-Action: accept
X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0YvzwMmgjmY0UwihWARy7g6pSDasLI4SayDByyq9LIhVLIn9QqZzo73B u43qWQtA+0TNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGDcnqpk5VeF3xR4kF6iVwRtbgN zB/4Jkrw1eDLcif59fsp3OedQzISbAK1K3iSq0L6U7Tmz6iKnkQL9gqsxD347235Nhqq+/HvroPq 8GSPg+5aB4itzNZ07CdqP+KMfGjQfOdU2kQFJEzfkq4ITozmM46jSvfpO+1kZkomjtjB6X7/nuj3 koRhn2BlE7dXoT0pGVmhMAaQ/AfCRwRe7yHm5oY+NYmsSGn+svMubxnbgm1cr18FZBEPC2/c16Xd 7sC9aC4xteE1WLqGS9YoqrsZ2DyteN0e+ECCv9/f+GPymkgDVo7QBKA4MctKq4ifYPcXFRL2K3LA EfDXVOdt7wDbusYnuEVWSxKMHbU0zkNM3EElFDaoLuOPKc8gc82pKfhB7T02ZXdoQxMs//iOE4Fl hiCv9TR+UxzLZWL8hwGBjhoI3W+YcuHfP5PkZb5A+wE5qGdpH54Oa3V8I76VOEvlwB+XPdEXquZ7 t0MUOMrNUB3ffy/lWBtKgE7/B4q5Qh1gTlXrD2KVBUkAtPoM3pdBrwzaip3fHpaTYscdez0tlz3v 5pWb82qAoDl3ILGSF0vmDvI0DEihOd7XzCAIcFZdY11677oPXF7r5zsW33ZNliqQWXiK63IBlEyx 50xFFL1+inurZ3735mFQrc40fVtRx9Q84QG89JN6MvpNdzLqW7oOmGqlR8Lr0m2hhcMlAkxwHHAS JNUmoOHSoqgqxfHmWRWcrRhLeB34s3hUb32GO+1lUpqRKHIa0SXOR/G5fMOU08QV3No+S2msRDep v5w/kkG0v17AmegcpQ0tml/sN9lmMy/o83jVXTcfb9k0nLWblJy7uxV6dw8jzlsaNZe6hynMJcjx DydxsJEju76A7X1QIVydqXpZ6MHhiKws9Iiut28r9wo4SqUIg8Yh9hAM0n3LLzx/F2gT3wl8JQJv Bho=
X-Report-Abuse-To: spam@quarantine11.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/_vmQU98FoGdCYtozgCMZ1csB8Xg>
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, 17 Jan 2020 20:13:10 -0000

There are two different usage of ack delay. The implementation has an internal concept of how long to wait before acking a packet; this is the delay between ack time and the oldest ack-eliciting packet. The ACK frame has an ACK delay field; this is the delay between ACK time and the highest-numbered acked packet, which may very well be non ack eliciting.

-- Christian Huitema 

> On Jan 17, 2020, at 8:51 AM, Ian Swett <ianswett=40google.com@dmarc.ietf.org> wrote:
> 
> 
> Thanks, comments inline.
> 
>> On Fri, Jan 17, 2020 at 9:38 AM Timo Völker <timo..voelker@fh-muenster.de> wrote:
>> Hi everybody,
>> 
>> I have two minor issues with the text in the transport/recovery draft regarding ack delay.
>> 
>> 1. Measuring Ack Delay
>> 
>> In quic-transport draft, the first sentence of section 13.2.5. tells me that the ack delay depends on the last received ack-eliciting packet.
>> 
>>    An endpoint measures the delays intentionally introduced between when
>>    an ack-eliciting packet is received and the corresponding
>>    acknowledgment is sent. 
>> 
>> This does not match to my understanding of ack delay. That is, ack delay describes the time between an ACK frame was sent and the largest acknowledged packet (even if it is a non-ack-eliciting one) was received. I propose to remove "ack-eliciting" in this sentence.
> 
> I think your suggestion is a good one, though I may attempt a slightly larger change to make the entire paragraph a bit clearer.
>> 
>> 2. Ack Delay scaling
>> 
>> In quic-recovery draft, sections 4.3. and A.6. describe how to use the value from the ack delay field of an ACK frame without mentioning the ack_delay_exponent. I propose to include the ack_delay_exponent in the pseudo code or, alternatively, add a note that mentions the ack_delay_exponent. Either of them would have helped me to interpret the value correctly.
> 
> https://github.com/quicwg/base-drafts/issues/3355 filed to add a note about ack_delay_exponent. 
>> 
>> Timo
>>