RE: Hope a discussion for draft-li-quic-optimizing-ack-in-wlan-00

Kangjiao <kangjiao@huawei.com> Mon, 06 July 2020 14:35 UTC

Return-Path: <kangjiao@huawei.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 1750F3A1572 for <quic@ietfa.amsl.com>; Mon, 6 Jul 2020 07:35:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, 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 wL9oM1S8Jb9M for <quic@ietfa.amsl.com>; Mon, 6 Jul 2020 07:35:23 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 9D3F83A1501 for <quic@ietf.org>; Mon, 6 Jul 2020 07:35:23 -0700 (PDT)
Received: from lhreml712-chm.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id C21BFCD5A7F243ACD695 for <quic@ietf.org>; Mon, 6 Jul 2020 15:35:18 +0100 (IST)
Received: from lhreml712-chm.china.huawei.com (10.201.108.63) by lhreml712-chm.china.huawei.com (10.201.108.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Mon, 6 Jul 2020 15:35:18 +0100
Received: from DGGEMM406-HUB.china.huawei.com (10.3.20.214) by lhreml712-chm.china.huawei.com (10.201.108.63) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.1.1913.5 via Frontend Transport; Mon, 6 Jul 2020 15:35:17 +0100
Received: from DGGEMM534-MBS.china.huawei.com ([169.254.7.44]) by DGGEMM406-HUB.china.huawei.com ([10.3.20.214]) with mapi id 14.03.0487.000; Mon, 6 Jul 2020 22:35:12 +0800
From: Kangjiao <kangjiao@huawei.com>
To: Martin Thomson <mt@lowentropy.net>
CC: "quic@ietf.org" <quic@ietf.org>
Subject: RE: Hope a discussion for draft-li-quic-optimizing-ack-in-wlan-00
Thread-Topic: Hope a discussion for draft-li-quic-optimizing-ack-in-wlan-00
Thread-Index: AdZRyGcTBCKzXYE+TnatOw5glQUhXgBIp/IAAC2b1RA=
Date: Mon, 06 Jul 2020 14:35:12 +0000
Message-ID: <719A2C1D4AC73847B6E1BF21DF1545EAE5C7EDFD@dggemm534-mbs.china.huawei.com>
References: <719A2C1D4AC73847B6E1BF21DF1545EAE5C7CE04@dggemm534-mbs.china.huawei.com> <cd99a66b-6478-4b15-b6fc-0c512e92e118@www.fastmail.com>
In-Reply-To: <cd99a66b-6478-4b15-b6fc-0c512e92e118@www.fastmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.46.118.154]
Content-Type: multipart/alternative; boundary="_000_719A2C1D4AC73847B6E1BF21DF1545EAE5C7EDFDdggemm534mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/CapRKuku9na1bCxIjUTlSH6Y8sc>
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: Mon, 06 Jul 2020 14:35:26 -0000

Dear Martin,



Here are the two drafts:

draft-li-quic-optimizing-ack-in-wlan-00: https://tools.ietf.org/html/draft-li-quic-optimizing-ack-in-wlan-00

draft-iyengar-quic-delayed-ack-00: https://tools.ietf.org/html/draft-iyengar-quic-delayed-ack-00



I have outlined some distinction and connection between these two drafts:



