Re: [tsvwg] Comments on draft-ietf-tsvwg-udp-options-07

Tom Herbert <tom@herbertland.com> Tue, 12 March 2019 03:35 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 2E641130E6D for <tsvwg@ietfa.amsl.com>; Mon, 11 Mar 2019 20:35:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=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 5cqJ_u43seyW for <tsvwg@ietfa.amsl.com>; Mon, 11 Mar 2019 20:35:04 -0700 (PDT)
Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 3D9B6130E79 for <tsvwg@ietf.org>; Mon, 11 Mar 2019 20:35:04 -0700 (PDT)
Received: by mail-qt1-x82f.google.com with SMTP id d16so1027363qtn.10 for <tsvwg@ietf.org>; Mon, 11 Mar 2019 20:35:04 -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; bh=NRPjv+iK4rCDR19zDcv41/2MTa8uAk/1eswqteAVP9k=; b=IojRS5vOxEKnT4mVTZsNVvHVh95OZseHLocFfs/a36sxGsapIvDnEJ3ojRIB/OeNm0 g/rGsXyJ+xdIPlgtMWzOTM0sPmmgsPpWnpgcS8GXg7JFrc5iJC2B9/uQjeESYiqZB9QK +Na3sSOvd3dAediu2fs2TOJghr39+kS+SyJG7rdO8VfU6+9/17UX55Rx14oXRf2WHUAm FByCkQNXmalMVxKWjsyWr0f25STWS8eyy9poM0zkkWOV+b8+mMDi1Gh71Bd19vKZedqu nwAl5iIJGBZbIPYV9LR6NvvPyllu8+V+6CsYyZMxQRVXTErFJvmYdJQFRM8g3WGRs3Hu H6CQ==
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; bh=NRPjv+iK4rCDR19zDcv41/2MTa8uAk/1eswqteAVP9k=; b=ZNTIDA2yyHtiEuSXv4W6YUzD1JeXcAD+9ItqLE0XUW4Oj5P7Q19AjvRZJb2X7H9kIB y9fexcyE6Ld525dNXrwkr4aub0OSx2Dw65TVp2HAA509ooV7WvQyj3bpdlejl1vZv1pO EPdSlPP+5Zw1NRTrALF1VPETtbbu20L/bzhVW0W2ZPNNOSLlxHhldhBDvLvtEMOlAM7h jlYULgPwKga8zmf4pQWvPhi1cJXD4IBXERIm1xYwqO6SFkF3/ybPfLb3jtFkLTpgKJEw jdgAHYpc266HDuPuAqyMtmxLaobx7gBtRmOxw2ONbOpMCdjv7qcxaLSsv4hWmpP9jrdi VV+g==
X-Gm-Message-State: APjAAAUXNoPbg40/2/YTDvNwkBXYefAbUb6ll5aayEklh/KuL+CMSrry aOGXe9eCMzNyv6W+p/xhwAnM6h+GDHcNMpEsNE04cw==
X-Google-Smtp-Source: APXvYqzmG6A4Op0/jlwCPUh807Sm5o7RGtlSjZQVwMHa+KiosUWk2otxcSsAZFKjRsyy2gWvSayCNdvCMRvd/wikP60=
X-Received: by 2002:ac8:3328:: with SMTP id t37mr5134685qta.246.1552361703345; Mon, 11 Mar 2019 20:35:03 -0700 (PDT)
MIME-Version: 1.0
References: <CALx6S35OhjrnjCH6rmADf482Y4z_cZBt-q7GVjGnJeDtUuE3YQ@mail.gmail.com> <D6ABEFA2-1753-421E-8097-37AEECDDC286@strayalpha.com> <CALx6S36UhuYp=r2=AtgnnWuZw2dUGot9SWaaK0Q46tudtYXVdQ@mail.gmail.com> <FFAE05F4-F73A-494D-8DE4-6F96B7552FCC@strayalpha.com>
In-Reply-To: <FFAE05F4-F73A-494D-8DE4-6F96B7552FCC@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Mon, 11 Mar 2019 20:34:52 -0700
Message-ID: <CALx6S368JUNDsK46Gdmjw94et20De2fvr+41pji0+RTkrFbdzw@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/axNF2w5sws1MUG1f9g9JEqezdI4>
Subject: Re: [tsvwg] Comments on draft-ietf-tsvwg-udp-options-07
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, 12 Mar 2019 03:35:06 -0000

On Mon, Mar 11, 2019 at 7:54 PM Joe Touch <touch@strayalpha.com> wrote:
>
>
>
> > On Mar 11, 2019, at 7:24 PM, Tom Herbert <tom@herbertland.com> wrote:
> >
> > Considering that this is an application based mechanism, how would the
> > average user even know to care about this?
>
> The same way they know and care about udp checksums or not.
>
> > It's better to not give the
> > option and just provide something that is robust out of the box.
>
> We already have plenty of choices that are more risky, including CS=0.
>
That's more an argument that UDP checksums should not be zero, rather
than a fixed checksum is not needed in UDP surplus space. I agree with
that. Given that every NIC offloads the checksum anyway, the
recommendation really should be to always use the UDP checksum (it's
required in IPv6 anyway and we get better performance in cases of
encapsulation).

> The point is to be flexible - were not designing for today only.
>
Robustness trumps flexibility.

> And space - even a few bytes - is absolutely a significant consideration.
>
It depends on several factors whether the overhead is justified. For
instance, a four byte alignment requirement really does have any
impact since IP and UDP are already four byte aligned and MTUs are
almost always divisible by four (i.e. alignment doesn't reduce
available MTU). If the common deployment case is to always enable OCS
(seems like in Appendix A of the UDP options draft the intended
default is to enable it), then the overhead of the header reduces to
one byte. An overhead of one byte really is not worth discussion.

Tom

> Joe