RE: Spin bit discussion - where we're at

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Mon, 27 November 2017 14:15 UTC

Return-Path: <ingemar.s.johansson@ericsson.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 79E1F120727 for <quic@ietfa.amsl.com>; Mon, 27 Nov 2017 06:15:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 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_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.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 c9odGt_6TyuH for <quic@ietfa.amsl.com>; Mon, 27 Nov 2017 06:15:05 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 4FE551200B9 for <quic@ietf.org>; Mon, 27 Nov 2017 06:15:04 -0800 (PST)
X-AuditID: c1b4fb2d-139999c0000036aa-e8-5a1c1de60167
Received: from ESESSHC008.ericsson.se (Unknown_Domain [153.88.183.42]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 0D.2B.13994.6ED1C1A5; Mon, 27 Nov 2017 15:15:02 +0100 (CET)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.42) with Microsoft SMTP Server (TLS) id 14.3.352.0; Mon, 27 Nov 2017 15:14:56 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=M2b4+WBfCSXv7FHFQnDalxJhPEuz3tW33C+Yr9yjbjs=; b=WnvS0mz+4K7++yAjGv9Gi4cRMPOLFkreO//S5eeyccf73/2luqqILqbCIxaaUNcn1MO0cIPHz/CU8LPqoI5/pPrfKPXcwpfUY5QmD5HQHR44p1agPXPBnVUuo/Oip1ZOBfQUF0IvVWkoiIjkoUyEuMyEuJDFgPIyMZSCQYZXbkk=
Received: from DB4PR07MB348.eurprd07.prod.outlook.com (10.141.234.148) by DB4PR07MB347.eurprd07.prod.outlook.com (10.141.234.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.3; Mon, 27 Nov 2017 14:14:54 +0000
Received: from DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::e0fd:9f9f:e232:b301]) by DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::e0fd:9f9f:e232:b301%16]) with mapi id 15.20.0282.002; Mon, 27 Nov 2017 14:14:54 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: "Gorry (erg)" <gorry@erg.abdn.ac.uk>, Roland Zink <roland@zinks.de>
CC: "quic@ietf.org" <quic@ietf.org>
Subject: RE: Spin bit discussion - where we're at
Thread-Topic: Spin bit discussion - where we're at
Thread-Index: AQHTZ4HIwy7AvHmC906Tq5O1smuWkqMoQU8w
Date: Mon, 27 Nov 2017 14:14:53 +0000
Message-ID: <DB4PR07MB348CAF067401CD277485464C2250@DB4PR07MB348.eurprd07.prod.outlook.com>
References: <AFEE7BBA-E5DC-4064-AA19-33921EAF4C01@mnot.net> <21B07D8C-C4A1-4321-9E43-61C9DB9DC4CA@trammell.ch> <fd09b775-4c0e-9d99-e49c-421212f2e5e4@cs.tcd.ie> <F4F7A438-F30F-406B-9971-DA05DA458B44@netapp.com> <C8DDB9E3-C8F9-49CB-8C6D-E381C00AC02D@trammell.ch> <4D7F4AD313D3FC43A053B309F97543CF4904F2FD@njmtexg5.research.att.com> <CAGD1bZbYjB96nc1ud3xmSm8g6jHhPYpeT=iWWQiZxRzzyVvdRw@mail.gmail.com> <07ef04d5-b211-e605-9f66-fe0ecefa5425@zinks.de> <989A02DE-F8CE-4A50-A2F3-E595B5D4931D@erg.abdn.ac.uk>
In-Reply-To: <989A02DE-F8CE-4A50-A2F3-E595B5D4931D@erg.abdn.ac.uk>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-originating-ip: [192.176.1.92]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB4PR07MB347; 6:s23euOqfMsgrSPnR35XgmDjW84+ULu2l7R6Dwt5GMCW85973d0lIE/GldSlazyeQy2P5KZaLrc5eujbqsr61Q3RnbZqdA6Od+T12FH5Gowk1PMGay9iLGNzkY8wAcK3rSatsa0Y6xNdb9ELv1B/UkIq+wv1+17xHDFSwl5bE3I/YgOQ4SXA+sHPyJ8KC55vkMnAAusrCldOxg2ay517D4QSwxGEDIDTujt4HRBgezF22ARgUo9Lv/aBWKreTfYnUkQKFsniROXZ+neDcxrKydc8spa230YQ+84HYUU0OriVzMBO+F9XPLJ0/07cFNLjx6nzeEP0zVv+5aNjDbwmd34guW2Ggm0G4D+kjQNIcCxU=; 5:1f3GwXvFXqLqnzksofEs356QAbXypS0zUeAc8aXoCpwNmkobTMqDG/XXiQ+SEvE03BqSayspgffUSufKznAu63Qa6hnQSTWX2XpT3br0L36kVePl/dizUD/yrLgEBaXmjuM+dAMqirar7+ego8aLsHEl6N6UKxaaYh6bd6aXrdg=; 24:ZtCR6/axCRK32OaSY+NuggNvW9bujCDVofGooeQIH8gpwRTWGJNI+OXRxwZoC44qlZuzUG5vQodzhoeplbCoN66bqw9x63T9quZ2ICIUbvk=; 7:FzmAVRVa63Eg3JFrPsB+RfE9vnwRSnvnOgfZFhJAHLMYsSpdNcDlzADnrAIL0cI6sXfPpQJGL6vCB1mo5i9qAqwa5DxMurFkj3SMkCNr2HWYJwvSdDqjCHSPWjc6zDx1ucjBu6gVgYuJdhvCAdBSU/xCmEzM2WHJsp3YkMuBTmfkvMDCAmpvcFSswyvBfMIHQ98E/aQYizsT9WVMhKmfGxRfKqcx1p6P+tV6BHyfm5bQsQ8OOLXlhRvaznbjuqxf
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 4953896b-2f64-4967-a323-08d535a13b35
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603199); SRVR:DB4PR07MB347;
x-ms-traffictypediagnostic: DB4PR07MB347:
x-microsoft-antispam-prvs: <DB4PR07MB3471170684F131245901A95C2250@DB4PR07MB347.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(32856632585715)(97927398514766)(58145275503218)(227612066756510)(155532106045638)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231022)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123555025)(20161123564025)(20161123562025)(6072148)(201708071742011); SRVR:DB4PR07MB347; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DB4PR07MB347;
x-forefront-prvs: 0504F29D72
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(376002)(346002)(199003)(13464003)(189002)(377424004)(24454002)(81166006)(81156014)(50986999)(54356999)(76176999)(478600001)(53546010)(606006)(4326008)(9326002)(8936002)(14454004)(101416001)(68736007)(966005)(66066001)(93886005)(74316002)(316002)(25786009)(86362001)(3660700001)(3280700002)(33656002)(2906002)(105586002)(110136005)(106356001)(7736002)(8676002)(19609705001)(561944003)(6436002)(2900100001)(4001150100001)(6246003)(2950100002)(6506006)(3846002)(5250100002)(229853002)(5660300001)(53936002)(236005)(7696005)(55016002)(189998001)(99286004)(97736004)(6116002)(54896002)(9686003)(6306002)(790700001)(102836003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR07MB347; H:DB4PR07MB348.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DB4PR07MB348CAF067401CD277485464C2250DB4PR07MB348eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 4953896b-2f64-4967-a323-08d535a13b35
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2017 14:14:54.0295 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR07MB347
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGKsWRmVeSWpSXmKPExsUyM2K7lu4zWZkog4sbxSxet81mtOhZwG2x 7O4FFgdmj57PL5g8liz5yeTxd/EH9gDmKC6blNSczLLUIn27BK6Me8c72QoOrWCqODbtD2MD 44MFTF2MnBwSAiYSr789ZOti5OIQEjjMKLG7uY0RwjnBKDF18j5WEIdFoJdZYsLh/UwQmWlM ElcnrGOHcB4yShw++pMZZBibgI3EykPfGUFsEQF3iT83V7CD2MwCyhJTTjewgtjCAoYSTQ9e s0DUGEm0vetgg7FPnW8CquEAWqcqceZmMEiYVyBK4tQBkHKQXS0sEisnPQWbzyngJLF7yU2w mYwCshL3v99jgdglLnHryXyo5wQkluw5zwxhi0q8fPwPqj5Z4tPNXlaIuILEn0uP2CBsWYlL 87vB/pcQOMgucej9SkaIhJ7E1olvoWxfid//jkEVLWaU6F/5CqpbU6L73g4WCDtTYt+v36wQ RT2MEpt3/WKGcOYxSzz99xCqSkbieOdllgmMurOQnA5h50s8vb2KZRY4DAQlTs58AmRzAMU1 Jdbv0ocoUZSY0v2QHcLWkGidM5cdWXwBI/sqRtHi1OLi3HQjY73Uoszk4uL8PL281JJNjMDU dHDLb90djKtfOx5iFOBgVOLhXcglEyXEmlhWXJl7iFGCg1lJhFf2oXSUEG9KYmVValF+fFFp TmrxIUZpDhYlcd6TnrxRQgLpiSWp2ampBalFMFkmDk6pBkamadezLl3U1/Npl1ww4YdbzzvT /89SIxnX3hP4fcTH+bBK2DUO8xRpxYV3TWPdxDo2Rq1pXXLlbFqe3OEXXmdv9UfM75gs3mgi fPzir8cPP6Q29CxR1v/3cn5VYp7AcecTMVwdt6fInoy6ad33tfuu03qx1QwPbi+zvL7eo6Zr yUr5wuk1TFVKLMUZiYZazEXFiQAwEwOaSQMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/kA4SO1EHw_NvuZ2d7jw1qRRvCFA>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Nov 2017 14:15:11 -0000

Hi

I would say that it is perfectly possible to trick e.g. the Linux TCP stack to something like what is described below. Just clone tcp_cong.c ,
Change the following lines
u32 tcp_reno_ssthresh<https://elixir.free-electrons.com/linux/v3.12/ident/tcp_reno_ssthresh>(struct sock<https://elixir.free-electrons.com/linux/v3.12/ident/sock> *sk)
{
        const struct tcp_sock<https://elixir.free-electrons.com/linux/v3.12/ident/tcp_sock> *tp = tcp_sk<https://elixir.free-electrons.com/linux/v3.12/ident/tcp_sk>(sk);
        return max<https://elixir.free-electrons.com/linux/v3.12/ident/max>(tp->snd_cwnd >> 1U, 2U);
}
To something like

u32 tcp_bloat_ssthresh<https://elixir.free-electrons.com/linux/v3.12/ident/tcp_reno_ssthresh>(struct sock<https://elixir.free-electrons.com/linux/v3.12/ident/sock> *sk)

{

        const struct tcp_sock<https://elixir.free-electrons.com/linux/v3.12/ident/tcp_sock> *tp = tcp_sk<https://elixir.free-electrons.com/linux/v3.12/ident/tcp_sk>(sk);

        return tp->snd_cwnd;

}
Build it and make it a loadable kernel module, you need to rename a few other functions as well, and you can call it tcp_bloat.c 😊

So.. my opinion is that you can perfectly well collapse the internet also with TCP. ConEx was introduced as a medicine for this but it never gained traction.

/Ingemar




From: Gorry (erg) [mailto:gorry@erg.abdn.ac.uk]
Sent: den 27 november 2017 14:15
To: Roland Zink <roland@zinks.de>
Cc: quic@ietf.org
Subject: Re: Spin bit discussion - where we're at

See below:

On 27 Nov 2017, at 12:32, Roland Zink <roland@zinks.de<mailto:roland@zinks.de>> wrote:
Am 27.11.2017 um 08:03 schrieb Jana Iyengar:
In addition to how the spin bit can be designed and used, I'd like those taking on this effort to consider this question: Whatever network management problem you're considering solving with a bit, what does it take to solve this problem without the bit exposed? I'm asking you to consider "zero-bit" solutions, or at least for a cost/benefit analysis of developing solutions with and without the spin bit for specific network management functions. Specifically,

(i) What's impossible or very difficult to do, from a network management perspective, of not having the spin bit? Note that I'm not asking for what is and is not measurable -- not everything measurable is useful. I'm specifically asking in terms of network management functions, in practice, as used by operators. Some of this has been addressed in the discussions/drafts I've seen, but I think it's most useful when framed in terms of network management functions.
I want to express the question about manageability from a different angle. QUIC moves the congestion control from being a common functionality in the kernel to application functionality. It also hides the protocol handling of congestion from the network. This gives incentives for application developers to change congestion control to give their application an advantage over others. No special rights are necessary. Now the question is does QUIC provide enough manageability to avoid an Internet (or some part of it) breakdown when it is misused? Can it be shown that this can't happen?
I think this may touch on some of the topics in:
https://tools.ietf.org/html/draft-fairhurst-tsvwg-transport-encrypt-04

Although this is focussed on issues wider than Quic, I think the points you raise are relevant. This was presented last IETF-100 in TSVWG and INTAREA. We would appreciate insight, and comments on this.  (I am just about to push new version to correct typos!)


(ii) What are the alternatives for building the same functions without the spin bit? Let's consider for a moment that the spin bit isn't actually available in practice. What will operators do to continue managing their networks? This might be expensive, but that's precisely what I'm looking for -- the cost to operators of not having the spin bit. For instance, active probes are a fine way to measure network RTT within operator networks, and that is an alternative. There are surely others too. Their costs and limitations are important to know about in order to reason about their viability, so I'd like to see alternatives considered.
Solutions that only work within an operators network are not enough when more than one operator is involved.
Yes, also true.

Gorry


I don't mean to start the discussion on this thread, but I'd like to urge those going off to do the writing to consider these questions.

- jana


On Sun, Nov 26, 2017 at 11:26 AM, MORTON, ALFRED C (AL) <acmorton@att.com<mailto:acmorton@att.com>> wrote:
Hi Brian, Stephen, Lars, Mark and all,

one join, one suggestion, and one question below.
see [ACM]
> -----Original Message-----
> From: QUIC [mailto:quic-bounces@ietf.org<mailto:quic-bounces@ietf.org>] On Behalf Of Brian Trammell
> (IETF)
> Sent: Wednesday, November 22, 2017 5:59 AM
> To: Eggert, Lars
> Cc: Mark Nottingham; QUIC WG; Stephen Farrell
> Subject: Re: Spin bit discussion - where we're at
>
> hi Lars,
>
> > On 22 Nov 2017, at 11:35, Eggert, Lars <lars@netapp.com<mailto:lars@netapp.com>> wrote:
> >
> > Hi,
> >
> > On 2017-11-22, at 11:01, Stephen Farrell <stephen.farrell@cs.tcd.ie<mailto:stephen.farrell@cs.tcd.ie>>
> wrote:
> >> What I thought was being requested and what I do think is reasonable
> >> is to document a privacy analysis for any quic protocol bits that are
> >> visible to the path. Whether or not some or all of that text ends up
> >> in some RFC is another day's work.
> > Lars wrote:
> > for the Spin Bit specifically, the intent was to permanently capture
> the analysis the DT has done, so that when others review the proposed
> Spin Bit specification, they can take that as a given and direct any
> further analysis to other aspects. It made sense to the chairs that that
> specific analysis should become part of the Spin Bit specification. I
> think we'd be open to a discussion on whether a broader document
> analyzing the QUIC wire image would be a better home for this. The main
> point is for the work that the DT has done to be documented.

> Brian wrote:
> Okay. That's somewhat more reasonable than what I read the ask to be
> ("we're going to gate this on the people who care about this doing some
> non-trivial amount of work"). Those of us who volunteer (help, please,
> anyone? :) ) can certainly pull together what we have in a single I-D
> and ask the WG what more it thinks it needs. To me all this seems pretty
> clear, but I've been working on this topic for a while.
[ACM]
Having reached the end of the "Thanksgiving thread",
I'm scrolling back a few pages to join the task of
permanently capturing the work of the DT in an I-D (at least):
There should be lasting value in some of our findings
and IMO they are worthy of a persistent reference.

> Lars wrote:
> > For proposals other than the Spin Bit (I think I have seen individual
> contributors at least mention "loss" and "congestion" bits, but without
> much detail), we wanted to clarify that we'd like to see an analysis and
> discussion of their privacy aspects to roughly the same degree as the DT
> has performed for the Spin Bit proposal.
>
[ACM]
I suggest that this might be a different I-D, at least to start.
Question: Is there a privacy analysis of present ECN available?
(a search yielded many results with Missing: privacy)

regards,
Al