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

"C. M. Heard" <heard@pobox.com> Mon, 01 July 2019 22:42 UTC

Return-Path: <heard@pobox.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 467EF120182 for <tsvwg@ietfa.amsl.com>; Mon, 1 Jul 2019 15:42:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pobox.com; domainkeys=pass (1024-bit key) header.from=heard@pobox.com header.d=pobox.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 cy1BGwCkdbPJ for <tsvwg@ietfa.amsl.com>; Mon, 1 Jul 2019 15:42:47 -0700 (PDT)
Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8604B12014B for <tsvwg@ietf.org>; Mon, 1 Jul 2019 15:42:47 -0700 (PDT)
Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0332914C993 for <tsvwg@ietf.org>; Mon, 1 Jul 2019 18:42:46 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; s=sasl; bh=VQHzpIIba3XQ ZveZgo4r/Sv94xU=; b=tawBsXszBq4VvlGYYsKImeg8Rt3/V+e/mGj03QgmKOhj F1rc9MlHYtheSIS/gWMMFOUNtt0+Lts+AWGYYiZku/3IcN+rkv/JIUnvJjQNYYGv Zsz0Ni9T5Xo/pQ8ZTFcZc6IfZ/L9eLroI27b+C/PkbqfiSoZ1fwWhyyC4X0rxZI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; q=dns; s=sasl; b=vWlHjV eQlz1Vd+6BA7eg7FfvgsKmMjm2a39QAEF9+k6yZTURa+sXMilnv1rnTn8q26Ewc7 tKaSiqiF2O5AmwExIcGXT8wLzLc58Hs2e2HSoypjkZIqfprzeHEfS6IqKNXW+zBY LgubMplRqknEeJd9FXH6wQ9OpKV27t9s1IzBE=
Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id DC8A314C990 for <tsvwg@ietf.org>; Mon, 1 Jul 2019 18:42:45 -0400 (EDT)
Received: from mail-io1-f53.google.com (unknown [209.85.166.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 596B914C98F for <tsvwg@ietf.org>; Mon, 1 Jul 2019 18:42:45 -0400 (EDT)
Received: by mail-io1-f53.google.com with SMTP id r185so32558364iod.6 for <tsvwg@ietf.org>; Mon, 01 Jul 2019 15:42:45 -0700 (PDT)
X-Gm-Message-State: APjAAAUtUMT+3rhmsp9O9wUo55v6EAuuZqhKHH74Erbj8U0Xn6SEdvIz CoL6UCf361/A8R3+fOtgXpzhdVLD5rieCBqLanU=
X-Google-Smtp-Source: APXvYqwZ65XZ8Zlxn8qrRLJI5hpMqkHVgIQ44xknlTX0hT2e2R5gTUKrCtNLj42kVBm1XL350nSzTawqqBVjEBIiN/c=
X-Received: by 2002:a5e:9308:: with SMTP id k8mr29376995iom.143.1562020964879; Mon, 01 Jul 2019 15:42:44 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <2977F9B1-73F3-4718-B65D-074EFED848AF@strayalpha.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Mon, 01 Jul 2019 15:42:33 -0700
X-Gmail-Original-Message-ID: <CACL_3VHnVkSNXZoNzYBXX4jSGQuv1NL9UMf=j9YTXLmVb4Oq8Q@mail.gmail.com>
Message-ID: <CACL_3VHnVkSNXZoNzYBXX4jSGQuv1NL9UMf=j9YTXLmVb4Oq8Q@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: TSVWG <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Pobox-Relay-ID: 8B3C6B8A-9C51-11E9-9D01-46F8B7964D18-06080547!pb-smtp1.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/2EWZBih9uijjs0l4q6Fx50TigMA>
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: Mon, 01 Jul 2019 22:42:50 -0000

On Mon, Jul 1, 2019 at 1:19 PM Joe Touch wrote:
> On Jul 1, 2019, at 12:49 PM, C. M. Heard wrote:
> > On Mon, Jul 1, 2019 at 12:27 PM Joe Touch  wrote
> > > You haven’t addressed the data copying issue.
> >
> > Yes, I have, in
> > https://mailarchive.ietf.org/arch/msg/tsvwg/RJBWi_tiW6M_phfc22zKuVn_vh4
> >
> > Can you please respond to that message and explain exactly why you think
> > that the proposal in the thread "DP Options: how to do FRAG without LITE
> > and forced UDP CS=0" imposes data movement requirements for packet
> > reassembly beyond those required by FRAG+LITE (or FRAG without LITE) in
> > in draft-ietf-tsvwg-udp-options-07? I sure don't see it.
>
> When I’m done moving a small, fixed number of bytes, the existing
> FRAG+LITE option leaves the fragment at the head of the packet.
>
> When you’re done, the frag is after a variable length string of options.
>
> Yes, both need to be gathered together. No, they’re not the same - some
> UDP hardware and software implementations treat the offset where they
> expect the data to start as “special”; yours could be anywhere.
...
> To be a little more specific:
>
> Consider mbufs chains where headers are in separate mbufs than the body.
>
> In that case, the existing FRAG+LITE would need to just chain the bodies
> together and alter their length
>
> 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