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

Tom Herbert <tom@herbertland.com> Mon, 01 July 2019 22:08 UTC

Return-Path: <tom@herbertland.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 05CA8120181 for <tsvwg@ietfa.amsl.com>; Mon, 1 Jul 2019 15:08:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 MW8lOrLrFDc2 for <tsvwg@ietfa.amsl.com>; Mon, 1 Jul 2019 15:08:15 -0700 (PDT)
Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D026C120180 for <tsvwg@ietf.org>; Mon, 1 Jul 2019 15:08:14 -0700 (PDT)
Received: by mail-ed1-x535.google.com with SMTP id z25so25318433edq.9 for <tsvwg@ietf.org>; Mon, 01 Jul 2019 15:08:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=dcXUHVgcIMTiXHI5dCkyIrECkSGOXdebta+wFLAy9mw=; b=DIeh9ETKrCEVQrBrDAUnsda3Veq6IqLXIFQEXmdKlpngT6C7DcvAnlZATQshLaaPtZ MoOd07X31n1orXALqggWag/6MsknD1lX6RmFeArrJh3aaYemfIOvi8up7Y8xS+/FvlOc PWbv1DbM8RA6t++5ah47vWaSAkoAHhtf+h5waKb8ehml3f+KxuL1TfG+WVLwrqYCQ/AM MS4SobsAyo/acASbKSoUeCmpMWS4cVv6+leg30FDw2ZRvfrhUZGRAPVlvB1k3TmIarIt oNyiD+kJwl0FDnnURg966gcY91cWbFRdMUaScb5BmxrgwtUWOjROTCtfcGvcuhYQNs9Q ItUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dcXUHVgcIMTiXHI5dCkyIrECkSGOXdebta+wFLAy9mw=; b=gjR3+LQDw4Iop93kOj/g+rO+mtL4Yrl8y6L6gqtjMroJMA5i/CVLgz3uJLAYqy3PZY u2F5w6Yr2BOc9AwhGLTghlPG9qGXO1rfV9aOVzd4L6xMOvk9C38sOEfpAZSs9QkBk7ZG P8+sVeqJACJeRbHHMHe3tuAQHa7tgaRCHIMoMLwZBVkMmfkYxsiBZVCaJ7/mANPpAWS9 GShCF6ZbHnJcNuohdQzwQKptS38fDRq3JiRAfDJZAlf+0WHB7q+Y1RovMpJY7heZeOaB Wgt7Kkpj+jmzj39zRZAPE8lW/gRZ+aa3ItVVqoHH/OSKfP/W2RizBWnxpyzbTenu+Hyy yNYg==
X-Gm-Message-State: APjAAAWzNgU/Y28ozRXLdYuTBkhvpcr+w+HLY81ZfWxvZvacpHOP4CcG Ll9IR15GTt8u2nZ77RJYw8rT2KzDcuwiMi01KmyUT6k8
X-Google-Smtp-Source: APXvYqzgUMBokGZOlZ5Ny+VwseJw4yPU4bY+HUFv2Be3pZGpDTJLzLC3aSESLzGEtOSdt3poODGwdpBVI2wKF29Z+CE=
X-Received: by 2002:a50:b1db:: with SMTP id n27mr32234821edd.62.1562018893286; Mon, 01 Jul 2019 15:08:13 -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>
In-Reply-To: <3E9DF9F3-EEBF-4C74-9633-A8E4ED1B5C01@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Mon, 01 Jul 2019 15:08:02 -0700
Message-ID: <CALx6S35S+5KLhnH+7GMJPEyt-WqUmitSA5hk5EbazCQ=XLVVTw@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: "C. M. Heard" <heard@pobox.com>, TSVWG <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/16sC3o1Ub8z4a79VMCgZ41nIwvs>
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:08:17 -0000

On Mon, Jul 1, 2019 at 1:19 PM Joe Touch <touch@strayalpha.com> wrote:
>
>
>
> > On Jul 1, 2019, at 12:49 PM, C. M. Heard <heard@pobox.com> 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.

Joe,

If we need to perform the reassembly checksum in the host CPU then any
performance gains your seeing trying to keep the data early in the
packet would be eclipsed by all the cache misses we'll be taking for
the calculation. We have a much better chance to be able to offload
the checksum if it's per packet instead of being over the reassembled
packet (the merits of per packet checksums have been previously
discussed).

Tom

>
> Joe