Re: [spring] [mpls] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths

Stewart Bryant <stewart.bryant@gmail.com> Fri, 17 November 2017 08:37 UTC

Return-Path: <stewart.bryant@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0600C1287A0; Fri, 17 Nov 2017 00:37:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.688
X-Spam-Level:
X-Spam-Status: No, score=-2.688 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 f6v0myMliUbA; Fri, 17 Nov 2017 00:37:11 -0800 (PST)
Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C43F126DFF; Fri, 17 Nov 2017 00:37:10 -0800 (PST)
Received: by mail-wm0-x229.google.com with SMTP id z3so4797235wme.5; Fri, 17 Nov 2017 00:37:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=+g4Xu7Av2CF8ST3rfXwSbl68KL5lNDwgwxh/d3wzR1k=; b=e0RVWln1yH7y01tHTf+PjHXxIroHBrInvGql5yF6jOUruJGIDGk0l7TQZWTwQ94ewE QE4FSw6yGILT3UU3E6DlWtcq7W7rIAG4KfEvs6NnzjLoK5wb78/B2tfuFtFSD+t2ZqLT zCr3sC+2JTWZ/NTPxjw0wYLWu3OKTjxDVZk3d42175o7X+6roOJv55XgKHSRJeD9AJKH Os4nO2S5uGK9/GiAp5tG8P6aserlR21vwyCo+K5JtdbBE+CGfvsHPKZxM1XqZA2sW04W TSxdzDxxATRH0Q6vvW1DmjqhQNw4uwLZUHtzVooDcXa3q6ZTPlJJjaxJAfgGpTx+/nyn 3m4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=+g4Xu7Av2CF8ST3rfXwSbl68KL5lNDwgwxh/d3wzR1k=; b=WMEXkL0oYYbtmkXTBs4YS16L87SlGSa1WWYnvPSE8TIkevrRmUPIgFiHUnOoZmR5i0 /reUHlnkVnxUIUH15poMlnHbtu/Ta0ahcraNVajG/4R+JySfdWjXqsfwLZXUuLmsT13/ R52+cicoptAj4LwNDzFtBMqtN9IyEGwv1lDTSdGb6WAo/MBCZ6Z1+6xq0mG6GeBQY1mi zfi+zT0mHNrG2qyqFR0szj1gUCWSMOeqGkKsHfByKgpJzO4foWe8cB0ixCeXJ0bfulYs eYSd+eeT3LF+jc7hgvdf0pr3UPzs4Rig/0MkrI0/sItJJVJJ0k5rwwZVKd+O1Yx2xvpk TBCw==
X-Gm-Message-State: AJaThX4Oe/bD4IWC0yRrD8KXOI/wo4GLs2wTqFtg9QPDizuwjxxYOIWg wrfjFiZstfeeVaS77GzUPM8=
X-Google-Smtp-Source: AGs4zMZgEdZpBWqQWS1obJZJkObNhIbalyJ7k1+IWdsdq+gSaRVe7WoEd2T0tTTK/Ku1DiEgcO4rYg==
X-Received: by 10.80.194.217 with SMTP id u25mr6365689edf.260.1510907829035; Fri, 17 Nov 2017 00:37:09 -0800 (PST)
Received: from ?IPv6:2001:67c:1232:144:acb6:b599:d1bf:fff3? ([2001:67c:1232:144:acb6:b599:d1bf:fff3]) by smtp.gmail.com with ESMTPSA id i61sm2247185edc.32.2017.11.17.00.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Nov 2017 00:37:08 -0800 (PST)
To: Mach Chen <mach.chen@huawei.com>, "stephane.litkowski@orange.com" <stephane.litkowski@orange.com>, Robert Raszuk <robert@raszuk.net>, Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
Cc: mpls <mpls@ietf.org>, spring <spring@ietf.org>, Clarence Filsfils <cfilsfil@cisco.com>, draft-hegde-spring-traffic-accounting-for-sr-paths <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>, Michael Gorokhovsky <Michael.Gorokhovsky@ecitele.com>, "draft-ietf-spring-oam-usecase@ietf.org" <draft-ietf-spring-oam-usecase@ietf.org>, "Zafar Ali (zali)" <zali@cisco.com>
References: <CA+RyBmUHAkuA3o-LpHhMwCbkh0k+emt9OZ3B8Njj2h=jaasTZw@mail.gmail.com> <3B1EE673-044F-4E47-9C56-6FF360905C58@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE3047CEC9@NKGEML515-MBS.china.huawei.com> <CA+RyBmVC2OjEs-=1WsL13eBmycZtnYnM8ybSdmWhGPByLKNQfA@mail.gmail.com> <AM4PR03MB171328C37B726DE4AFF862D39D2E0@AM4PR03MB1713.eurprd03.prod.outlook.com> <CA+b+ERkYZpdGS90VBH202yXbDeaEcyHk3UWNW+NUKS-WrkHAOg@mail.gmail.com> <25654_1510829327_5A0D6D0F_25654_230_1_9E32478DFA9976438E7A22F69B08FF921EABF115@OPEXCLILMA4.corporate.adroot.infra.ftgroup> <F73A3CB31E8BE34FA1BBE3C8F0CB2AE2922B1DEF@dggeml510-mbs.china.huawei.com> <d36c2887-3722-b9ab-76fa-aecca77f0018@gmail.com> <F73A3CB31E8BE34FA1BBE3C8F0CB2AE2922B5C80@dggeml510-mbs.china.huawei.com>
From: Stewart Bryant <stewart.bryant@gmail.com>
Message-ID: <1c68b915-6aa0-7e9e-ca3c-e9de276d448b@gmail.com>
Date: Fri, 17 Nov 2017 08:37:01 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE2922B5C80@dggeml510-mbs.china.huawei.com>
Content-Type: multipart/alternative; boundary="------------7147CCBA438E8117EF08C99E"
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/RfgK3ErgYBZ13ji1ItteXKyuMDw>
X-Mailman-Approved-At: Sun, 19 Nov 2017 23:05:22 -0800
Subject: Re: [spring] [mpls] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Stacked Tunnels for Source Routing \(STATUS\)." <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Nov 2017 08:37:16 -0000

