Re: [tcpm] some comments on draft-gomez-tcpm-ack-rate-request-02.
Jonathan Morton <chromatix99@gmail.com> Sun, 14 March 2021 22:27 UTC
Return-Path: <chromatix99@gmail.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id BBD633A16E2
for <tcpm@ietfa.amsl.com>; Sun, 14 Mar 2021 15:27:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.849
X-Spam-Level:
X-Spam-Status: No, score=-6.849 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-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 U_atOIJx3yhZ for <tcpm@ietfa.amsl.com>;
Sun, 14 Mar 2021 15:27:05 -0700 (PDT)
Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com
[IPv6:2a00:1450:4864:20::12a])
(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 CA4BD3A16E1
for <tcpm@ietf.org>; Sun, 14 Mar 2021 15:27:04 -0700 (PDT)
Received: by mail-lf1-x12a.google.com with SMTP id k9so53923023lfo.12
for <tcpm@ietf.org>; Sun, 14 Mar 2021 15:27:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=kSnyBnCZpb1X0pBU2iygUGkQhJ6hsWeMpftN5QzV9dk=;
b=vhG3CGxglyayrCS4YlX82wpSjUM+69CqeZqmjkEBnGOASrDx9E8tQ4V10Grv4byD0X
K9a7wHofKAOqtEA6Be1QubDHLGK6Dpp51pdEcMaceqwEOcbOTDgWug/U4Xo5s1jU9aXH
+fphXh/vpvuW02XoNaKTC8OJSA7G6sTAj7QRQ/r6pZh9aY3soGQMs1f+m8JbtBuY3bKt
0ZckzMn6Ft/r/+yLyY+CsQfU7vM8ePOmr42L60aVeqjpMNJPGDWYhWmuPSDurTYfjhDJ
7/Gt2vblbMHXk84cZAAbit/yVL7K5BCtu0BlttNIXbDRW2scIMDiRERw4t28tqIKynEE
raiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=kSnyBnCZpb1X0pBU2iygUGkQhJ6hsWeMpftN5QzV9dk=;
b=U5RHr25+C6qggUAw1pcvblamYUcE7UCyDYBVhymM//uFbrOyK+PkQkdtC2G4uuUs6L
3cAUCOYynqWcUw18eDI0xjdYFuzuT4umLhuO/dbATWW1eS/x03I4qAWQFxOkOcrFZioN
Pv+UJuD0AvzWV7wI+8ZPflC6wOTLMQu3TQs2gYCTlhXOHV26Usmr22c5Mt38VMpFYbAJ
DXQ2nKamoO7kYYWJrb15CwCMZ43Pgk/0x6AFuYo31zxaKb/8N5li5PO7/Rxr8wNhYrjq
lMNk8W3jA1Y3/TvkAL7u9OdXVOD+HSP/qkiUnfXNLbevZpwJ7ZQl7yNhrb0R1hkgPeKe
LXgg==
X-Gm-Message-State: AOAM531wnu17JYgOLvql2pH26v2EDY2sz/armJcp7R4be9fU9eV3nQpz
A89o1WmlhLUdVuDO+I3Z7KE=
X-Google-Smtp-Source: ABdhPJzHr6ckpq7/Q8HMMd7ClmWXEaOmRvmWSQ0JmONxEuncPSIvk2gSrWsxAby/iwoXe6hgka5rGA==
X-Received: by 2002:ac2:465c:: with SMTP id s28mr6159790lfo.135.1615760817745;
Sun, 14 Mar 2021 15:26:57 -0700 (PDT)
Received: from jonathartonsmbp.lan (87-93-215-52.bb.dnainternet.fi.
[87.93.215.52])
by smtp.gmail.com with ESMTPSA id y186sm2475111lfc.304.2021.03.14.15.26.56
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Sun, 14 Mar 2021 15:26:57 -0700 (PDT)
Content-Type: text/plain;
charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\))
From: Jonathan Morton <chromatix99@gmail.com>
X-Priority: 3 (Normal)
In-Reply-To: <47ab7d08978d2cc4f040de300d806212.squirrel@webmail.entel.upc.edu>
Date: Mon, 15 Mar 2021 00:26:55 +0200
Cc: Yoshifumi Nishida <nsd.ietf@gmail.com>,
"tcpm@ietf.org Extensions" <tcpm@ietf.org>, jon.crowcroft@cl.cam.ac.uk
Content-Transfer-Encoding: quoted-printable
Message-Id: <DF4F6988-156A-4FDD-B595-F5CFC1EDC433@gmail.com>
References: <CAAK044TYfw=N0JwSRv5xMBqfR9BeDF6LqPRNXFCvd-Hxq+oDDw@mail.gmail.com>
<47ab7d08978d2cc4f040de300d806212.squirrel@webmail.entel.upc.edu>
To: Carles Gomez Montenegro <carlesgo@entel.upc.edu>
X-Mailer: Apple Mail (2.3445.9.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/c7nU3OV__6a0GNk5FXLq72eFOVg>
Subject: Re: [tcpm] some comments on draft-gomez-tcpm-ack-rate-request-02.
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>,
<mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>,
<mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2021 22:27:07 -0000
>> For example, one of my naive questions is how often we want to change the frequency of ACKs. >> In 'small' or 'large' scenarios in the draft, it seems to me that it might be sufficient to use the same ACK frequency during the connection. >> It would be good if the draft describes the needs of changing frequency. > > Agreed, we will add some guidance in this regard. > > Yes, in many scenarios it may make sense to just set the ACK frequency > once during the connection. > > We'll think further about whether there could be particular scenarios > where the ACK frequency might need to be changed during the connection > lifetime. It seems to me that the ack frequency could depend mostly on the cwnd value used by the sender, which can change over the connection's lifetime for many reasons, and is generally not directly known by the receiver (though it might be inferred by estimated RTT, segment size, and observed delivery rate). In particular, cwnd will start at a low value and grow rapidly during the slow-start phase, then settle into a reasonably consistent range for the congestion-avoidance phase - assuming the underlying BDP remains constant. Shifts in routing, or the addition or removal of significant load from the path the flow shares, may change the underlying BDP significantly; the cwnd should be expected to change accordingly, and this may prompt a change in ack rate. So we should expect some changes to the ack rate to be requested over the lifetime of the connection, but very frequent updates seem unlikely if the ack rate is derived from the cwnd. This does not seem difficult to me. Conversely, the ack frequency may be controlled by "ack congestion control", alone or in combination with a derivation from the cwnd. That is, the sender may notice that acks it receives cover more segments than the ack rate requested, indicating ack decimation en route, and decide to reduce the ack frequency to reduce network load up to the ack decimation point. Future updates may also permit CE marks to appear on pure acks. This might involve more frequent ack rate updates, perhaps once an RTT, as the algorithm adjusts and probes around an operating point. > Well, yes, the phrase "as long as packet reordering does not occur" might > not be clear enough here. The intent was to say that one ACK will be sent > every R full-sized received data segments, but if there is reordering, > then a different amount/rate of ACKs may be sent for a while. Isn't this sort of thing covered by existing Delayed Ack specifications? They are just cases in which an immediate ack is called for, overriding the Delayed Ack algorithm and resetting the counter and timer associated with it. You should just be able to make a normative reference to that. >> Also, since N looks finite number, I'm wondering how to set R=0 for the >> entire connection. Or, we shouldn't do such a thing? > > Good point! > > Perhaps we can define a special value for N meaning "infinity". An R value of 1 or 0 should produce a similar effect, should it not? I think this falls into the category of choosing the ack frequency based on the sender's cwnd, which for the resource-constrained sender is a permanently small value. I think it's important to describe with precision what the meanings of R=1 and R=0 are in any case; it's one of those pesky little corner cases. Conversely, the N field would be most useful for advanced congestion control algorithms which have a need to probe latency statistics at high fidelity, but only for a short period at a time. We shouldn't use the N field to duplicate functionality that can adequately be described by the R field. - Jonathan Morton
- [tcpm] some comments on draft-gomez-tcpm-ack-rate… Yoshifumi Nishida
- Re: [tcpm] some comments on draft-gomez-tcpm-ack-… Carles Gomez Montenegro
- Re: [tcpm] some comments on draft-gomez-tcpm-ack-… Bob Briscoe
- Re: [tcpm] some comments on draft-gomez-tcpm-ack-… Jonathan Morton
- Re: [tcpm] some comments on draft-gomez-tcpm-ack-… Carles Gomez Montenegro
- Re: [tcpm] some comments on draft-gomez-tcpm-ack-… Carles Gomez Montenegro