Re: [tsvwg] [saag] TSVWG WGLC: draft-ietf-tsvwg-transport-encrypt-08, -> congestion control (was logging)

Christian Huitema <huitema@huitema.net> Mon, 14 October 2019 20:57 UTC

Return-Path: <huitema@huitema.net>
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 6ED21120045 for <tsvwg@ietfa.amsl.com>; Mon, 14 Oct 2019 13:57:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 OF6AEySCznT7 for <tsvwg@ietfa.amsl.com>; Mon, 14 Oct 2019 13:57:41 -0700 (PDT)
Received: from mx36-out10.antispamcloud.com (mx36-out10.antispamcloud.com [209.126.121.30]) (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 D881012003E for <tsvwg@ietf.org>; Mon, 14 Oct 2019 13:57:40 -0700 (PDT)
Received: from xse54.mail2web.com ([66.113.196.54] helo=xse.mail2web.com) by mx64.antispamcloud.com with esmtp (Exim 4.89) (envelope-from <huitema@huitema.net>) id 1iK7PI-000635-Ox for tsvwg@ietf.org; Mon, 14 Oct 2019 22:57:39 +0200
Received: from xsmtp22.mail2web.com (unknown [10.100.68.61]) by xse.mail2web.com (Postfix) with ESMTPS id 46sW8n4C1DzVpR for <tsvwg@ietf.org>; Mon, 14 Oct 2019 13:57:29 -0700 (PDT)
Received: from [10.5.2.49] (helo=xmail11.myhosting.com) by xsmtp22.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1iK7PF-0008Qa-F4 for tsvwg@ietf.org; Mon, 14 Oct 2019 13:57:29 -0700
Received: (qmail 29746 invoked from network); 14 Oct 2019 20:57:29 -0000
Received: from unknown (HELO [192.168.1.101]) (Authenticated-user:_huitema@huitema.net@[172.58.46.167]) (envelope-sender <huitema@huitema.net>) by xmail11.myhosting.com (qmail-ldap-1.03) with ESMTPA for <tsvwg@ietf.org>; 14 Oct 2019 20:57:28 -0000
To: gorry@erg.abdn.ac.uk
Cc: "tsvwg@ietf.org" <tsvwg@ietf.org>
References: <CE03DB3D7B45C245BCA0D2432779493630766752@MX307CL04.corp.emc.com> <e8c30f3f-606f-0c0d-a7dd-b2bb6f31a9fd@huitema.net> <5DA18567.9060400@erg.abdn.ac.uk> <961598c0-252d-7a85-baa1-7e2033a4b823@huitema.net> <5DA48FFD.30506@erg.abdn.ac.uk>
From: Christian Huitema <huitema@huitema.net>
Autocrypt: addr=huitema@huitema.net; prefer-encrypt=mutual; keydata= mQENBFIRX8gBCAC26usy/Ya38IqaLBSu33vKD6hP5Yw390XsWLaAZTeQR64OJEkoOdXpvcOS HWfMIlD5s5+oHfLe8jjmErFAXYJ8yytPj1fD2OdSKAe1TccUBiOXT8wdVxSr5d0alExVv/LO I/vA2aU1TwOkVHKSapD7j8/HZBrqIWRrXUSj2f5n9tY2nJzG9KRzSG0giaJWBfUFiGb4lvsy IaCaIU0YpfkDDk6PtK5YYzuCeF0B+O7N9LhDu/foUUc4MNq4K3EKDPb2FL1Hrv0XHpkXeMRZ olpH8SUFUJbmi+zYRuUgcXgMZRmZFL1tu6z9h6gY4/KPyF9aYot6zG28Qk/BFQRtj7V1ABEB AAG0J0NocmlzdGlhbiBIdWl0ZW1hIDxodWl0ZW1hQGh1aXRlbWEubmV0PokBOQQTAQIAIwUC UhFfyAIbLwcLC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4/HVgfurb4+fd74PV/CC/dmd7hg0ZRlgnB5rFUcFO7ywb7/TvICIIaLWcI42OJDSZjZ/MAzz BeXm263lHh+kFxkh2LxEHnQGHCHGpTYyi4Z3dv03HtkH/1SI8joQMQq00Bv+RdEbJXfEExrT u4gtdZAihwvy97OPA2nCdTAHm/phkzryMeOaOztI4PS8u2Ce5lUB6P/HcGtK/038KdX5MYST Fn8KUDt4o29bkv0CUXwDzS3oTzPNtGdryBkRMc9b+yn9+AdwFEH4auhiTQXPMnl0+G3nhKr7 jvzVFJCRif3OAhEm4vmBNDE3uuaXFQnbK56GJrnqVN+KX5Z3M7X3fA8UcVCGOEHXRP/aubiw Ngawj0V9x+43kUapFp+nF69R53UI65YtJ95ec4PTO/Edvap8h1UbdEOc4+TiYwY1TBuIKltY 1cnrjgAWUh/Ucvr++/KbD9tD6C8=
Message-ID: <a8aad4ad-80f2-52ff-3f6e-c8082725f80f@huitema.net>
Date: Mon, 14 Oct 2019 13:57:28 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2
MIME-Version: 1.0
In-Reply-To: <5DA48FFD.30506@erg.abdn.ac.uk>
Content-Type: multipart/alternative; boundary="------------FB449B3BD7C77A4468B87730"
Content-Language: en-US
X-Originating-IP: 66.113.196.54
X-Spampanel-Domain: xsmtpout.mail2web.com
X-Spampanel-Username: 66.113.196.54/32
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=66.113.196.54/32@xsmtpout.mail2web.com
X-Spampanel-Outgoing-Class: unsure
X-Spampanel-Outgoing-Evidence: Combined (0.15)
X-Recommended-Action: accept
X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0eFAaCtHsYYurt+XvhXi9QGpSDasLI4SayDByyq9LIhVUZbR67CQ7/vm /hHDJU4RXkTNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGDAxcDYLQWPWOwvKJpm+ErX5j9 EvBvwu01uVCaGVBWGquIqdpj/JYcrn28bHFs/bzg2rBNMmEsKEibQwSU1xBeOHButNDpi1WUXRkr He1vFsYm1aGKgRFqmjZjxZofiz4rkAK4VQRApjMDmiDxgGY4pbyme9ldZJ7uNXfg/GfS8fUvP/L5 rCqHDsKZM+xa1iwJX+gRCHfMVnsAk591zk0uilUI+ZL4xWiN8NS6C+dmX6OEdA4u1aThyWrQ/ou2 +v/lmX4Em37yFgrCB6NHRn1g+f3uncIqYSL3lhh5c81YyJqFoLZMmkWsaurVZfvqROaDnDtHb8z5 dpPkEuJ8SnwqlUrBK2R/GBg9vCpMGFHw53FxnHnL50HZvyS1o3x98IkV0bm2vWdo8usP65i82q1C dZgGrpL44wdx9eXqjQjbvUopOMQJvQ/Ck3iiU+4DQAj3fuQgzT3K9JUHTNiGwfwAm0riDIK/dqde 2nXgzgoJuyoBy9f6KBxo9wHp7B5kzFX+dUSZF/BkjqNZ6QgPXcGAYuwhRBAqCF04grN7EnAeyEsk 6Q9V9YO5wBS5yaTKclLkvuydj6574Qj/KQ6KJOr9yRg66gs5OuzYxJgw5atIxePaw4mGPOB1lCDk b7ANR1sPO8wrqZpYTkwG/hniS4f4G9Q84QG89JN6MvpNdzLqW7o8biMS96MpxHdScMykHALBHHAS JNUmoOHSoqgqxfHmWfZIwxxhwvMcWh0MGcvUtQjG6NLt7aeVbrKDrSGZ0tUG1vEjHyvS2QZiR+AZ YvfxEvZFKu+ZM2mB1CpThxyaBpbeNHk15VolAGHS5rCXQKDyCQUljhSWDhWh87HBSLhNUo4qiB0X MVQG2R7iUfOzATaF5R3hQJk8CwyURYKQ0Ye0iR3bHfnMCIEU+nrglojKwJanfcoq9IsR6l/OZb9V MEM=
X-Report-Abuse-To: spam@quarantine9.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/GoX5fISwZvBWAHhDDHDR9IoYpIs>
Subject: Re: [tsvwg] [saag] TSVWG WGLC: draft-ietf-tsvwg-transport-encrypt-08, -> congestion control (was logging)
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, 14 Oct 2019 20:57:44 -0000

On 10/14/2019 8:10 AM, Gorry Fairhurst wrote:
>>> * researchers/equipment developers seeking to correlate/tune transport
>>> timing with network policies (e.g., interactions between congestion
>>> control and link scheduling);
>> This seems quite similar to the protocol developer problem.
> Except it's not really... in this case, the network device/segment
> being observed is moving traffic, and observers often don't have much
> clue about the client's platform, app setups, etc. Why would they?
> (They also don't have away to turn-on debug or logging at clients) -
> if I look at a queue, I see packets. If I know these packets are using
> a well-known protocol TCP, RTP, etc, I can look to see how the CC is
> being impacted by the way that I configure my device (I could tune
> things if I had incentive), if it's IPsec-encrypted traffic, I would
> generally not bother looking more. I think some people  contributed
> text to an earlier revision in this direction, please see if that
> seems to be heading in a useful direction. 


OK. I did raise the issue about end-to-end transports experimenting with
new and improved congestion control algorithms, and actually did a
presentation about that in Montreal in the TCPM WG. The feedback was
really a push back. My fears were not grounded they said, because if
this was a problem the network would have collapsed long ago, said in so
many word a queue of distinguished speakers at the microphone. What of
servers adopting IW=gigantic, or video streamers doing no congestion at
all. The network has defenses, etc.

That kind of feedback means that experimenting with congestion control
algorithm in encrypted transports is going to become the norm. And
indeed, I am seeing some of that in the Quic Interop taking place right
now. One of the tests compares downloading a 10MB file with Quic and
downloading the same file with HTTPS/HTTP2. Many implementations manage
much better times with Quic. The download times vary per server, but I
saw results like  3.5 sec with Quic versus 8.5 sec with HTTPS. Against
my own server, I get 3.6 seconds with Quic versus 7.5 with HTTPS. This
did not imply cheating, but merely attention to details in the
implementation of Hystart or Cubic, including filtering of delay
measurements and management of spurious retransmit.

But my point is not to bore you with details of implementations, but to
show that it is very hard for an observer in the middle of the network
to reason about how generic client implementations will react to a
specific network tuning  link management policy. All implementations
will not react in the same way. A given implementation may also react
differently over time: the developers will learn by experience about the
new management policy. They are likely to tune their implementation to
benefit from your tuning of the network.

If you really want to observe an implementation's reaction, the best way
is to perform a controlled test, in which you instrument the client or
the server and run them against your proposed tuning. You will probably
need to do that for a couple of client and servers -- say Chrome and
Firefox, Apache and NGINX. And you will get a snapshot of behavior.

But the real change is that you should consider game theory, and see
what kind of Nash equilibrium results from the combination of your
proposed changes and the implementations' responses. This requires a
change of mindset, and that should probably be explained in the draft.

-- Christian Huitema