a)       Both draft-li-quic-optimizing-ack-in-wlan-00 and draft-iyengar-quic-delayed-ack-00 propose a solution to reduce the ACK frequency for QUIC. draft-iyengar-quic-delayed-ack-00 makes the two parameters in delayed ACK, i.e., "Packet Tolerance" and "Max Ack Delay", be tunable by the sender. These two tunable parameters do not include RTT as a factor. Sara Landstrom et al. [1] has demonstrated that, in theory, the endpoint should acknowledge data at least twice per send window (RTT) to ensure utilization. In this case, reducing ACK frequency without considering the RTT as a factor of Max Ack Delay, might cause performance issues. On the other hand, the purpose in draft-li-quic-optimizing-ack-in-wlan-00 is to minimize the ACK frequency required by the transport, thus the ACK frequency is computed as MIN{bw/(packet_tolerance *max_packet_size), beta/RTTmin} (beta indicates the number of ACKs per RTT). While draft-iyengar-quic-delayed-ack-00 adopts the extended delayed ACK as specified in the legacy TCP, whose ACK frequency is computed as MAX{bw/( packet_tolerance *max_packet_size), 1/ max_ack_delay}. A paper [2] (to be appeared in SIGCOMM2020) has demonstrated that using a MIN instead of a MAX can also achieve equally good performance.



b)       draft-iyengar-quic-delayed-ack-00 provides a way for the sender to customize the ACK frequency. This means the ACKs might be excessively delayed when the Max Ack Delay is large. When sending fewer ACK frames, many data packets might be received during the ACK interval, generating only one RTT sample among multiple packets is likely to result in biases. For example, a larger minimum RTT estimate. In draft-li-quic-optimizing-ack-in-wlan-00, we propose a one-way-delay-based method to compute the minimum RTT more accurately. Apart from the ACK scheme, this is another point that we would like to discuss and get feedback from QUIC WG.



c)       With some minor extensions such as adding one more field of ACK-INTENSITY, the proposed ACK scheme in draft-li-quic-optimizing-ack-in-wlan-00 may be able to reuse the ACK-FEQUENCY frame specified in draft-iyengar-quic-delayed-ack-00 to sync the ACK intensity between sender and receiver.



Some reference mentioned above:

[1] Sara Landstrom and Lars-Ake Larzon. 2007. Reducing the TCP acknowledgment frequency. ACM SIGCOMM CCR 37, 3 (2007), 5–16.

[2] Tong Li, Kai Zheng, Ke Xu, Rahul Arvind Jadhav, Tao Xiong, Keith Winstein, Kun Tan. "TACK: Improving Wireless Transport Performance by Taming Acknowledgments", ACM SIGCOMM, 2020. ( http://www.thucsnet.org/uploads/2/5/2/8/25289795/tong_sigcomm20.pdf )



Best Regards,

Jiao



-----Original Message-----
From: QUIC [mailto:quic-bounces@ietf.org] On Behalf Of Martin Thomson
Sent: Monday, July 6, 2020 8:41 AM
To: quic@ietf.org
Subject: Re: Hope a discussion for draft-li-quic-optimizing-ack-in-wlan-00



Can you speak a little about the relationship with draft-iyengar-quic-delayed-ack ?



On Sat, Jul 4, 2020, at 16:05, Kangjiao wrote:

>

> Dear QUIC WG members,

>

>

> We uploaded a draft describing a mechanism for ACK optimization to

> QUIC group. The link is

> https://datatracker.ietf.org/doc/draft-li-quic-optimizing-ack-in-wlan/..

> This solution comes from our practice and the results show it is a

> good replacement of the traditional ACK mechanism to compensate for

> scenarios where the acknowledgement overhead is non-negligible (i.e.,

> wireless scenarios).

>

>

> The key points for this solution can be:

>

>

> 1. We conclude the formula of the minimum ACK intensity required for

> QUIC transport.

>

>

> 2. In order to alleviate the error in RTT estimation, we use protocol

> extensions and a one-way delay factor. We think this round-trip timing

> method can also be applicable for the ack thinning mechanisms (such as

> ”Changing the Default QUIC ACK Policy” #3529) that have been discussed

> in QUIC group..

>

>

> 3. For implementation and interoperability, we define a new

> ACK-INTENSITY Frame in which ACK Intensity is set. ACK Intensity is a

> variable-length integer indicating the updated intensity of QUIC ACK

> Frame calculated by our formula.

>

>

> We look forward to your valuable comments and suggestions. Thanks.

>

>

> Sincerely,

>

> Jiao

>