Re: [tsvwg] UDP options and header-data split (zero copy)

Joseph Touch <touch@strayalpha.com> Sun, 01 August 2021 22:48 UTC

Return-Path: <touch@strayalpha.com>
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 111C13A1664 for <tsvwg@ietfa.amsl.com>; Sun, 1 Aug 2021 15:48:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.319
X-Spam-Level:
X-Spam-Status: No, score=-1.319 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, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 MXdh4qRDFN-l for <tsvwg@ietfa.amsl.com>; Sun, 1 Aug 2021 15:48:16 -0700 (PDT)
Received: from server217-4.web-hosting.com (server217-4.web-hosting.com [198.54.116.98]) (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 7250D3A1661 for <tsvwg@ietf.org>; Sun, 1 Aug 2021 15:48:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To: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=NiRyt8t0tGrG06KTY4usHM8/SntmJIsVk3E5fR8raYM=; b=DS/QYvbnroM+Uyb4CzeflKzF1h j1KwcvwdSQliJHFzvrJEWZ3eY/TmxgZRHmGPxiI7iFoi4v1xvBuD51z6mj8OTw8UJ8b8bnDhWq2t3 Qx8OP6lobdACid6+RRHfZfUvr7PhMVRcmy2fu+OAwpipYvxlCA+nnCd+1wmEO+dHGdvAiGKVBjKSE 7mf1acxe2gJcBfNxv4gPH3psyXqAjtPjjoG4Vy3VPu3QQ5zFlTiHVoHt66tv10XBk0XE9vyu9E88C IkUhBcwRQaIkNREacipRIJA5bRQO4r7sGrqIZz/gTKCJ8QmkOabdfdGOW+qtrBHHp+TFujOer4Gsw zALAVmFQ==;
Received: from cpe-172-114-237-88.socal.res.rr.com ([172.114.237.88]:50096 helo=smtpclient.apple) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <touch@strayalpha.com>) id 1mAKFf-002ceF-BT; Sun, 01 Aug 2021 18:48:15 -0400
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Joseph Touch <touch@strayalpha.com>
In-Reply-To: <CALx6S36a66Ty6EUa9nRdvSQjaxepA7g1Np5T16iXuoTC3ZCd+g@mail.gmail.com>
Date: Sun, 01 Aug 2021 15:48:09 -0700
Cc: Michael Tuexen <michael.tuexen@lurchi.franken.de>, tsvwg <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <48A4AB1F-A5E2-447E-8C20-AEC532269BFD@strayalpha.com>
References: <058C1360-D1BF-4C15-A0E3-D1C98DC8C45F@lurchi.franken.de> <04C250F8-7C10-4300-862B-7FFD739CA8B3@strayalpha.com> <C65F0BB6-BA2D-49F3-A473-32EEDF6C9467@lurchi.franken.de> <CALx6S36a66Ty6EUa9nRdvSQjaxepA7g1Np5T16iXuoTC3ZCd+g@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/qUkSEz7nkK1YmdFeDdAXN_U6wZg>
Subject: Re: [tsvwg] UDP options and header-data split (zero copy)
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 01 Aug 2021 22:48:21 -0000

Hi, Tom,

> On Aug 1, 2021, at 3:39 PM, Tom Herbert <tom@herbertland.com> wrote:
> 
> There is also RFC9000:
> 
> "QUIC assumes a minimum IP packet size of at least 1280 bytes.  This
> is the IPv6 minimum size [IPv6] and is also supported by most modern
> IPv4 networks.  

Hmm. Seems like they completely overlooked IP source fragmentation support and 1500B reassembly...

> Assuming the minimum IP header size of 40 bytes for
> IPv6 and 20 bytes for IPv4 and a UDP header size of 8 bytes, this
> results in a maximum datagram size of 1232 bytes for IPv6 and 1252
> bytes for IPv4.  Thus, modern IPv4 and all IPv6 network paths are
> expected to be able to support QUIC."

QUIC over UDP with fragmentation wouldn’t be bothered by these limits at all; it could send a 1200B QUIC payload with up to 63KB of additional combined IP and UDP headers - not that it should, but it could.

By the time QUIC sees the packet, it would be both IP reassembled (at least 1500B) and, with UDP options, UDP reassembled (up to a total of 64K).

> and
> 
> "This requirement to support a UDP payload of 1200 bytes limits the
> space available for IPv6 extension headers to 32  bytes or IPv4
> options to 52 bytes if the path only supports the IPv6 minimum MTU of
> 1280 bytes.  This affects Initial packets and path validation."

See above.

> If UDP options were used with QUIC, these limits would be applicable
> to UDP options as well, i.e. 32 bytes of UDP options for IPv6, 52
> bytes for IPv4 at least for initial packets and path validation.

I think they missed something significant, even if just for IPv6 at 1500B.

Joe