Re: [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 16:36 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 5BF22129444 for <detnet-dp-dt@ietfa.amsl.com>; Wed, 29 Mar 2017 09:36:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.219
X-Spam-Level:
X-Spam-Status: No, score=-4.219 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, URIBL_BLOCKED=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 pO9Ht-duEN8d for <detnet-dp-dt@ietfa.amsl.com>; Wed, 29 Mar 2017 09:36:55 -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 6D1D912948F for <Detnet-dp-dt@ietf.org>; Wed, 29 Mar 2017 09:36:54 -0700 (PDT)
X-AuditID: c1b4fb3a-4d72198000003958-92-58dbe2a4d1c8
Received: from ESESSHC023.ericsson.se (Unknown_Domain [153.88.183.87]) by (Symantec Mail Security) with SMTP id ED.5C.14680.4A2EBD85; Wed, 29 Mar 2017 18:36:52 +0200 (CEST)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.87) with Microsoft SMTP Server (TLS) id 14.3.339.0; Wed, 29 Mar 2017 18:36:20 +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=Hs0HYeyQASYl8aA4xMS40Lc0Qub5WE99EoQ1wGfaEZs=; b=gU+4JfK4qwvHLlFmTHmBXdCxFyZNVb6TCuxP+JCeF249OChXjbRmpoziJQf+p/mCm72lf5JiKl2lAM6Nb+c8iAtg1LoTcAGU/Yp41UuOVoOnnOjFSQ0NhlmIgOA3uDWE5+YgIbKCgAfTnV8xhp6wjN6f1yrjpMDA4lYc5VAmrew=
Received: from DBXPR07MB128.eurprd07.prod.outlook.com (10.242.138.156) by DBXPR07MB125.eurprd07.prod.outlook.com (10.242.138.151) 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 16:36:19 +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 16:36:19 +0000
From: =?utf-8?B?QmFsw6F6cyBWYXJnYSBB?= <balazs.a.varga@ericsson.com>
To: Lou Berger <lberger@labn.net>, "Detnet-dp-dt@ietf.org" <Detnet-dp-dt@ietf.org>
Thread-Topic: [Detnet-dp-dt] Flow-ID vs. scalability (further thoughts to dinner discussion)
Thread-Index: AdKomjSmev7Y+pu8REyrAKVH6mm/0gADhAuAAACRgoA=
Date: Wed, 29 Mar 2017 16:36:19 +0000
Message-ID: <DBXPR07MB128CD4BFB7D625B9E781BBDAC350@DBXPR07MB128.eurprd07.prod.outlook.com>
References: <DBXPR07MB1282766A1A436978E6D8FFFAC350@DBXPR07MB128.eurprd07.prod.outlook.com> <15b1add9160.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
In-Reply-To: <15b1add9160.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: labn.net; dkim=none (message not signed) header.d=none;labn.net; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [31.133.146.91]
x-microsoft-exchange-diagnostics: 1; DBXPR07MB125; 7:CG/dAqxfby9CkbTXx8zGQt8tQwtzP7gyMBR+byUBOgJnuQ84ndteppoBpyqTYOeoFebr70jYLQj4turCUwiJlKlxSXSpVvIrI/gacdpuVZo8Xk0fsMUBjLvcbxB7yBX2rBzomChrgsQkPNH484Aq2iSPB0IhNBMj4qI31MGEkvnCOV7GchFdt5EdrauRw6goRzjDsgYbKp07sFDC0vtqH2ePOl/iWpQCj1LDBVgNtyZrm/s+DhZsvonHKQYYCydAInbif7JoP611qW3GFoqpnfElz6UPpNhCoKFUmFfJG9+DTSaWDTJj9JRHwce8QawfAT7Qy9trK4nWr9PUAbLAMA==
x-ms-office365-filtering-correlation-id: 67e78367-2dc7-4632-823b-08d476c1ba59
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:DBXPR07MB125;
x-microsoft-antispam-prvs: <DBXPR07MB125346F2671D6AEE4079DBCAC350@DBXPR07MB125.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406075)(20161123564025)(20161123558025)(20161123555025)(20161123562025)(20161123560025)(6072148); SRVR:DBXPR07MB125; BCL:0; PCL:0; RULEID:; SRVR:DBXPR07MB125;
x-forefront-prvs: 0261CCEEDF
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39840400002)(39860400002)(39410400002)(39400400002)(39850400002)(39450400003)(24454002)(377454003)(53754006)(189998001)(8936002)(66066001)(74316002)(8676002)(81166006)(122556002)(230783001)(7736002)(2900100001)(86362001)(7906003)(85202003)(5660300001)(2906002)(7696004)(33656002)(790700001)(6116002)(102836003)(3846002)(19609705001)(2501003)(6506006)(25786009)(85182001)(2950100002)(53546009)(229853002)(3660700001)(3280700002)(6436002)(38730400002)(6246003)(53936002)(55016002)(99286003)(54356999)(6306002)(54896002)(76176999)(606005)(9686003)(50986999)(236005); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR07MB125; H:DBXPR07MB128.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DBXPR07MB128CD4BFB7D625B9E781BBDAC350DBXPR07MB128eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2017 16:36:19.1536 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR07MB125
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTcRTH+d17t13Fxa/5Opl/5CrMSM1hIBahaaFGIBS0hMyZNx3ptHuX aRFIYj6WbJVoW4aPBtVQpkPyQRZqZkqiooLkJF/pitSVYZgWud1F/fc53+95cA6HJiUmgR+t VKkZVqXIlArdKb289WywcXZSfnCtKzzCpGsURpQULlFRRJzRuE7E2S2FwkQiyf1IGpOpzGXY 0KMp7hlVd0aInPoVlDc3WkkWoE0bKkM0DTgcelbZMuROS7AZQdN3LckHbxH01lgJR0DhchJq exYQ71QS8G5qU8QHrxHYl7q2atxoIY6FNku1wMFe+Axou9uFjhme+DxU2lW8nAw9jy2I50jo N69QDqbwXmi1PiUcLMZJ0Geacw3TIyguMDiT3HA89BY2Ofsj7AM/BhqcBST2hffzNU4GjMH4 Yojk2Rs+zf0WOBohrEHwVdPnMgLg15s+56KANSSsLn6keOMUmKtmXXwTvs2XuFgJwx3LAp4T 4OHENMEXWwkwmwYRb/iD9tY9V9cJAXSM8At5Yj+YGitFPPuDzdopcNyFxNkwPpivQ4GG/7Yw /HMMzmtsh379PMXLQWDuCOWzA6BCMyPieR8UVT8S/a/XIpEJeXMMx2Wly2QhDKu8yHHZqhAV o7agrQ/qatmIbENdi9HdCNNI6iGe7pyUSwSKXC4/qxsBTUq9xP3PtiRxmiL/OsNmX2CvZjJc N9pJU1JfcdTLYbkEpyvUzGWGyWHYvy5Bu/kVIEuYMqixeTBwXJ0SU7exUHK7vvfS+PM87y8N 0TOiRdu2Y4FrDXE76k7+bPc+UNEWr2tOGCqN9f18Inq5s3oX3KWeREykZeltA7tvpFrO2ZOP 24an9qSqR68ZI/WysRTr/WClrDy2SOIRs364+JDP6dzEbM2VlVeRftqxlge6gg+1UorLUITt J1lO8Qc9sYIUPQMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/0hNgM_4bROTcXAoOlr23_umx-3A>
Subject: Re: [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 16:36:57 -0000

Excellent. I would prefer today 2:00pm. Cheers Bala’zs

From: Lou Berger [mailto:lberger@labn.net]
Sent: Wednesday, March 29, 2017 11:20 AM
To: Balázs Varga A <balazs.a.varga@ericsson.com>om>; Detnet-dp-dt@ietf.org
Subject: Re: [Detnet-dp-dt] Flow-ID vs. scalability (further thoughts to dinner discussion)


Great idea.  I can get a room assigned. How about 2pm today or first thing tomorrow -8 or 9?

Lou

On March 29, 2017 10:43:32 AM Balázs Varga A <balazs.a.varga@ericsson.com<mailto:balazs.a.varga@ericsson.com>> wrote:
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 mailing list
Detnet-dp-dt@ietf.org<mailto:Detnet-dp-dt%40ietf.org>
https://www.ietf.org/mailman/listinfo/detnet-dp-dt