Hi Mach

The hotspot avoidance idea woud seem to apply to both SR and reguar LDP 
since you can always manipulate the EL modify the ECMP split. If you had 
SR that would be more direct, but EL change would be applicable to 
legacy networks. Since instrumentation could be via IPFIX prettyy much 
any P-router can support this.

Stewart


On 17/11/2017 03:17, Mach Chen wrote:
>
> Hi Stewart,
>
> Indeed, the same idea can apply to both MPLS-SR and MPLS-LDP. For now, 
> the requirements that I heard are from MPLS-SR.
>
> Best regards,
>
> Mach
>
> *From:*Stewart Bryant [mailto:stewart.bryant@gmail.com]
> *Sent:* Friday, November 17, 2017 10:45 AM
> *To:* Mach Chen; stephane.litkowski@orange.com; Robert Raszuk; 
> Alexander Vainshtein
> *Cc:* mpls; spring; Clarence Filsfils; 
> draft-hegde-spring-traffic-accounting-for-sr-paths; Michael 
> Gorokhovsky; draft-ietf-spring-oam-usecase@ietf.org; Zafar Ali (zali)
> *Subject:* Re: [mpls] [spring] Special purpose labels in 
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
> I would like to ask a fundamental question here.
>
> Do we need transit counters for only MPLS-SR, or do we need it for 
> MPLS-LDP as well?
>
> If we need it for both, then we need to have this discussion in a 
> general MPLS context and not in an MPLS-SR specific context.
>
> At least some of the methods described here would work for both.
>
> Also WRT the proposal to do ingress collection, if nodal paths are 
> used, that only tells us the approximate path, not the hotspot which I 
> understand to be the original goal.
>
> - Stewart
>
> On 16/11/2017 14:46, Mach Chen wrote:
>
>     Hi Stephane,
>
>     If you want to do transit measurement, you have to pay some cost.
>     The difference is how large the cost is, one, two or multiple labels.
>
>     For E2E measurement, it could be much easier. A single label
>     (could be local or global) is inserted immediately follow the last
>     label of the SR path. Since there is only one label, the path
>     label could be put into the stack at the beginning, no matter
>     whether the measurement is enable or not. With this, it will not
>     affect the entropy.
>
>     Best regards,
>
>     Mach
>
>     *From:*mpls [mailto:mpls-bounces@ietf.org] *On Behalf Of
>     *stephane.litkowski@orange.com <mailto:stephane.litkowski@orange.com>
>     *Sent:* Thursday, November 16, 2017 6:49 PM
>     *To:* Robert Raszuk; Alexander Vainshtein
>     *Cc:* mpls; spring; Clarence Filsfils;
>     draft-hegde-spring-traffic-accounting-for-sr-paths; Michael
>     Gorokhovsky; draft-ietf-spring-oam-usecase@ietf.org
>     <mailto:draft-ietf-spring-oam-usecase@ietf.org>; Zafar Ali (zali)
>     *Subject:* Re: [mpls] [spring] Special purpose labels in
>     draft-hegde-spring-traffic-accounting-for-sr-paths
>
>     Hi,
>
>     Yes today we do not have any CLI command on any router to get
>     paths statistics for LDP (I mean Ingress to Egress) as LDP is
>     based on MP2P LSPs, so a transit node does not have the knowledge
>     of the source. From an operational point of  view, what we do
>     today is that we collect netflow statistics on core routers, we
>     project the label stack onto the routing with an external tool to
>     get the Ingress to Egress LDP traffic including the mapping of the
>     flows on the links.
>
>     Now for RSVP, we do have such statistics as the LSP is P2P and has
>     states on every node.
>
>     Robert mentioned correctly that SR-TE (especially with MPLS
>     dataplane) has limited TE features (we cannot mimic all what RSVP
>     does in SRTE without adding too much complexity).
>
>     Thus, is it a problem (transit node stats) worth to be solved ? If
>     yes, where do we accept to put the complexity ? For a stats issue
>     I would rather prefer to move the complexity to an external tool
>     that can do correlations or whatever operations rather than
>     getting it in the forwarding plane…
>
>     IMO, that’s a “nice to have” problem to solve getting that we do
>     not have this for LDP and we know the limitations of SR-TE MPLS.
>
>     However, Ingress stats per SRTE LSP are for sure mandatory to get !
>
>     The main drawback I see with the proposed solution is that it
>     mimics what Entropy label does with a solution which is similar
>     and at the same time cannot replace entropy label as the provided
>     entropy is far from being sufficient (this is not the goal I know,
>     but I was looking for potential use case optimizations). So in a
>     network running entropy label and this mechanism, a router will
>     need to find the ELI/EL and hash, then find another special label
>     to build the stats (maybe tomorrow there will be a third one to
>     look at and a fourth one…). That starts to be a big overhead for
>     the forwarding plane.
>
>     Brgds,
>
>     Stephane
>
>     *From:*mpls [mailto:mpls-bounces@ietf.org] *On Behalf Of *Robert
>     Raszuk
>     *Sent:* Thursday, November 16, 2017 16:23
>     *To:* Alexander Vainshtein
>     *Cc:* spring; Clarence Filsfils; mpls; Michael Gorokhovsky;
>     draft-ietf-spring-oam-usecase@ietf.org
>     <mailto:draft-ietf-spring-oam-usecase@ietf.org>;
>     draft-hegde-spring-traffic-accounting-for-sr-paths; Zafar Ali (zali)
>     *Subject:* Re: [mpls] [spring] Special purpose labels in
>     draft-hegde-spring-traffic-accounting-for-sr-paths
>
>     Folks,
>
>     This thread started and the requirements reported clearly stated
>     that all what we need is the ability to account per path traffic
>     on egress nodes.
>
>     Now out of the sudden I see requirement popping up to be able to
>     measure per path in transit nodes.
>
>     Well you can do it today with SRv6 if your hardware allows or you
>     can do it with RSVP-TE.
>
>     SR-MPLS is replacing LDP and adds ability for limited TE. But
>     SR-MPLS never intended to become connection oriented protocol nor
>     architecture.
>
>     So I recommend we take a step back here. Or if you like first go
>     and fix basic MPLS LDP LSPs to allow per end to end path
>     accounting in transit nodes then come back here to ask for the
>     same in SR-MPLS. Not the other way around.
>
>     Thx
>
>     r.
>
>     On Nov 16, 2017 16:12, "Alexander Vainshtein"
>     <Alexander.Vainshtein@ecitele.com
>     <mailto:Alexander.Vainshtein@ecitele.com>> wrote:
>
>     Greg,
>
>     I concur with your position: let’s first  of all agree that
>     ability to measure traffic carried by an SR-TE LSP in a specific
>     transit node is a require OAM function for SR.
>
>     I have looked up the SR OAM Use Cases
>     <https://datatracker.ietf.org/doc/draft-ietf-spring-oam-usecase/?include_text=1>
>     draft, and I did not find any relevant use cases there.
>
>     The only time measurements are mentioned is a reference to an
>     expired implementation report
>     <https://tools.ietf.org/html/draft-leipnitz-spring-pms-implementation-report-00>
>     draft discussing delay measurements.  Since delay measurements are
>     in any case based on synthetic traffic, and are always end-to-end
>     (one-way or two-way), this reference is not relevant, IMHO, for
>     this discussion.
>
>     I have added the authors of the SR OAM Use Cases draft to tis thread.
>
>     Regards,
>
>     Sasha
>
>     Office: +972-39266302 <tel:+972%203-926-6302>
>
>     Cell: +972-549266302 <tel:+972%2054-926-6302>
>
>     Email: Alexander.Vainshtein@ecitele.com
>     <mailto:Alexander.Vainshtein@ecitele.com>
>
>     *From:*mpls [mailto:mpls-bounces@ietf.org
>     <mailto:mpls-bounces@ietf.org>] *On Behalf Of *Greg Mirsky
>     *Sent:* Thursday, November 16, 2017 4:28 AM
>     *To:* Xuxiaohu <xuxiaohu@huawei.com <mailto:xuxiaohu@huawei.com>>
>     *Cc:* draft-hegde-spring-traffic-accounting-for-sr-paths
>     <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org
>     <mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>>;
>     spring <spring@ietf.org <mailto:spring@ietf.org>>; Zafar Ali
>     (zali) <zali@cisco.com <mailto:zali@cisco.com>>; mpls
>     <mpls@ietf.org <mailto:mpls@ietf.org>>
>     *Subject:* Re: [mpls] [spring] Special purpose labels in
>     draft-hegde-spring-traffic-accounting-for-sr-paths
>
>     Dear All,
>
>     I cannot imagine that operators will agree to deploy network that
>     lacks critical OAM tools to monitor performance and troubleshoot
>     the network. True, some will brave the challenge and be the early
>     adopters but even they will likely request that the OAM toolbox be
>     sufficient to support their operational needs. I see that this
>     work clearly describes the problem and why ability to quantify the
>     flow behavior at internal nodes is important for efficient network
>     operation. First let's discuss whether the case and requirement
>     towards OAM is real and valid. Then we can continue to discussion
>     of what measurement method to use.
>
>     Regards,
>
>     Greg
>
>     On Thu, Nov 16, 2017 at 10:05 AM, Xuxiaohu <xuxiaohu@huawei.com
>     <mailto:xuxiaohu@huawei.com>> wrote:
>
>         Concur. Although it has some values, it's not cost-efficient
>         from my point of view. Network simplicity should be the first
>         priority object. Hence we would have to make some compromise.
>
>         Best regards,
>         Xiaohu
>
>
>         ------------------------------------------------------------------------
>
>         徐小虎Xuxiaohu
>         M:+86-13910161692 <tel:+86-13910161692>
>         E:xuxiaohu@huawei.com <mailto:xuxiaohu@huawei.com>
>         产品与解决方案-网络战略与业务发展部
>         Products & Solutions-Network Strategy & Business Development Dept
>
>         *发件人:***Zafar Ali (zali)
>
>         *收件人:***Greg Mirsky<gregimirsky@gmail.com
>         <mailto:gregimirsky@gmail.com>>;draft-hegde-spring-traffic-accounting-for-sr-paths<draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org
>         <mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>>;mpls<mpls@ietf.org
>         <mailto:mpls@ietf.org>>;spring<spring@ietf.org
>         <mailto:spring@ietf.org>>
>
>         *主**题:***Re: [mpls] [spring] Special purpose labels in
>         draft-hegde-spring-traffic-accounting-for-sr-paths
>
>         *时间:***2017-11-16 02:24:10
>
>         Hi,
>
>         This draft breaks the SR architecture. I am quoting a snippet
>         from abstract of SR Architecture document
>         https://tools.ietf.org/html/draft-ietf-spring-segment-routing-13,
>         which states:
>
>         “SR allows to enforce a flow through any topological path
>         while maintaining per-flow state only at the ingress nodes to
>         the SR domain.”
>
>         In addition to creating states at transit and egress nodes,
>         the procedure also affects the data plane and makes it
>         unscalable. It also makes controller job much harder and error
>         prune. In summary, I find the procedure very complex and
>         unscalable.
>
>         Thanks
>
>         Regards … Zafar
>
>         *From: *spring <spring-bounces@ietf.org
>         <mailto:spring-bounces@ietf.org>> on behalf of Greg Mirsky
>         <gregimirsky@gmail.com <mailto:gregimirsky@gmail.com>>
>         *Date: *Wednesday, November 15, 2017 at 11:10 AM
>         *To:
>         *"draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org
>         <mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>"
>         <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org
>         <mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>>,
>         "mpls@ietf.org <mailto:mpls@ietf.org>" <mpls@ietf.org
>         <mailto:mpls@ietf.org>>, "spring@ietf.org
>         <mailto:spring@ietf.org>" <spring@ietf.org
>         <mailto:spring@ietf.org>>
>         *Subject: *[spring] Special purpose labels in
>         draft-hegde-spring-traffic-accounting-for-sr-paths
>
>         Hi Shraddha,
>
>         thank you for very well written and thought through draft. I
>         have these questions I'd like to discuss:
>
>           * Have you thought of using not one special purpose label
>             for both SR Path Identifier and SR Path Identifier+Source
>             SID cases but request two special purpose labels, one for
>             each case. Then the SR Path Identifier would not have to
>             lose the bit for C flag.
>           * And how you envision to collect the counters along the
>             path? Of course, a Controller may query LSR for all
>             counters or counters for the particular flow (SR Path
>             Identifier+Source SID). But in addition I'd propose to use
>             in-band mechanism, perhaps another special purpose label,
>             to trigger the LSR to send counters of the same flow with
>             the timestamp out-band to the predefined Collector.
>           * And the last, have you considered ability to flush
>             counters per flow. In Scalability Considerations you've
>             stated that counters are maintained as long as collection
>             of statistics is enabled. If that is on the node scope,
>             you may have to turn off/on the collection to flush off
>             some old counters. I think that finer granularity, per
>             flow granularity would be useful for operators. Again,
>             perhaps the flow itself may be used to signal the end of
>             the measurement and trigger release of counters.
>
>         Regards,
>
>         Greg
>
>
>     ___________________________________________________________________________
>
>     This e-mail message is intended for the recipient only and
>     contains information which is
>     CONFIDENTIAL and which may be proprietary to ECI Telecom. If you
>     have received this
>     transmission in error, please inform us by e-mail, phone or fax,
>     and then delete the original
>     and all copies thereof.
>     ___________________________________________________________________________
>
>
>     _______________________________________________
>     mpls mailing list
>     mpls@ietf.org <mailto:mpls@ietf.org>
>     https://www.ietf.org/mailman/listinfo/mpls
>
>     _________________________________________________________________________________________________________________________
>
>     Ce message et ses pieces jointes peuvent contenir des informations
>     confidentielles ou privilegiees et ne doivent donc
>
>     pas etre diffuses, exploites ou copies sans autorisation. Si vous
>     avez recu ce message par erreur, veuillez le signaler
>
>     a l'expediteur et le detruire ainsi que les pieces jointes. Les
>     messages electroniques etant susceptibles d'alteration,
>
>     Orange decline toute responsabilite si ce message a ete altere,
>     deforme ou falsifie. Merci.
>
>     This message and its attachments may contain confidential or
>     privileged information that may be protected by law;
>
>     they should not be distributed, used or copied without authorisation.
>
>     If you have received this email in error, please notify the sender
>     and delete this message and its attachments.
>
>     As emails may be altered, Orange is not liable for messages that
>     have been modified, changed or falsified.
>
>     Thank you.
>
>
>
>
>     _______________________________________________
>
>     mpls mailing list
>
>     mpls@ietf.org <mailto:mpls@ietf.org>
>
>     https://www.ietf.org/mailman/listinfo/mpls
>