Re: [tsvwg] UDP Options: on forcing the use of UDP CS=0 in connection with FRAG+LITE

Joe Touch <touch@strayalpha.com> Tue, 02 July 2019 00:06 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 960D512018A for <tsvwg@ietfa.amsl.com>; Mon, 1 Jul 2019 17:06:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.22
X-Spam-Level:
X-Spam-Status: No, score=-1.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779] 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 JXXEgUpVYJER for <tsvwg@ietfa.amsl.com>; Mon, 1 Jul 2019 17:06:26 -0700 (PDT)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) (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 0E7DC12018B for <tsvwg@ietf.org>; Mon, 1 Jul 2019 17:06:25 -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=eUgeNOINSz9NIo+3ZH34sNX6kxKd0dEJqbdc4/GtAlQ=; b=K4KJrg0cxecNOicU3K8xQD7qQ VoWINDwP/YbiqV3L+lzYjKXbzVKpuHbyANEQGAKWLXoxacQbuv74TZ3gXbCoL/+VQcty/uNTD+5ML 3407x1d6FkwKAvrtgy95xKcN64a0GSVoXLIHqVSg9k3TyvtoSN7FK3qvxIEZCHdLC/yh2nzNabP6A AmNbsBQOsAkhEdD6d6MBb9dCwDS9nsin8vJC3wA7NCrLsJrGciT1hPu6+sDctmuCwQOys23VEEZUY sIXv/BKBSiS0ggRN0ynt8iFzAFOZTZizEQ2DjmnRAG2U3Pu7QaYf/slyziy2s8J/GL3tPrxgf8RaQ 1LE3FXhxQ==;
Received: from [172.58.23.225] (port=35553 helo=[IPv6:2607:fb90:e756:326a:cc61:9312:a5c:ea6]) by server217.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from <touch@strayalpha.com>) id 1hi6JF-002mYM-PB; Mon, 01 Jul 2019 20:06:18 -0400
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (1.0)
From: Joe Touch <touch@strayalpha.com>
X-Mailer: iPhone Mail (16F203)
In-Reply-To: <CACL_3VHnVkSNXZoNzYBXX4jSGQuv1NL9UMf=j9YTXLmVb4Oq8Q@mail.gmail.com>
Date: Mon, 01 Jul 2019 17:06:03 -0700
Cc: TSVWG <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2720454F-8C4E-4C34-B326-C208ECD348A4@strayalpha.com>
References: <CACL_3VHGtMz3htgfFLRGhjXm=qC7kOXQs+cchtamhh-giBnpLA@mail.gmail.com> <CALx6S35T9ApzMaoSVgHSJPpcpfXsbHHogoBbEjMPj6vH-kxYeA@mail.gmail.com> <CACL_3VE6kr33Vk5si5AxSZNmhqysZZGoy6HK37COUgwbvcRkdA@mail.gmail.com> <24692A9B-4AF1-4E32-A760-7D4908A61262@strayalpha.com> <CACL_3VExhAdFCu-kFLLO5DeRYUOFyJztUgJg-vQmnPoecvzeJg@mail.gmail.com> <6DB954BC-8D40-4347-A172-C00FED1AE4AF@strayalpha.com> <CACL_3VF38oR7emB0K6yrL7Npj4eb-Q-KFVu3=7L66syGaTrJtA@mail.gmail.com> <3E9DF9F3-EEBF-4C74-9633-A8E4ED1B5C01@strayalpha.com> <2977F9B1-73F3-4718-B65D-074EFED848AF@strayalpha.com> <CACL_3VHnVkSNXZoNzYBXX4jSGQuv1NL9UMf=j9YTXLmVb4Oq8Q@mail.gmail.com>
To: "C. M. Heard" <heard@pobox.com>
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/y3byrevRTQvG4rrkvfxSrsXi5qo>
Subject: Re: [tsvwg] UDP Options: on forcing the use of UDP CS=0 in connection with FRAG+LITE
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, 02 Jul 2019 00:06:28 -0000


On Jul 1, 2019, at 3:42 PM, C. M. Heard <heard@pobox.com> wrote:

>> In the new proposal, there would be a potentially variable offset from the
>> head of each mbuf in the chain.
>> 
>> Those might have very different overheads…
> 
> YMMV, but I find that argument to be unconvincing. Any not conspicuously
> deficient mbuf design needs to be able to easily trim off variable length
> headers from the start of a packet (e.g., by having a starting offset), or
> else it would not be able to efficiently accommodate IP options/extension
> headers, TCP options, tunnel encapsulation headers, and so on.
> 
> Mike

That correlates with what I’ve seen in performance exactly though. 

The common case is fast; other cases not so much. Even the mbuf start offset from malloc start matters a bit (per measurements I did with MD5 in memory). 

Joe