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

Jeff Tantsura <jefftant.ietf@gmail.com> Thu, 16 November 2017 04:36 UTC

Return-Path: <jefftant.ietf@gmail.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 000081201F2; Wed, 15 Nov 2017 20:36:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 v-JsmeclFXYb; Wed, 15 Nov 2017 20:36:42 -0800 (PST)
Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com [IPv6:2607:f8b0:400e:c05::22e]) (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 B8618120227; Wed, 15 Nov 2017 20:36:42 -0800 (PST)
Received: by mail-pg0-x22e.google.com with SMTP id u3so4557248pgn.7; Wed, 15 Nov 2017 20:36:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :references:in-reply-to:mime-version; bh=/eWxHLwfpF4ul3Uu22F0b+DMeYiUMYIxrsTQn34YDZs=; b=k4oxV6onR+2BeSt9iFT0tJRTG1I8Rz1v+s9s130NTQ8th0+xWMm53tTbXAczv46uAT 19/rrkv3FroSvLSYXY+7upxF6VU+xxWEhPXHxWxYKllFR194+xtwPokehxoGk1XnOaTR MSH4UpWNJ5wu5jbeSiHCLr3nFarqtFataNgHRSDL5j12iJsfi5/LD1H2Uo4OLesxKtA6 Rwc+gHrpLF1zIBzaVfuqtps1sy5uvpuvuKhEbryJMFnuB+9hV/V0gZBxMPtqgK6B4jKB DcuwgwnlT1TntD5yrHjKwNJshCnhkmaaQ6zVDKpS2oQpuBoOpv690TNYfRLJCrv0PSoi 5UhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:date:subject:from:to:cc:message-id :thread-topic:references:in-reply-to:mime-version; bh=/eWxHLwfpF4ul3Uu22F0b+DMeYiUMYIxrsTQn34YDZs=; b=Kv1COSPIiiaOhF3c0Z4dbeNZZfCVPipLPl42z9WXhfdsNFjsyG87qasksgLgbKenUZ 5hcAiv4YumlbE8Fc9qa+vvCKS/6C4Qv9TEqa/y+cLkL0quKP15j6SHoclvtAhe3JjuvE Z3TPbBkq5H31+DGtnjEs/91gum5VdmihdvbHqc8YLmbI/2stSzbzrRP1aNwSeq+llYkM TRMavYXPrU3nG86STar6r5aMbMZGLOSvVFimKRTy7OBlc2O82PeT6ViKDsdeR8ClCXTe 7655szJz9Tp2edOFZb3Jf6iqt2L7XJbOuBTLyvjc/jVA4XhKjEhL6XALhk6kAcWsmaPK 6IrQ==
X-Gm-Message-State: AJaThX61jrs7hKDSB6Q7MLGNExbOaFk8ImqLIjAz3gOsBuWfmwf3TelQ 3fNouBRQCHQCd+jNRi22678Lug==
X-Google-Smtp-Source: AGs4zMZmQAwbLQ4ct1RqqdIq1nJMChNf2x/ciYbP3C9A8+aDmFExqYMblSALnliqC4WcBRQzVP7APg==
X-Received: by 10.101.67.66 with SMTP id k2mr445171pgq.20.1510807002173; Wed, 15 Nov 2017 20:36:42 -0800 (PST)
Received: from [31.133.130.233] ([2001:67c:370:128:4dc1:8452:dcae:a9b2]) by smtp.gmail.com with ESMTPSA id a87sm417017pfg.159.2017.11.15.20.36.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 20:36:41 -0800 (PST)
User-Agent: Microsoft-MacOutlook/f.27.0.171010
Date: Thu, 16 Nov 2017 12:36:37 +0800
From: Jeff Tantsura <jefftant.ietf@gmail.com>
To: Xuxiaohu <xuxiaohu@huawei.com>, Robert Raszuk <robert@raszuk.net>
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>
Message-ID: <45193AB2-53F3-4C23-93D7-7D3EAF22BB9B@gmail.com>
Thread-Topic: [spring] [mpls] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
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> <7EAFDDD7-2248-4AAD-BBD0-B463AF5CC253@gmail.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE3047D1EE@NKGEML515-MBS.china.huawei.com>
In-Reply-To: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE3047D1EE@NKGEML515-MBS.china.huawei.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3593680601_1614002086"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/QDQ2e_zXY6hwTVISZuipHF1bIEM>
Subject: Re: [mpls] [spring] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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, 16 Nov 2017 04:36:46 -0000

ATM would give us event better visibility ;-)

 

I’m not advocating for a particular solution, nor expressing my liking of anything proposed, just stating that there a business need, especially for those, migrating from RSVP-TE to SR.

There’s big difference between per LSP (not per flow) networking state and accounting in a system…

 

Perhaps obvious – the value of an architecture is not in its abstract beauty (which I fully appreciate) but in its usability and value created.

 

Cheers,

Jeff

From: Xuxiaohu <xuxiaohu@huawei.com>
Date: Thursday, November 16, 2017 at 11:21
To: Jeff Tantsura <jefftant.ietf@gmail.com>, Robert Raszuk <robert@raszuk.net>
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

 


If so, why not directly use RSVP-TE if the per flow state is needed?


徐小虎 Xuxiaohu
M:+86-13910161692 
E:xuxiaohu@huawei.com
产品与解决方案-网络战略与业务发展部
Products & Solutions-Network Strategy & Business Development Dept

发件人: Jeff Tantsura

收件人: Robert Raszuk<robert@raszuk.net>

抄送: 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>

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

时间: 2017-11-16 11:09:13

 

Today, if you run RSVP-TE, you’d get (at least on high end platforms) counters per LSP.

Having the same functionality with SR seems rather logical.

 

Cheers,

Jeff

 

From: <rraszuk@gmail.com> on behalf of Robert Raszuk <robert@raszuk.net>
Date: Thursday, November 16, 2017 at 10:50
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://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> 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. 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


_______________________________________________
mpls mailing list
mpls@ietf.org
https://www.ietf.org/mailman/listinfo/mpls

_______________________________________________ spring mailing list spring@ietf.org https://www.ietf.org/mailman/listinfo/spring