Re: [tsvwg] New Version Notification for draft-herbert-tcp-in-udp-00.txt

Michael Welzl <michawe@ifi.uio.no> Thu, 17 August 2023 06:47 UTC

Return-Path: <michawe@ifi.uio.no>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6902C14CE24 for <tsvwg@ietfa.amsl.com>; Wed, 16 Aug 2023 23:47:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.007
X-Spam-Level:
X-Spam-Status: No, score=-7.007 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ifi.uio.no
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 38JE9AIS2kff for <tsvwg@ietfa.amsl.com>; Wed, 16 Aug 2023 23:47:01 -0700 (PDT)
Received: from mail-out04.uio.no (mail-out04.uio.no [IPv6:2001:700:100:8210::76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 9BD86C14CE4B for <tsvwg@ietf.org>; Wed, 16 Aug 2023 23:47:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ifi.uio.no; s=key2103; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version: Content-Type:Message-Id:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=CiagPMPs3lFhIi56NJXzcBtcKeNdcnoZYTogDZxsSP4=; b=jO6VJHzm/dUnwFSx5+ntH/B5Rk AwemLqjHKmJv+f5zfQpvCZAZT/aRvXFmGYKGbh/E02GChEIavLUxMPQ8XRhc58kNmQitBeJgn1xVh sKvJTngjSePJpWYmrJEgCn4p2EU8npuDFl52bfg1/Vh0E6Uj8DxgcIs6biVIK+Hw2h4pam+FrMpAY lRxsFbduoVX9tDiIDrO3DLRiamLfXAY2DS9YSuiNjQq9gp8QhIAA6XCFjNO6/MaAV6xJVhcFHzcst WC0EeMdq5Kz8mt/61Uv4ZDdu6CBB2ohuf2u7WvZz7Lfs11ZmLe/HsooWkqDaCxXr5Z6Mw3gPub+oj KJG/wnEA==;
Received: from mail-mx10.uio.no ([129.240.10.27]) by mail-out04.uio.no with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <michawe@ifi.uio.no>) id 1qWWmV-007EgO-1z; Thu, 17 Aug 2023 08:46:55 +0200
Received: from collaborix.ifi.uio.no ([129.240.69.78] helo=smtpclient.apple) by mail-mx10.uio.no with esmtps (TLS1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256) (Exim 4.96) (envelope-from <michawe@ifi.uio.no>) id 1qWWmU-0001Sf-2d; Thu, 17 Aug 2023 08:46:55 +0200
From: Michael Welzl <michawe@ifi.uio.no>
Message-Id: <FC6D5711-1FF7-4429-84EC-76782017ED8F@ifi.uio.no>
Content-Type: multipart/alternative; boundary="Apple-Mail=_AA33982C-99AD-467D-BAD6-ACA29F183DD5"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Date: Thu, 17 Aug 2023 08:46:54 +0200
In-Reply-To: <CALx6S37ucLeXZUT-wKBHgpPqSiicDu197ai7QXphhxQDua45=Q@mail.gmail.com>
Cc: tsvwg <tsvwg@ietf.org>
To: Tom Herbert <tom=40herbertland.com@dmarc.ietf.org>
References: <169179236696.36797.6075120394432124931@ietfa.amsl.com> <CALx6S36-4d=48UMKusabbRnQiZ7B=0uTvd-Oksrnwj9bxN7xmg@mail.gmail.com> <579B1F7E-CE8C-47C5-94A8-39BE643C5796@ifi.uio.no> <CALx6S34aQ+cX--1OAs_TzjUxL2GwN2-5iigYegxWAzwv+_rR4A@mail.gmail.com> <D627976D-82FC-4C51-A983-FB724EFADC5B@ifi.uio.no> <CALx6S37ucLeXZUT-wKBHgpPqSiicDu197ai7QXphhxQDua45=Q@mail.gmail.com>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
X-UiO-SPF-Received: Received-SPF: neutral (mail-mx10.uio.no: 129.240.69.78 is neither permitted nor denied by domain of ifi.uio.no) client-ip=129.240.69.78; envelope-from=michawe@ifi.uio.no; helo=smtpclient.apple;
X-UiO-Spam-info: not spam, SpamAssassin (score=-4.6, required=5.0, autolearn=disabled, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.4, UIO_MAIL_IS_INTERNAL=-5)
X-UiO-Scanned: E440CADFB3AD48D4EC88092EDA3CEAABF09FD8FD
X-UiOonly: EBDF8982B26928D2CFA0A8B3CE67323BD27347F9
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/_dAF9n_Z9LcdhQmRRuHCnZfE7Aw>
Subject: Re: [tsvwg] New Version Notification for draft-herbert-tcp-in-udp-00.txt
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Aug 2023 06:47:06 -0000

Hi,

[snip: checksum or not, changing the header or not]

> Whether or not the arguments are strong depend on what is being argued. Generally, minimal change to protocols is good, and I believe that philosophy was applied in GRE/UDP, SCTP/UDP, and MPLS/UDP. So I think from that perspective the arguments are strong.

Fair enough; we can stop discussing this and see what others think - I don’t have a strong opinion here. If we’d indeed find that there would be very good reasons to change the header, a choice of alternate header formats could also be encoded in your own header's reserved field….


> You mentioned doing encapsulation without changing the MTU is a great benefit, can you elaborate on that?

(nit-picking: you probably mean the MSS, not the MTU).

No, sorry, that’s a misunderstanding - I meant that being able to use the same outer (UDP) ports for multiple TCP connections is a great benefit.

Perhaps just noise since it was a misunderstanding, but I’ll elaborate a bit anyway:

That’s because it enables combining their congestion controls, with gains such as lower queuing delay (from less competition), total control over priorities, and more…  one particularly noteworthy gain: a new (or quiescent!) connection that hasn’t probed for capacity yet can immediately make use of capacity probing that another connection has already carried out. I.e., instead of starting with IW, if there is e.g. one other connection that has reached a large cwnd, the new connection can immediately be assigned cwnd/2, at potentially little disadvantage for the other connection - no need to go through slow start, no need to waste RTTs trying to understand where the limit is…

We have some results on this particular aspect in this paper: https://irtf.org/anrw/2016/anrw16-final28.pdf <https://irtf.org/anrw/2016/anrw16-final28.pdf>   … but generally we have more results on more aspects of the whole thing, in various contexts, and it’s just a big win altogether.  I think people now see multi-streaming as one of the major benefits of QUIC, and one out of several benefits thereof is its combined congestion control. I’m talking about getting the same gains with a relatively simple gradual change to the TCP CC. engine, all possible when the UDP ports are the same.


BTW, in a previous email, you wrote:
> Yes, there is an interesting benefit since the UDP ports can be decoupled from the TCP ports. This is also a property of the IPv6 flow label and in fact both the flow label and UDP source port in UDP encapsulation are set in Linux using the same functions.

…so I’ll note that the IPv6 flow label doesn’t seem to yield that same benefit: being able to do single-path coupled CC means that we must be able to rely on the path being the same (at least “rely” as much as other transports already do), and that means that, with IPv6, routers would have to hash over at most the IP addresses + protocol + flow label tuple for load balancing, not the tuple containing the ports. The spec allows both, and we have done some measurements which indicate that, alas, we can’t rely on such hashing without the ports.

Cheers,
Michael