Re: [mpls] review of draft-mirsky-mpls-residence-time

Yaakov Stein <yaakov_s@rad.com> Thu, 28 May 2015 07:32 UTC

Return-Path: <yaakov_s@rad.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A43C21A6F2F for <mpls@ietfa.amsl.com>; Thu, 28 May 2015 00:32:50 -0700 (PDT)
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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001] autolearn=ham
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 LaUTa58nfbp2 for <mpls@ietfa.amsl.com>; Thu, 28 May 2015 00:32:47 -0700 (PDT)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0689.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::689]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D34701A6FF2 for <mpls@ietf.org>; Thu, 28 May 2015 00:32:45 -0700 (PDT)
Received: from DB5PR03MB0999.eurprd03.prod.outlook.com (25.162.154.17) by DB5PR03MB1000.eurprd03.prod.outlook.com (25.162.154.18) with Microsoft SMTP Server (TLS) id 15.1.172.22; Thu, 28 May 2015 07:15:42 +0000
Received: from DB5PR03MB0999.eurprd03.prod.outlook.com ([25.162.154.17]) by DB5PR03MB0999.eurprd03.prod.outlook.com ([25.162.154.17]) with mapi id 15.01.0172.012; Thu, 28 May 2015 07:15:43 +0000
From: Yaakov Stein <yaakov_s@rad.com>
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>, "mpls@ietf.org" <mpls@ietf.org>
Thread-Topic: [mpls] review of draft-mirsky-mpls-residence-time
Thread-Index: AQHQl3oNpYbslVqzzkqNvhquyBxTfJ2Q+SVg
Date: Thu, 28 May 2015 07:15:42 +0000
Message-ID: <DB5PR03MB0999E172F50EC022BD742F93E5CA0@DB5PR03MB0999.eurprd03.prod.outlook.com>
References: <DB3PR03MB07808A9BB6A19F122046D5CB9DCC0@DB3PR03MB0780.eurprd03.prod.outlook.com>
In-Reply-To: <DB3PR03MB07808A9BB6A19F122046D5CB9DCC0@DB3PR03MB0780.eurprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=yaakov_s@rad.com;
x-originating-ip: [80.74.105.107]
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR03MB1000;
x-microsoft-antispam-prvs: <DB5PR03MB1000EC3B7A3565315C7A3E8CE5CA0@DB5PR03MB1000.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:DB5PR03MB1000; BCL:0; PCL:0; RULEID:; SRVR:DB5PR03MB1000;
x-forefront-prvs: 0590BBCCBC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(51694002)(199003)(479174004)(37854004)(189002)(33656002)(19625215002)(66066001)(102836002)(19580395003)(2950100001)(15975445007)(68736005)(64706001)(2900100001)(76576001)(74316001)(230783001)(50986999)(101416001)(19580405001)(87936001)(2501003)(2656002)(19300405004)(5001960100002)(107886002)(189998001)(5001860100001)(5001920100001)(122556002)(81156007)(92566002)(105586002)(4001540100001)(54356999)(97736004)(5001770100001)(5002640100001)(62966003)(106116001)(77156002)(76176999)(106356001)(40100003)(86362001)(46102003)(5001830100001)(16236675004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR03MB1000; H:DB5PR03MB0999.eurprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: rad.com does not designate permitted sender hosts)
Content-Type: multipart/alternative; boundary="_000_DB5PR03MB0999E172F50EC022BD742F93E5CA0DB5PR03MB0999eurp_"
MIME-Version: 1.0
X-OriginatorOrg: rad.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2015 07:15:42.7123 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f9047108-cc2c-4e48-97a3-43fad1b3bf9d
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR03MB1000
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/0oGKTfpZ9ZsQwaPSMj93q4v9u48>
Subject: Re: [mpls] review of draft-mirsky-mpls-residence-time
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 May 2015 07:32:50 -0000

Sasha

I hope that you are feeling better.

1. I am looking at version 6 of this draft, which on page 5 shows the Scratch Pad followed by Type, Length, Value
and explains :
The Type field identifies the type of Value that the TLV carries.
  IANA will be asked to create a sub-registry in Generic Associated
Channel (G-ACh) Parameters Registry called "MPLS RTM TLV
Registry".

2. I agree that a legacy device will not inspect your structure.
I was just questioning its handling of GACh packets, whether or not TTL has expired.

3. As you will remember, what you call modification of the MPLS data plane by the TICTOC draft
was precisely what we were instructed by the MPLS WG reviewers.
Our original inclination was to request a reserved label for timing packets.
The TICTOC draft does not define any new FORWARDING behavior,
it does require standard 1588 field modification.
This is precisely the same layer violation as 1588 TC mandates for all its transport layers,
Ethernet, IDP/IPv4, IDP/IPv6, DeviceNET, ControlNET, PROFINET, …

Y(J)S

From: Alexander Vainshtein [mailto:Alexander.Vainshtein@ecitele.com]
Sent: 26/05/2015 09:06
To: Yaakov Stein; mpls@ietf.org
Subject: Re: [mpls] review of draft-mirsky-mpls-residence-time


Yaakov,

Lots of thanks for a very detailed review.

I defer to other co-authors to describe the relevant use cases in more detail.



I just wanted to comment on two points:

