[DNSOP] Stuart and I had a discussion about the flow control issue in your DISCUSS (Mirja)

Ted Lemon <mellon@fugue.com> Thu, 02 August 2018 18:04 UTC

Return-Path: <mellon@fugue.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1A0B130E29 for <dnsop@ietfa.amsl.com>; Thu, 2 Aug 2018 11:04:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-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 N_b2MnXH6zva for <dnsop@ietfa.amsl.com>; Thu, 2 Aug 2018 11:04:19 -0700 (PDT)
Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (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 65FB8130DEB for <dnsop@ietf.org>; Thu, 2 Aug 2018 11:04:16 -0700 (PDT)
Received: by mail-io0-x242.google.com with SMTP id o22-v6so2775885ioh.6 for <dnsop@ietf.org>; Thu, 02 Aug 2018 11:04:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=0EJ8e5slmmlqhIWuM+hjd9uIybnw/tdVO48ohftnRkg=; b=yhfhgKGuQd5qWL/dWQiIClueefjV7qjh1vqLd2T/oBgvB28CcBdcZzePU7sprRFfvA 76IibDyvIUG+858J6vpWCpm8XgUJ2OaO7XOtYbGCdZ29vV/ISB/7araV5akLXSIH9LUa gl8vyW0jCFRO6Hi+RApawj78KOtQnN/4yFbWyJZ46aGQWQARyvDmWV5oRMwr9v2Ej6Gb 6tT1X8qTw+1EfTuJZEfht0pglVtjCdeueOVFzhMHBJWoT1B3Pg4L3D5qTN5uxZ5uzZyL ZHs5tvG877SKRnaOAzl1T4cgY/UwYwcgVmkfthtjMFrywATa37pExFYTFwNf9HGqrzwv Oleg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=0EJ8e5slmmlqhIWuM+hjd9uIybnw/tdVO48ohftnRkg=; b=aXAzidGrFPGXZHTSMalrPlHUUz+RT5jIxWAA1afhak4t6vL+DC8ZzO/t3cC5myPyVB hFFKGoiPm1c/mJO1re6s4NKh0RT9jQ3lq3xQxMyP/FtNxexry6EIvyinz3woJovl4tc4 vDocaafo7uhxIsGh+Ds4V7146jIaCK3L1hdO9BldMxDUa55FXhakHTbSZd2OoLVYnks1 4OX7RPKp8H3P6Vc9OELybO+g6I+Tt/IYcjV8xfkeStfk+qLyNAfJ7ctYln3+EZbxEOId AAcLMwzUZKxDGQl32QJj3j6Nhc17TszKFOamw1cQFZWc5phJ+x6PwYQb9jJMeV+dbiQj BTHQ==
X-Gm-Message-State: AOUpUlGireNY/XsDgK01KC3rJ2zWpCWVLFKC6SmMIyFF1pAvORg7asyi 8+JmOaNS5frThWG3gXC0whHsg+PQzwA9eXm77RtSWw==
X-Google-Smtp-Source: AA+uWPwgSmDSYRXn1qAKB82Rre6dKq4ZJ4muepzTEFvJA0khov/RlLw6pqN/ePacELg2cEmGiHigSeWJo70TnFoU1Y8=
X-Received: by 2002:a6b:4c5:: with SMTP id 188-v6mr3588631ioe.32.1533233055292; Thu, 02 Aug 2018 11:04:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a4f:b442:0:0:0:0:0 with HTTP; Thu, 2 Aug 2018 11:03:34 -0700 (PDT)
From: Ted Lemon <mellon@fugue.com>
Date: Thu, 02 Aug 2018 14:03:34 -0400
Message-ID: <CAPt1N1mVGfvtj0GG3zyFWgtsRGLDX=r=jH2fqeoOBivbBT150g@mail.gmail.com>
To: Mirja Kühlewind <ietf@kuehlewind.net>
Cc: The IESG <iesg@ietf.org>, draft-ietf-dnsop-session-signal@ietf.org, Tim Wicinski <tjw.ietf@gmail.com>, dnsop-chairs <dnsop-chairs@ietf.org>, dnsop WG <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009e7646057277a303"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/WhIu9KM1JxusNvUBLASmdrAdCx0>
Subject: [DNSOP] Stuart and I had a discussion about the flow control issue in your DISCUSS (Mirja)
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2018 18:04:21 -0000

The issue is that turning on TCP_NODELAY doesn't actually do the right
thing, nor does removing the delayed ACK timer.   Both of these are
heuristic solutions that apply across the entire session, and have negative
consequences (which is why they are on by default).

What we need is actually a very small thing, in a sense: the ability to say
"I got the message, and will not be responding to it," so that the existing
heuristic is satisfied in exactly the same way that sending a response
satisfies it.

It's true that on a gigabit ethernet, just turning off the heuristics and
sending whatever we have whenever we have it isn't likely to cause
problems, but this stuff also has to work in home networks and over
wide-area links and even low-bandwidth mobile links, where we can't assume
that we have as much headroom as we do on a gigabit ethernet link.

We think that it is probably worth the IETF thinking about this problem,
yet at the same time that's out of scope for the current work.   But not
talking about the problem at all in the current work means that when the
solution to this problem starts appearing in APIs, which seems likely,
there will be no advice in the document about what the implementation
should do.

What we propose to do therefore is to put in a paragraph that briefly
mentions the issue and says "when unacknowledged messages are received, if
an API is present to inform the TCP layer that no response will be sent,
the responder SHOULD do so."   And then the text from the section as it was
when you put the DISCUSS on it would go in an Appendix, so that it's clear
what's going on.   We can then reference this section in the text telling
the implementation what to do.

Will this satisfy your DISCUSS (assuming that we don't make mistakes in how
we document this)?