Re: [tsvwg] A review of draft-ietf-tsvwg-udp-options-12

Paul Vixie <paul@redbarn.org> Tue, 15 June 2021 17:56 UTC

Return-Path: <vixie@redbarn.org>
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 2738D3A3874 for <tsvwg@ietfa.amsl.com>; Tue, 15 Jun 2021 10:56:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 ia5ytBdyP2Bf for <tsvwg@ietfa.amsl.com>; Tue, 15 Jun 2021 10:56:54 -0700 (PDT)
Received: from family.redbarn.org (family.redbarn.org [24.104.150.213]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FDCC3A386A for <tsvwg@ietf.org>; Tue, 15 Jun 2021 10:56:54 -0700 (PDT)
Received: by family.redbarn.org (Postfix, from userid 716) id 417BD7599B; Tue, 15 Jun 2021 17:56:51 +0000 (UTC)
Date: Tue, 15 Jun 2021 17:56:51 +0000
From: Paul Vixie <paul@redbarn.org>
To: Tom Herbert <tom@herbertland.com>
Cc: Joseph Touch <touch@strayalpha.com>, TSVWG <tsvwg@ietf.org>
Message-ID: <20210615175651.kqfs4mgkzpbzvvz7@family.redbarn.org>
References: <CACL_3VHyoRr5ju8203DiLTUo-658DCj7ud+1dQE2o0hUPVhF0A@mail.gmail.com> <7D766992-AEEB-434F-BB1D-3817EE07DE61@strayalpha.com> <1BBDBD80-3A53-4700-A79F-9A3AE4876F2B@strayalpha.com> <CACL_3VEXCT-sSNhtncVK26DPQefDLJhqEijgDke4Q7DmhRrpTQ@mail.gmail.com> <67E79ED1-14DE-4127-83AF-D17E8C72F362@strayalpha.com> <CACL_3VGOVTjzOBBCS4b+4X_cTFX6T=gYO4_htvr2idzQGUP+oQ@mail.gmail.com> <C67EE01E-A41F-4BF5-BE1E-33E9F01D0B72@strayalpha.com> <CALx6S360gGWGicLAj1QJheHRyqvbkWx3KE7VrTyUSJ83cqkffA@mail.gmail.com> <B355DEDE-561E-4910-87D5-5C5F0D984BE6@strayalpha.com> <CALx6S345AtooNGPiV4-TxZPURVcsJ27pMMQ9dYL09V7aHcVCNg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CALx6S345AtooNGPiV4-TxZPURVcsJ27pMMQ9dYL09V7aHcVCNg@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/gs9C6XpVy1FJMQxHq4-jHGIRdQI>
Subject: Re: [tsvwg] A review of draft-ietf-tsvwg-udp-options-12
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: Tue, 15 Jun 2021 17:57:08 -0000

On Tue, Jun 15, 2021 at 09:58:55AM -0700, Tom Herbert wrote:
> On Tue, Jun 15, 2021 at 9:32 AM Joseph Touch <touch@strayalpha.com> wrote:
> > ...
> > And, FWIW, trailers are just as easy if not *EASIER* for zero-copy to
> > handle; they just DMA the user data first then the UDP options.

> I am dubious of that statement. You'll have to show running code and
> performance results. Software stacks and hardware have long been
> designed around the fact that networking protocols are in headers; UDP
> options is an outlier in that regard. While it is certainly possible
> to make a functional stack to handle trailers, it is going to be hard
> if not impossible to leverage many implementation optimizations and
> techniques we've done over the years.

just as ip trailers were a temporary crutch to help the VAX BSD networking
stack use page-aligned mbufs and led to a great improvement in performance,
so it is that there will always be some implementation detail which will
attract our protocol design attention.

however, we must recognize that all such attractions are temporary. just as
the current linux networking stack has had several decades in which to
optimize for its operating conditions, so it is that other networking stacks
will eventually supplant it and take a commanding market share.

the zero-copy feature joe is working on should last 50 to 100 years. linux
will almost certainly be revised if not replaced on that time scale. let's
make the best protocol we can, so that both current _and future_
implementations can get maximum benefit from our efforts.

640KB was a bad architectural assumption, as was 16 bits, as is 1500 octets.
let us, please, treat any current operating condition as likely to be wrong
as a guidepost. we must think and act more fundamentally and more eternally.

-- 
Paul Vixie