Re: [tcpm] Comments on draft-bagnulo-tcpm-esn

"Eggert, Lars" <lars@netapp.com> Wed, 22 November 2017 08:07 UTC

Return-Path: <lars@netapp.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21705127AD4 for <tcpm@ietfa.amsl.com>; Wed, 22 Nov 2017 00:07:48 -0800 (PST)
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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=netapp.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 6DY5Cpr_7f_d for <tcpm@ietfa.amsl.com>; Wed, 22 Nov 2017 00:07:46 -0800 (PST)
Received: from mx144.netapp.com (mx144.netapp.com [IPv6:2620:10a:4005:8000:2306::d]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 947571279EB for <tcpm@ietf.org>; Wed, 22 Nov 2017 00:07:46 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.44,436,1505804400"; d="asc'?scan'208";a="228161313"
Received: from hioexcmbx03-prd.hq.netapp.com ([10.122.105.36]) by mx144-out.netapp.com with ESMTP; 22 Nov 2017 00:07:45 -0800
Received: from VMWEXCCAS01-PRD.hq.netapp.com (10.122.105.11) by hioexcmbx03-prd.hq.netapp.com (10.122.105.36) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 22 Nov 2017 00:07:45 -0800
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS01-PRD.hq.netapp.com (10.122.105.11) with Microsoft SMTP Server (TLS) id 15.0.1320.4 via Frontend Transport; Wed, 22 Nov 2017 00:07:45 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RxJ/+94Gpd5ZBUfuWMj32WL4CzWqoLW1nwGVqmzD0+w=; b=UpG+Dr5UDFvr9kCWX5+eKPyxEAt5CtyQoyafySrqW56yLxiznbSvMzqG0isS25QXSfnoBzEZI/WU2P9zi25EBpH9IoRwfoavnPEDsz2TJm6soCDl9Pcu8gk+H0rgxslPkoEtEQVe2A+MdsOT6jBcgKXgxYtfxwLokMVIWedxUtQ=
Received: from BLUPR06MB1764.namprd06.prod.outlook.com (10.162.224.150) by BLUPR06MB1762.namprd06.prod.outlook.com (10.162.224.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.239.5; Wed, 22 Nov 2017 08:07:44 +0000
Received: from BLUPR06MB1764.namprd06.prod.outlook.com ([10.162.224.150]) by BLUPR06MB1764.namprd06.prod.outlook.com ([10.162.224.150]) with mapi id 15.20.0260.004; Wed, 22 Nov 2017 08:07:43 +0000
From: "Eggert, Lars" <lars@netapp.com>
To: Marcelo Bagnulo <marcelo@it.uc3m.es>
CC: "tcpm@ietf.org" <tcpm@ietf.org>
Thread-Topic: [tcpm] Comments on draft-bagnulo-tcpm-esn
Thread-Index: AQHTYtyyG2ENxnqm7k+WHuddaTAjZaMfDYQAgAD+swA=
Date: Wed, 22 Nov 2017 08:07:43 +0000
Message-ID: <72668587-3FC7-4981-9DFF-89BD785045A3@netapp.com>
References: <A3FDF533-CDF4-46E9-9859-7A405D7524D9@netapp.com> <01a5c8a6-cc73-46d5-9150-82f3340894ed@it.uc3m.es>
In-Reply-To: <01a5c8a6-cc73-46d5-9150-82f3340894ed@it.uc3m.es>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3445.4.7)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lars@netapp.com;
x-originating-ip: [217.70.211.15]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BLUPR06MB1762; 6:7gWoS/g6p+OLcAhxRdwFjTpO/8IaneyTxQOl8Uhr48flqt8f8BCxUG6aby7JknON/NlhKLANc3xVSysbGBJaCmm2kQxSQTXno7ZcTS3i6VXF4FakkcFroHwzHh2mm4VbK3W8EXfHIMiisaLrxzeUJQqUg3r1TfjiIK8frwtQlmDDb8VSkygGJ6mCId+DZtF4zxcNX455lX5YcmQ4iCAxD5aBv73Ij2YAoZ+uNg3AQxWsMS68WZobPJm4JVFdlX5Q7tIdkA67iepDkU+6iboKCrfoYgt2RLha/Sxv6bF0uiTENt9bD67NAHiXxe9EGpMcJSIFWfxm5piFOXHDm0wvl7lZM+VKiMzl02KylC6Gy6M=; 5:jrDrhwPt2CZlkvnUVQZzV/2Fmv7JT46Pou5XbVD4e3RUcIFDKIeZGwV197pYXSNjW36uEmog0HsMUyNPr2jQYVGczYEkH0f2pdlZQtWC7ius2U8hrzSlw0HhC3bIbVWScG07XJqmN2R58VY7H3se2jvbg2PzgI5f9uc0pZtnrtM=; 24:+pwv0z6xtFz0IJFarj2ZcyUKt8CdOnyVN3u48vX+COBE0zvDbHqw4xKWboo8Grjljp7TRGyOOwhx948LVpLN/3pHVQEhId5D126fWvhOQgQ=; 7:HFNTEiDHBbWtHKbcHXyHuhfuCtzaL8ZfgfiUjcP6/k4UgmYRbVNJr20WkYBi+07Qu32JbrgFfUAVXnF20cPsPVBGUeXU2KRWWAdIYGKJfrWeO8pXrhx2Bi5Cy/4WNKcXWpjSNBm+wWQMVS0jcMRiCLKz++6YLU4kzx3Uo6l3vefPnkP3g/naUauO1rFlJk2BQxoJic+dLTkUbxqE2pvyvdJ9TKf+RML39Iip+FzGa8QaB13slx51JbyH88UORS39
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 0beebf1d-f29e-4f20-fe27-08d531801c10
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199)(49563074); SRVR:BLUPR06MB1762;
x-ms-traffictypediagnostic: BLUPR06MB1762:
x-microsoft-antispam-prvs: <BLUPR06MB176287770F441635A9B70EF5A7200@BLUPR06MB1762.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(190756311086443);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(102415395)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(3231022)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123564025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR06MB1762; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR06MB1762;
x-forefront-prvs: 0499DAF22A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(189002)(31014005)(199003)(24454002)(377424004)(77096006)(3280700002)(2906002)(4326008)(2950100002)(6916009)(7736002)(99286004)(68736007)(36756003)(2900100001)(189998001)(229853002)(81156014)(50226002)(8676002)(81166006)(83716003)(478600001)(82746002)(86362001)(4001150100001)(105586002)(106356001)(33656002)(66066001)(101416001)(25786009)(230783001)(316002)(53546010)(57306001)(6512007)(6436002)(8936002)(53936002)(305945005)(50986999)(99936001)(76176999)(6506006)(6486002)(3660700001)(14454004)(6116002)(102836003)(3846002)(6246003)(5660300001)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR06MB1762; H:BLUPR06MB1764.namprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: netapp.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/signed; boundary="Apple-Mail=_C83F914C-2929-4580-9435-696DAC44A5ED"; protocol="application/pgp-signature"; micalg="pgp-sha512"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 0beebf1d-f29e-4f20-fe27-08d531801c10
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2017 08:07:43.5962 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR06MB1762
X-OriginatorOrg: netapp.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/X-pavUCSligGqemXKXV1eVMFJuY>
Subject: Re: [tcpm] Comments on draft-bagnulo-tcpm-esn
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Nov 2017 08:07:48 -0000

