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

"Chengli (IP Technology Research)" <chengli13@huawei.com> Thu, 16 November 2017 04:03 UTC

Return-Path: <chengli13@huawei.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 43F90124BE8; Wed, 15 Nov 2017 20:03:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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
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 bMFmDlmJckY2; Wed, 15 Nov 2017 20:03:20 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 09C0212025C; Wed, 15 Nov 2017 20:03:20 -0800 (PST)
Received: from LHREML712-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 43D8A1BAF471A; Thu, 16 Nov 2017 04:03:17 +0000 (GMT)
Received: from DGGEML401-HUB.china.huawei.com (10.3.17.32) by LHREML712-CAH.china.huawei.com (10.201.108.35) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 16 Nov 2017 04:03:18 +0000
Received: from DGGEML509-MBS.china.huawei.com ([169.254.4.226]) by DGGEML401-HUB.china.huawei.com ([fe80::89ed:853e:30a9:2a79%31]) with mapi id 14.03.0361.001; Thu, 16 Nov 2017 12:03:09 +0800
From: "Chengli (IP Technology Research)" <chengli13@huawei.com>
To: Shraddha Hegde <shraddha@juniper.net>, Robert Raszuk <robert@raszuk.net>, Jeff Tantsura <jefftant.ietf@gmail.com>
CC: draft-hegde-spring-traffic-accounting-for-sr-paths <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>, spring <spring@ietf.org>, Greg Mirsky <gregimirsky@gmail.com>, mpls <mpls@ietf.org>, Xuxiaohu <xuxiaohu@huawei.com>, "Zafar Ali (zali)" <zali@cisco.com>
Thread-Topic: [spring] [mpls] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
Thread-Index: AQHTXoXEWGBrnqfA0UmsNySbd5pLLqMVzf2AgACTiSA=
Date: Thu, 16 Nov 2017 04:03:09 +0000
Message-ID: <C7C2E1C43D652C4E9E49FE7517C236CB0190A89E@dggeml509-mbs.china.huawei.com>
References: <CA+RyBmUHAkuA3o-LpHhMwCbkh0k+emt9OZ3B8Njj2h=jaasTZw@mail.gmail.com> <3B1EE673-044F-4E47-9C56-6FF360905C58@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE3047CEC9@NKGEML515-MBS.china.huawei.com> <CA+b+ERkNqQqCLyPhKLaZuMp0jAyOFW7FTb=0QKsOyRy10auyrA@mail.gmail.com> <E4E0C34F-27A7-43A3-BACE-2EFDB3D8600C@gmail.com> <CA+b+ERmyzCw+VkcVqMmnOPbmf8aE0Sp2kbicomAL7hGtCO8Phg@mail.gmail.com> <BN3PR05MB2706590E51C262075908BFD1D52E0@BN3PR05MB2706.namprd05.prod.outlook.com>
In-Reply-To: <BN3PR05MB2706590E51C262075908BFD1D52E0@BN3PR05MB2706.namprd05.prod.outlook.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.130.185.75]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/6cNIsQv9PqFsIqXaIdHtspE969k>
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: Thu, 16 Nov 2017 04:03:22 -0000

Shraddha,

I agree with your point of counters are needed for per flow fully, if we need to measure per flow in SR. 

For measuring performance, some states are needed, and it is good to not create new forwarding states or control states.  It is the same for both solutions.

But I still think 3 or 4(If the reserved label (0-15) can not be assigned ) labels are too many for label stack since the limit of MSD.

For 2 or 3 labels  solution, the limit will become global segments for identifying path.

Regards
Cheng


-----Original Message-----
From: spring [mailto:spring-bounces@ietf.org] On Behalf Of Shraddha Hegde
Sent: Thursday, November 16, 2017 11:11 AM
To: Robert Raszuk <robert@raszuk.net>; Jeff Tantsura <jefftant.ietf@gmail.com>
Cc: draft-hegde-spring-traffic-accounting-for-sr-paths <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>; spring <spring@ietf.org>; Greg Mirsky <gregimirsky@gmail.com>; mpls <mpls@ietf.org>; Xuxiaohu <xuxiaohu@huawei.com>; Zafar Ali (zali) <zali@cisco.com>
Subject: Re: [spring] [mpls] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths

Robert,

If we have to get the N:1 mapping then we need to count all the N flows on a transit router.
N is really huge number and it is really not practical to count every flow on a transit router.

