Re: [EToSat] BDP parameters draft (was: Re-chartering for extension work)

Christian Huitema <huitema@huitema.net> Wed, 18 December 2019 02:04 UTC

Return-Path: <huitema@huitema.net>
X-Original-To: etosat@ietfa.amsl.com
Delivered-To: etosat@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E8792120073 for <etosat@ietfa.amsl.com>; Tue, 17 Dec 2019 18:04:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 4pfBLfVzydqu for <etosat@ietfa.amsl.com>; Tue, 17 Dec 2019 18:04:21 -0800 (PST)
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 DC174120043 for <etosat@ietf.org>; Tue, 17 Dec 2019 18:04:20 -0800 (PST)
Received: from xse51.mail2web.com ([66.113.196.51] helo=xse.mail2web.com) by mx12.antispamcloud.com with esmtp (Exim 4.89) (envelope-from <huitema@huitema.net>) id 1ihOgz-0006yc-AT for etosat@ietf.org; Wed, 18 Dec 2019 03:04:17 +0100
Received: from xsmtp22.mail2web.com (unknown [10.100.68.61]) by xse.mail2web.com (Postfix) with ESMTPS id 47cywB1fcHz1df1 for <etosat@ietf.org>; Tue, 17 Dec 2019 18:03:22 -0800 (PST)
Received: from [10.5.2.17] (helo=xmail07.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 1ihOgM-0006SI-3r for etosat@ietf.org; Tue, 17 Dec 2019 18:03:22 -0800
Received: (qmail 19635 invoked from network); 18 Dec 2019 02:03:21 -0000
Received: from unknown (HELO [192.168.200.66]) (Authenticated-user:_huitema@huitema.net@[72.235.197.82]) (envelope-sender <huitema@huitema.net>) by xmail07.myhosting.com (qmail-ldap-1.03) with ESMTPA for <emile.stephan@orange.com>; 18 Dec 2019 02:03:21 -0000
To: Kuhn Nicolas <Nicolas.Kuhn@cnes.fr>
Cc: "'Gorry (erg)'" <gorry@erg.abdn.ac.uk>, "'etosat@ietf.org'" <etosat@ietf.org>, "emile.stephan@orange.com" <emile.stephan@orange.com>
References: <A56547B6-2E3B-4ABE-8C9B-BA9ACC489FB2@mnot.net> <F3B0A07CFD358240926B78A680E166FF1ED2D685@TW-MBX-P03.cnesnet.ad.cnes.fr>
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 UhFfyAIbLwcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEJNDCbJVyA1yhbYH/1ud6x6m VqGI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jZ/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: <90c3682a-8d0b-2735-3a26-bc180011a3bb@huitema.net>
Date: Tue, 17 Dec 2019 16:03:20 -1000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0
MIME-Version: 1.0
In-Reply-To: <F3B0A07CFD358240926B78A680E166FF1ED2D685@TW-MBX-P03.cnesnet.ad.cnes.fr>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
X-Originating-IP: 66.113.196.51
X-Spampanel-Domain: xsmtpout.mail2web.com
X-Spampanel-Username: 66.113.196.51/32
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=66.113.196.51/32@xsmtpout.mail2web.com
X-Spampanel-Outgoing-Class: unsure
X-Spampanel-Outgoing-Evidence: Combined (0.14)
X-Recommended-Action: accept
X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0c2Pj46HODYmpAMVAv0J1pOpSDasLI4SayDByyq9LIhVQcHZRFIGRGb6 X73sht+Vu0TNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGDYbC1vFNC/qFxauDStI0QV8RX qYbtEQV1z/L435ZRxFT0IDKFyLqvbkCf5BfjfSSj+rYZvu7UEJiU3s27VgKHO7lwS3dBJTnTxDoD vBGGxpgwWbxrOZCJSMpTl/yE2fo2uERI/lUckE9oPyvcIhwEMgZ6weYgSzquK2hxskqXvy8woCTx LKweTbuJ+19zsyHVGVmhMAaQ/AfCRwRe7yHm5oY+NYmsSGn+svMubxnbgm1cr18FZBEPC2/c16Xd 7sC9aC4xteE1WLqGS9YoqrsZ2DyteN0e+ECCv9/f+GPymkgDVo7QBKA4MctKq4ifYPcXFRL2K3LA EfDXVOdt7wDbusYnuEVWSxKMHbU0zkNM3EElFDaoLuOPKc8gc82pKfhB7T02ZXdoQxMs//iOE4Fl hiCv9TR+UxzLZWL8hwGBjhoI3W+YcuHfP5PkZb5A+wE5qGdpH54Oa3V8I76VOEvlwIVUdYndRiyh yQb8o5SNcNSIfNx7pPDULMBAlOr5htOeLWSr2YcHOGjD2ZAqIyd7IvZ6NBvK5U7i6jvU9pDr4N70 lSfuxANzRU5MAZzTOSGBA09RvWwHse+5L7TqJym6U/KY2AXNZGS5G93aGyH8MqMNONNOB63tZ91H 4Bn0Oix6+GV0EzC4VaLFzwbcwh9HepxMPnetLBJMh51NiRRoHICIEVcAS2/LFH+RXDVQ4oU2miK7 x42VjdzChZMe6O/DiWiiIzuXMTE3l4bIsk+O50ux3/3D+yqzdBdC0uOjnKPT08QV3No+S2msRDep v5w/kkG0v17AmegcpQ0tml/sN9lmMy/o83jVXTcfb9k0nLWblJy7uxV6dw8jzlsaNZe6hynMJcjx DydxsJEju76A7X1QIVydqXpZ6MHhiKws9Iiut28r9wo4SqUIg8Yh9hAM0n3LLzx/F2gT3wl8JQJv Bho=
X-Report-Abuse-To: spam@quarantine11.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/etosat/daIdwJegZwh2env6z8gRYTRqn48>
Subject: Re: [EToSat] BDP parameters draft (was: Re-chartering for extension work)
X-BeenThere: etosat@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "The EToSat list is a non-WG mailing list used to discuss performance implications of running encrypted transports such as QUIC over satellite." <etosat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/etosat>, <mailto:etosat-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/etosat/>
List-Post: <mailto:etosat@ietf.org>
List-Help: <mailto:etosat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/etosat>, <mailto:etosat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Dec 2019 02:04:23 -0000

I am looking at this draft before trying to implement it. I think I
understand the spirit of the draft, but I have a couple of questions
regarding how this is supposed to work.

There is probably a typo in the formulation of the BDP as "last_bdp can
be set to min_rtt*congestion_window". This would give a value in
bytes*seconds, when we expect bytes. Using "min_rtt*received_rate" would
work, since clients can certainly measure the rate at which the server
was sending data. In fact, sending both the BDP and the RTT would make
sense.

By default, the number of RTT required to reach a full bandwidth BDP is
log2(BDP/IWbytes). In my tests of the "250Mbps/3Mbps" scenario, the
required BDP is reached in 3.6 seconds after starting with IW10.
Starting with IW160 would shave 2.4 seconds on that total, etc. We would
of course need RTT evaluation and pacing, but for high BDP scenarios we
need that anyhow. Learning the BDP in advance would help there.

All that sounds good, but I don't know how the client can safely
estimate IW. The draft says "use the previous sender value", but I don't
understand how the client learns that. I think that the client knows the
previous BDP, and it also knows how long ago the measurement was made.
If the time is short, there are good chances that the new conditions are
similar to the previous ones, but if the time is long there is a high
risk that they are different. Let's assume that the client sends a BDP
parameter with a large value. Should the server trust it? Should it
initialize CWIN to a fraction of that, and chose a smaller fraction if
the measurement was old? How does the server know how old the
measurement was?

There is also a security aspect there. The server that blindly trusts
the BDP option will blast a large number of packets. What if the client
is trying to sabotage the local network? Why should the server trust the
client? The security section does not cover that...

-- Christian Huitema

On 12/17/2019 7:27 AM, Kuhn Nicolas wrote:
> Hi Mark, Lars,
>
> Many meetings discussed the impacts of QUIC encryption on satellite Performance-enhancing proxy (PEP) and the benefit of exchanging additional transport parameters.
> draft-kuhn-quic-0rtt-bdp was mentioned as a possible extension during « Quick QUIC Update » presentation.
>
> We have updated draft-kuhn-quic-0rtt-bdp-05 as an extension of QUIC.
> We propose to include it in the re-chartering discussion.
>
> Regards,
> Nicolas, Emile and Gorry
>
> https://datatracker.ietf.org/meeting/106/materials/slides-106-tsvarea-quick-quic-update-mark-nottingham-00.pdf 
> https://tools.ietf.org/html/draft-kuhn-quic-0rtt-bdp-05 
>