Re: Multipath acknowledgments
Yunfei Ma <yfmascgy@gmail.com> Sat, 19 November 2022 09:28 UTC
Return-Path: <yfmascgy@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 068A8C14CE53 for <quic@ietfa.amsl.com>; Sat, 19 Nov 2022 01:28:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RryXpEdXECFA for <quic@ietfa.amsl.com>; Sat, 19 Nov 2022 01:28:41 -0800 (PST)
Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3CDC2C14CE29 for <quic@ietf.org>; Sat, 19 Nov 2022 01:28:41 -0800 (PST)
Received: by mail-pl1-x62b.google.com with SMTP id v17so6597339plo.1 for <quic@ietf.org>; Sat, 19 Nov 2022 01:28:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4xhdWFRFxNWJd9wTy9mZJ1a45s/z2Wn5IVE6/zVLmgE=; b=oEAxAQSrvteKqeNrj3/Bn1HIlNR/KI4V1pbnqce36szNM1fHFw/IgLqC0DdnDYoyyO mtlNT6lRVBxEcVXq7v/wU3uLKEfYcEaDP0VWEtRhIhaIBxxA4qW7HhI553ts69hQDyJO 3JlU/9lMPujqMzWjKna5euz2xeR3MetzC+wGvdM5crvP/rzW64wl8+JMZ0RP1eNQhE7e TPv6Fuk2UCRqJFhgJ+3YnN2nQtmk4H6NUFVrtb/uptBlLqaMRRferWL/X87IVoyZM2Dl pHl2hhpcDqn3ziZF2q6vRVRT/ptdtiAGx/j2XF+KpoZTm1bCLm7l0vw1W4h4KLQZEOPk GfoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4xhdWFRFxNWJd9wTy9mZJ1a45s/z2Wn5IVE6/zVLmgE=; b=akYPGr1jlLErRfYEcEXDzd1j1kCfSW/QTDJyv/PZ13tSRgBY3BVoqm4cvke6Hi7/uo 6cvIMxOcj7G6Rxy+D1J3/mzOZGlXBJUm3oPCSPkTI78o9YZxELBPa+Us9o15qbnLqRnT fui9ohn9QjBom77jTKiaEb+xBSRDpV5M2s+MsIVr34LnlDdgDnK6JkNENyjgf0ZkRAQo a7rwZ/m9Bwydg7HWf+gaESZVS07GzYXEnlstS09IZWYVD4pEGb/dy97896Jduf8ZgjbF yLt0Xf3MYx2Xm0rsQR1z3o8/nYq5Uz+4C9JTFfJkScQbJHobFa9KuCBWESXullxH6lDK XUmA==
X-Gm-Message-State: ANoB5pmViRxwOE/rl4L/KVrAjxCBWt0staMElUCvvvP3nYWYRyk59sJR zD5uG59+RFU/j8FX1QRtU+l7GOrf2C5KH3ZFGvLRPdUIbjY=
X-Google-Smtp-Source: AA0mqf5AejPp640kVGPARVXVaPmgxREaOfqTAfXqsTJFDyD9At5cf4QgCOZDvf8rNoYr+PFLCQV5iGroevR0NkgCjzw=
X-Received: by 2002:a17:90a:f015:b0:213:5e6e:5b43 with SMTP id bt21-20020a17090af01500b002135e6e5b43mr11727551pjb.75.1668850120393; Sat, 19 Nov 2022 01:28:40 -0800 (PST)
MIME-Version: 1.0
References: <87bdc4f9-5f17-fb37-477d-8249b9ab5c1f@ericsson.com>
In-Reply-To: <87bdc4f9-5f17-fb37-477d-8249b9ab5c1f@ericsson.com>
From: Yunfei Ma <yfmascgy@gmail.com>
Date: Sat, 19 Nov 2022 01:28:04 -0800
Message-ID: <CAHgerOE+sDRq1r=Qm3Ur32=2nuEPcYE9Lh5KjQQo0xch6nomfQ@mail.gmail.com>
Subject: Re: Multipath acknowledgments
To: Michael Eriksson <michael.eriksson=40ericsson.com@dmarc.ietf.org>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009c069a05edcf7258"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/69B2tdhfe3Bib3aMHDLkNhyUabo>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 19 Nov 2022 09:28:45 -0000
Hi Michael, You have a good point. Yes, the scheduling strategy on ACKs affects the performance, especially if you are using delay-based congestion control where putting ACKs on different paths could induce jitters in the inter-packet delay. Due to the fact that the congestion controller is on the sender-side but the scheduler for ACKs is on the receiver-side, there is a lack of sender-receiver coordination. One way to solve this problem is through the negotiation method you mentioned above, and the other way is to use a feedback signal that informs the peer on how to schedule packets. In fact, for scheduling ACK-eliciting data packets, such a lack of coordination also proves to be a problem. For example, in XLINK, we use reinjection to enhance performance, however, aggressively reinjecting packets increases redundancy, and thus, traffic costs. Our solution is to let the receiver provide some feedback so that the aggressiveness of the sender-side scheduler can be dynamically adjusted. In an early draft, https://datatracker.ietf.org/doc/html/draft-liu-multipath-quic-04, we define a QoE_Control_Signals frame which serves this coordination purpose. The QoE_Control_Signals is designed to be flexible and it can be used to carry various semantics. In your case, if the sender wants the receiver to schedule ACKs in an in-path way, it can convey this message through QoE_Control_Signals. In my opinion, the good thing about ACK_MP is that it is more capable than normal ACK, so even if you prefer to do in-path acknowledgement most of the time, ACK_MP still provides you an "emergency exit" if one of the return paths is completely blocked. On the other hand, we do want the ability to better coordinate a peer's scheduler (for both data and ack packets). Therefore, in addition to the core multipath draft, we may want to think about a separate draft discussing some advanced scheduling strategies that focus on how to achieve the best performance under various conditions. Cheers, Yunfei On Fri, Nov 18, 2022 at 7:03 AM Michael Eriksson <michael.eriksson= 40ericsson.com@dmarc.ietf.org> wrote: > Greetings fellow multipathers, > > *TL;DR*: Multipath QUIC should by default use the same in-path > acknowledgment design as unipath QUIC. Cross-path acknowledgments are > interesting but complex, not yet fully understood and should be an opt-in > extension. > > > The current multipath draft specifies that acknowledgment signaling should > be done with a new frame type, ACK_MP, when the (potential) use of multiple > paths has been agreed for a connection. This means that all implementations > need to be able to handle incoming cross-path acknowledgments (XP ACKs), > where acknowledgments of packets that have arrived on one path is sent on > other paths. Sending XP ACKs is voluntary. > > XP ACKs have some attractive properties, in particular these two: > > - Some "self-clocking" congestion control algorithms, such as the > popular CUBIC, can grow the congestion window faster if the ACK is sent on > a path with lower latency > - The stream data retransmission and receive buffers can be smaller if > the flow control feedback is faster > > However, XP ACKs also have a few drawbacks, mainly because the experienced > round-trip time varies depending on which path is used for each ACK. This > implies that: > > - Latency-based congestion control algorithms can be confused > - Loss detection is harder; both the packet loss time threshold and > the probe timeout will have problems > > I argue that these problems are not well understood, and forcing all > multipath implementations to handle them is not a good idea. However, there > are interesting possible optimizations that should be researched, so there > should be a mechanism to negotiate the use of XP ACKs. If this should be > specified in the main multipath spec or another document is a separate but > minor question. > > When the use of XP ACKs is not negotiated, each path should use the > acknowledgment mechanism (including the use of the normal ACK frame) that > is already implemented and proven to work with unipath QUIC. > > > > > *Summary *Cross-path acknowledgments are so difficult to handle that > implementations should not be forced to do that. The default should be to > only do in-path acknowledgments exactly like unipath QUIC does. > > > /me >
- Multipath acknowledgments Michael Eriksson
- Re: Multipath acknowledgments Yunfei Ma
- Re: Multipath acknowledgments Michael Eriksson