There have also been comments about creating state in the network.
The proposed solution in the draft does not create per-path forwarding state and does not create any per-path control state in The network. It's only the counters that are getting created per-path which is most essential for OAM.

Rgds
Shraddha

-----Original Message-----
From: rraszuk@gmail.com [mailto:rraszuk@gmail.com] On Behalf Of Robert Raszuk
Sent: Thursday, November 16, 2017 10:51 AM
To: Jeff Tantsura <jefftant.ietf@gmail.com>
Cc: Xuxiaohu <xuxiaohu@huawei.com>; Greg Mirsky <gregimirsky@gmail.com>; spring <spring@ietf.org>; mpls <mpls@ietf.org>; Zafar Ali (zali) <zali@cisco.com>; draft-hegde-spring-traffic-accounting-for-sr-paths <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>
Subject: Re: [spring] [mpls] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths

As explained it is not needed to get all information required per path.

Yes you may have N:1 mapping of flows to path so what is the problem ?

thx
r.

On Nov 16, 2017 10:47, "Jeff Tantsura" <jefftant.ietf@gmail.com> wrote:

> Robert,
>
>
>
> HW counters are rather precious resources, but that’s beside the point.
>
> An architecture is not an immutable object, on contrary, a very import 
> property of a good architecture is flexibility and agility, ability to 
> adapt when business need arises.
>
>
>
> Keeping semantics aside – what’s needed, is a metadata (here encoded 
> as a
> label) that uniquely identifies a path, where FIB lookup would yield 
> an “counter hit”, potentially counter creation if the packet is the 
> first packet in the flow. Value of the label would be hashed in the 
> counter ID that is unique and could be resolved by a management layer 
> into accounting record.
>
>
>
> Cheers,
>
> Jeff
>
>
>
> *From: *spring <spring-bounces@ietf.org> on behalf of Robert Raszuk < 
> robert@raszuk.net>
> *Date: *Thursday, November 16, 2017 at 10:26
> *To: *Xuxiaohu <xuxiaohu@huawei.com>
> *Cc: *Greg Mirsky <gregimirsky@gmail.com>, spring <spring@ietf.org>, 
> mpls <mpls@ietf.org>, "Zafar Ali (zali)" <zali@cisco.com>, 
> draft-hegde-spring-traffic-accounting-for-sr-paths < 
> draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>
> *Subject: *Re: [spring] [mpls] Special purpose labels in 
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
>
> The architecture is fine. This is accounting state not forwarding state.
>
>
>
> But no new labels are needed.
>
>
>
> See on ingress you apply sr label stack based on some match of the 
> fields of actual packet. So all you need is to do accounting on the 
> very same fields of the packets on egress and you have path accounting 
> required for you.
>
>
>
> Besides this method also seamlessly works over non sr capable SFs as 
> long as such SFs do not mess with the packet content of those tuples.
>
>
>
> cheers,
>
> r.
>
>
>
> On Nov 16, 2017 10:05, "Xuxiaohu" <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
> E:xuxiaohu@huawei.com
> 产品与解决方案-网络战略与业务发展部
> Products & Solutions-Network Strategy & Business Development Dept
>
> *发件人:* Zafar Ali (zali)
>
> *收件人:* Greg Mirsky<gregimirsky@gmail.com>;draft-hegde-spring-traffic-
> accounting-for-sr-paths<draft-hegde-spring-traffic-
> accounting-for-sr-paths@ietf.org>;mpls<mpls@ietf.org>;spring<
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_ht
> ml_&d=DwIFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=NyjLsr7JA
> 7mvpCJa0YmPdVKcmMXJ31bpbBaNqzCNrng&m=D8UZYa9EWpns6URXJvtBqZ5gX2lDpl7l5
> ZTaXTlEJGw&s=xB3z335gatRnndYZzanLmzNqezYOznxweYSwcOKuMMo&e=
> 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> on behalf of Greg Mirsky < 
> gregimirsky@gmail.com>
> *Date: *Wednesday, November 15, 2017 at 11:10 AM
> *To: *"draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org" < 
> draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>, "
> mpls@ietf.org" <mpls@ietf.org>, "spring@ietf.org" <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
_______________________________________________
spring mailing list
spring@ietf.org
https://www.ietf.org/mailman/listinfo/spring