1. The draft does not use GACh TLVs (that have been deprecated BTW).

2. A legacy device that does not have RTM capabilities will never inspect the GAL/GACh construct used in the draft, because such inspection can only happen either at the LSP tail-end node or at an RTM- capable node that traps the RTM packet due to TTL expiration.

This last point is IMHO a major differentiator between this draft and one handled by the TICTOC WG:

- this draft does not change the MPLS DP as defined in RFC 3031 and RFC 3443

- the TICTOC draft (at least to the best of my recollection) assigned special handling to labels used by the LSPs carrying PTP packets that was not defined as a "label action" in RFC 3031 (neither Pop, nor Swap nor Push).



Regards,

Sasha




Thumb typed on my LG,
Sasha

------ Original message ------
From: Yaakov Stein
Date: 26/05/2015 08:11
To: mpls@ietf.org<mailto:mpls@ietf.org>;
Subject:[mpls] review of draft-mirsky-mpls-residence-time
Loa asked me to comment on this draft before its acceptance as a MPLS WG draft.

As far as I understand, the purpose of this draft is to provide a form of what is called “on-path timing support” in the TICTOC WG.
The specific kind of on-path support is accumulation of residence times in LSRs which a time-sensitive flow traverses.
As such it is essentially the same as what is called “transparent clocking” (TC) in IEEE 1588, and the draft indeed re-uses TC technologies.

However this draft attempts to remedy a problem with TC as presently implemented – its layer violation.
This violation occurs since physical layer timing information is used to modify a field of a higher layer protocol.
The present draft remedies this by forcing hop-by-hop behavior by TTL field manipulation,
but at the price of having to transport timing flows in the associated channel,
previously limited to OAM and control/management plane uses.

As such the draft elegantly solves a theoretical problem.

I am less sure that it solves a real-world problem, for the following reasons :

1. First is the fact that there is a simpler alternative for on-path support of 1588 over MPLS that has already passed WG LC in TICTOC.
The existing TICTOC draft was purposely constrained
(following advice of reviewers who are MPLS experts)
to not touch the MPLS forwarding plane, while this draft defines GACh TLVs and sub-TLVs.
The present draft is admittedly much wider in applicability, but no use other than 1588 on-path support is described in the draft.

2. One conceivable use would be for highly accurate one-way delay estimation without synchronized clocks
(and I am not sure when this use is really needed).
Of course the present method only accounts for residence time in LSRs, not for propagation latencies on links (which 1588 can handle as well).
The methodology to overcome this limitation would assumably be to rely on a co-routed round-trip, to us this draft to cancel residence times,
and then to measure the remaining round-trip time and divide by two.
However, existing algorithms do a pretty good job at cancelling residence times
except when the flow traverses a large number of network elements which are heavily loaded with plesiochronously related interfering flows.
Do the authors have another use case in mind ?

3. The primary documented application for 1588 in telecom networks is cellular backhaul.
This application already has a plethora of solutions, based on GPS, 1588 over Ethernet with boundary clocks (BC), distributed grand masters, etc. etc. etc.
Note that BC as widely deployed is already hop-by-hop, and in that way similar to this draft.
Is yet another solution really needed ?

4. Related to the previous questions is the issue of implementation in already existing networks.
This solution requires hardware upgrades at least for the accurate time-stamping and possibly for the accumulation and field modification
(although the latter may software upgrades, especially if 2-step correction is utilized).
If we need to upgrade hardware, why not deploy BCs ?
A few years back I would have said that TC could be implemented in miniaturized devices where BC could not,
but advances in miniaturization of OCXOs have severely reduced this advantage to cases where atomic-clock hold-over is required.

5. If another solution for this specific application is needed, is it needed for MPLS ?
Cellular backhaul over carrier Ethernet is widely deployed, is cellular backhaul over MPLS sufficiently widespread to merit this extension ?

6. MPLS does not define its own physical layer (which Ethernet does – the layer called ETY in the ITU).
As such it is not clear that MPLS is the right place to solve the timing distribution problem.
MPLS necessarily runs over some physical layer which may already have on-path support, or may more economically support it.

All of the authors work for vendors – have these vendors implemented this or do they plan implementing ?
If the answer is a resounding yes, then I assume that we will hear rebuttals to most of the above remarks.

Regarding the content of the draft, I have a major issue with the use of the term “Scratch Pad” for the correction field
(and BTW, it is sometimes called “Scratch Pad” and sometimes “ScratchPad” and sometimes “scratch pad”).
This field is not some opaque meta-data transported by this newly defined header,
it is the very crux of the solution and requires manipulation to work.
Calling it a “scratch pad” (with any of the spellings) is tantamount to calling an MPLS label an “arbitrary bit-field”.
Both terms may be technically correct, but hide the meaning of the field and increase the load on reader in understanding the technology.

As an aside, the aforementioned TICTOC WG draft originally contained extensions to OSPF, RSVP-TE, etc.
It was decided to separate the control extensions from the forwarding plane draft, and to pursue each in the most appropriate WG.
It might be a good idea to do the same here.

One of the facts of life with on-path support of timing distribution is that it is often only partial.
What happens to this solution when there is only partial support?
I can imagine unrecognized GACh packets being booted to CPU in such cases, severely impacting uncompensated residence time.

Y(J)S