Hi,

On 2017-11-21, at 17:56, marcelo bagnulo braun <marcelo@it.uc3m.es> wrote:
> El 21/11/17 a las 16:23, Eggert, Lars escribió:
>> after my half-baked idea during the Singapore session (i.e., WS option 15 means "multiply by 64 or other large value), here's another one, even less baked:
> 
> I understand what you are saying here is that the units to which a sequence number is assigned is no longer a byte, but a multiple of n bytes, e.g. 64 bytes.
> 
> I guess a first issue here is what happens if the amount of data that the sender wants to send in a segment is not multiple of 64 bytes (and it is not the last segment in the connection)?
> 
> The problem is which seq number you put to the next segment, since the first byte of data in the next segment was part of the previous segment 64-byte word. Moreover, what happens if you want to send n packets of one single byte?

I said "half-baked" for a reason :-)

I'd observe that if you intent to go 100G on a single flow, you are unlikely to be successful if you are sending packets with less than 64B of data.

There are ugly ways to handle such corner cases, such as padding to 64B with dummy data and adding a new TCP option to remove that data from the byte stream delivered to applications.

>> Make WS option 15 mean "no flow control".
> 
>> If you're doing >100G/s for a single flow, you're very unlikely to still rely on flow control to protect you from being overrun. Your problem is likely the exact opposite, i.e., making sure that there are no local bottlenecks that would prevent you from reaching that level of throughput. Plus, the number of slots in your NIC ring is probably already enforcing some sort of FC on you...

Lars