[Detnet-dp-dt] Flow-ID vs. scalability (further thoughts to dinner discussion)
Balázs Varga A <balazs.a.varga@ericsson.com> Wed, 29 March 2017 15:43 UTC
Return-Path: <balazs.a.varga@ericsson.com>
X-Original-To: detnet-dp-dt@ietfa.amsl.com
Delivered-To: detnet-dp-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 4DC83129810
for <detnet-dp-dt@ietfa.amsl.com>; Wed, 29 Mar 2017 08:43:03 -0700 (PDT)
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 Ft6sdmxGxk02 for <detnet-dp-dt@ietfa.amsl.com>;
Wed, 29 Mar 2017 08:43:00 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58])
(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 6D1621297F7
for <Detnet-dp-dt@ietf.org>; Wed, 29 Mar 2017 08:42:57 -0700 (PDT)
X-AuditID: c1b4fb3a-4d72198000003958-e4-58dbd5ff45cd
Received: from ESESSHC024.ericsson.se (Unknown_Domain [153.88.183.90])
by (Symantec Mail Security) with SMTP id 93.24.14680.FF5DBD85;
Wed, 29 Mar 2017 17:42:55 +0200 (CEST)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (153.88.183.145)
by oa.msg.ericsson.com (153.88.183.90) with Microsoft SMTP Server
(TLS) id 14.3.339.0; Wed, 29 Mar 2017 17:42:53 +0200
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=FxWm5QNZzD6hV938Vvt2i++su/9+n7ZV07UD/K4H68o=;
b=K6WOzsbAy5pa7vHHdQVujups+h5YUAY5tPQ79rCl4HKOa8KW808YXInigcdcW0SCjVJGbVoluenfYVvhoJlznQHKFMMe1L+pxZXcRkg18cFuRRXv7dvwuhd3L6kzNjv9doNFFuKZbvxmM4TpS73dn/ZMvbegCRYplHCdU9X/Los=
Received: from DBXPR07MB128.eurprd07.prod.outlook.com (10.242.138.156) by
DBXPR07MB127.eurprd07.prod.outlook.com (10.242.138.154) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id
15.1.1005.2; Wed, 29 Mar 2017 15:42:50 +0000
Received: from DBXPR07MB128.eurprd07.prod.outlook.com ([169.254.3.185]) by
DBXPR07MB128.eurprd07.prod.outlook.com ([169.254.3.185]) with mapi id
15.01.1005.009; Wed, 29 Mar 2017 15:42:51 +0000
From: =?iso-8859-1?Q?Bal=E1zs_Varga_A?= <balazs.a.varga@ericsson.com>
To: "Detnet-dp-dt@ietf.org" <Detnet-dp-dt@ietf.org>
Thread-Topic: Flow-ID vs. scalability (further thoughts to dinner discussion)
Thread-Index: AdKomjSmev7Y+pu8REyrAKVH6mm/0g==
Importance: high
X-Priority: 1
Date: Wed, 29 Mar 2017 15:42:50 +0000
Message-ID: <DBXPR07MB1282766A1A436978E6D8FFFAC350@DBXPR07MB128.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed)
header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [31.133.146.91]
x-microsoft-exchange-diagnostics: 1; DBXPR07MB127;
7:klVDBP/Fop/ikvFBxLvfw8G1BIWDtE7KJoxOZuap+zkJvIE6nh+X4Dz7s9izs+Cdmyzg5dzRY2dDGVW8AM49h9Gz+0HyhxG2CT0DQC8fa19xP9FDag05yoevvkAn6FOm0Eflw01w6IswIY00vq2FnIiLBo4ZHOMunzup/oiZYEP/dyU9zsln6LXwFWgQJLATzZbM/vdhPYaP8iYaTdG5sdsVG1vuEV2wmKOK1JEgi2IZZHtDPYFZ+WiLy2O9f3i1CYEuJA+VCjupCTjI+dsb1QnvtxMX/0v8Ri0G7G71a3K8k7fWvQZiu8+kv4hfuQMl2SfCddxv3K8o02gLNh2VBA==
x-ms-office365-filtering-correlation-id: 5ff7840e-013c-4df1-216b-08d476ba4237
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075);
SRVR:DBXPR07MB127;
x-microsoft-antispam-prvs: <DBXPR07MB1272F31168ABAF76ABF46C7AC350@DBXPR07MB127.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406075)(20161123558025)(20161123564025)(20161123562025)(20161123555025)(6072148);
SRVR:DBXPR07MB127; BCL:0; PCL:0; RULEID:; SRVR:DBXPR07MB127;
x-forefront-prvs: 0261CCEEDF
x-forefront-antispam-report: SFV:NSPM;
SFS:(10009020)(6009001)(39840400002)(39450400003)(39410400002)(39850400002)(39860400002)(39400400002)(53754006)(50986999)(6116002)(102836003)(8676002)(790700001)(3846002)(110136004)(2351001)(19609705001)(38730400002)(81166006)(25786009)(81686999)(8936002)(106356001)(9326002)(66066001)(74316002)(5660300001)(7736002)(122556002)(86362001)(54356999)(3280700002)(2501003)(7696004)(33656002)(189998001)(5630700001)(6306002)(9686003)(5640700003)(55016002)(54896002)(99286003)(2906002)(6506006)(6916009)(6436002)(53936002)(3660700001)(2900100001);
DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR07MB127;
H:DBXPR07MB128.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm;
PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
boundary="_000_DBXPR07MB1282766A1A436978E6D8FFFAC350DBXPR07MB128eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2017 15:42:50.8176 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR07MB127
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTcRTvv3vvvBMHf+frMP1gEyk056OQkAyDCisFqQ9NP1QjLzqcD+5d
on1IEczluzLdrj2UJFK3VeJr5RSHr/UhDVLKZ5ZgIYaYKJaP3K6B337n9zicczg0IWuk5LQm
S8ewWWqtQuxOGlVdKWG741OqiIHJoJMt1WZxHIpvatoUJaEU91OpjFaTy7Dhp2+4p//ie6mc
iWKUZ+jppgqRkS1FNA34BDzf0JYid1qGXyGYWzVRpUiyV4wgMLQfdQokriBgdncICa5aESw3
mEVCMYBgqsJKOiNifA5+6+fFTuyNj8N28QRyYi8cDy+nHUjgE6F9a8xNwEoom6kUObEEY/hT
wrv6AJZCzROHy0PiYNg02Fy8FKfAiGXNxSPsCxvvTa4sgf1gcuGZSMhiaOoZJQTsAz+/71DO
QREuQ7DydGLfdBi2h4YJpwC4jIDR5fn9RCKYvuyQglCJoHa9RCRcSQPj9bGCJwb094cpwTMt
ArNxxE0QAqCq6MF+VwcF3dZZsbC/HGY+3du/RQD8mLZRwtzZMD+4TlWjI/yBNfgDEu9a2xMc
xgVS4JXw+VGNWMCh8KJxiRBwGBh27ORBvgG5tSAfjuG4zLSoKCXDam5yXHaWMovRtaG9x+lv
/xvTjfoXz9gRppHCQ/rVNqWSUepcLj/TjoAmFN5SR/MeJU1V599m2Ozr7C0tw9mRP00q/KRx
vWMqGU5T65gMhslh2P+qiJbIC1GTta5qJuHblb6CBK8LkaZgGOmLaEi9JimQBZYWb1kiW9mQ
1qR6W7lFlegxd/lNXnJHM8odv3Torr/n1WOLK+a3RW1rHYFLvt13dOf5d/zr1YuGiGT7hr68
Myj640PeUh8W3vvBIh/MeJxj7eTrjNGxlRnr+rPKtNAu/wVSM6MguXR1ZAjBcup/DU4dhjQD
AAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/9gsCHRZ2bZg9o9ZvycN6gYaOZFk>
Subject: [Detnet-dp-dt] Flow-ID vs. scalability (further thoughts to dinner
discussion)
X-BeenThere: detnet-dp-dt@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DetNet WG Data Plane Design Team <detnet-dp-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet-dp-dt>,
<mailto:detnet-dp-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet-dp-dt/>
List-Post: <mailto:detnet-dp-dt@ietf.org>
List-Help: <mailto:detnet-dp-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet-dp-dt>,
<mailto:detnet-dp-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Mar 2017 15:43:03 -0000
Hi All,
I have some thoughts below regarding the Flow-ID discussion at yesterday dinner.
Could we gain that we are at the same location and have a side meeting
today (afternoon or evening) or tomorrow (afternoon)?
Cheers
Bala'zs
My interpretation on the Flow-ID and its scalability. Please comment.
Let's list the end-systems together with their used encapsulation.
Starting with how it works with a TSN host and a TSN domain:
- TSN (L2) host: host is not IP aware, flow is directly encapsulated in Ethernet.
A StreamID is used constructed by "src-MAC + UniqueID" as per IEEE:
"The StreamID includes the following subcomponents:
- A 48-bit MAC Address associated with the Talker sourcing the
stream to the bridged network.
- A 16-bit unsigned integer value, Unique ID, used to distinguish
among multiple streams sourced by the same Talker."
The UniqeID is not traveling with the Ethernet frame, but the multicast dst-MAC
can be used to find out the UniqueID. So the uniqueness of StreamID achieved,
it includes the source identification and scales well.
We can do something similarly for IP hosts and a DetNet domain:
- DetNet aware IP host: flow is encapsulated in "PW over IP". Seq.num and
Flow-ID added by the host. So if we would like to have an analogy with TSN, the
flow can be unambiguously identified by the "src-IP + Flow-ID". That would scale
and is similar to TSN.
However the difference is that in case of TSN we have just a single forwarding
paradigm: Ethernet bridging. The src-MAC and dst-MAC are visible for all
intermediate bridges, so the flow can be identified without any difficulties.
In the "dp-sol-draft" we have defined the Flow-ID somewhat different to avoid
DPI (i.e., checking src/dst MAC/IP addresses) during transport to recognize the flows.
The Flow-ID is placed in the PW encapsulation header, so easy to find it and use it
whatever DetNet domain (IP or MPLS) you are crossing.
In case of DetNet we have two forwarding paradigm: (i) IP routing and (ii) MPLS
switching. Therefore checking the "src-IP + Flow-ID" is somewhat more complicated
for intermediate nodes. For example, in case of MPLS the "src-IP" is in the
encapsulation payload, so we need DPI.
Furthermore if we interconnect TSN End-systems over DetNet there is no "src-IP".
So we have solved the difficulties with "src-IP" by defining the "Flow-ID" as to be
unique with all the concerns regarding scalability.
So what could be a better approach if we intend to solve scalability. We need two IDs.
(1) one identifying the source of the flow and (2) an other one to distinguish multiple
flows sent by the same source. For the second one we already have the Flow-ID.
What could be selected for the first one?
- src-MAC: not visible in many cases (e.g., source behind a routed domain, etc.)
- src-IP: may not present (e.g., in case of TSN host)
- PW-label: it is always present.
- new field: to be defined in the encapsulation
Making the PW-label source specific and constant during transport sounds similar as
segment routing, however here we have to allocate label space for hosts and not
per network nodes. So it may hurt scalability again.
What about the new field? And we do not have to define a pretty new one just
extend and add structure to the already defined "DetNet flow identity word".
- 16 bit Flow-ID: distinguish flows per source (same size as for TSN ! )
- 46 bit Src-ID: distinguish the source
- 1 bit: direction bit
- 1 bit: reserved
So we are adding 64 bit instead of 32 in order to ensure scalability ...
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|r|D| 46 bit src identity |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| src identity cont. | 16 bit flow identity |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
In the src-ID you can map a unique ID for sources. Some possible examples:
- L2 host: src-MAC without BC-bit and Local-administration-bit (48-2=46 bits)
- L3 (IPv4) host: src-IP address + zeros to fill up the field
- L3 (IPv6) host: IPv6 host have 128 bit src-IP, so we may need a preconfigured
ID for the IPv6 host used for DetNet purposes.
Thanks if You have read so far ...
Note: For the scenario with DetNet unaware IP host(s): host sends flow needing
DetNet treatment. First DA-T-PE has to create the PW encapsulation (adding
seq.num and Flow-ID). It is a task of the DA-T-PE to create the field values as
specified above.
- [Detnet-dp-dt] Flow-ID vs. scalability (further t… Balázs Varga A
- Re: [Detnet-dp-dt] Flow-ID vs. scalability (furth… Lou Berger
- Re: [Detnet-dp-dt] Flow-ID vs. scalability (furth… Jouni Korhonen
- Re: [Detnet-dp-dt] Flow-ID vs. scalability (furth… Jiangyuanlong
- Re: [Detnet-dp-dt] Flow-ID vs. scalability (furth… Jouni Korhonen
- Re: [Detnet-dp-dt] Flow-ID vs. scalability (furth… Balázs Varga A
- Re: [Detnet-dp-dt] Flow-ID vs. scalability (furth… Lou Berger
- Re: [Detnet-dp-dt] Flow-ID vs. scalability (furth… Lou Berger
- Re: [Detnet-dp-dt] Flow-ID vs. scalability (furth… Carlos Jesús Bernardos Cano