Re: [mpls] [Detnet] DetNet: draft-eckert-detnet-mpls-tc-tcqf-03 request for feedback

Toerless Eckert <tte@cs.fau.de> Wed, 03 August 2022 02:41 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
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 D3470C14F613; Tue, 2 Aug 2022 19:41:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.658
X-Spam-Level:
X-Spam-Status: No, score=-1.658 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m_HsKDGGMdly; Tue, 2 Aug 2022 19:41:01 -0700 (PDT)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0853C131954; Tue, 2 Aug 2022 19:41:00 -0700 (PDT)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [131.188.34.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTPS id 76AC9549C45; Wed, 3 Aug 2022 04:40:53 +0200 (CEST)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id 603C44EB641; Wed, 3 Aug 2022 04:40:53 +0200 (CEST)
Date: Wed, 03 Aug 2022 04:40:53 +0200
From: Toerless Eckert <tte@cs.fau.de>
To: "duzongpeng@foxmail.com" <duzongpeng@foxmail.com>
Cc: DetNet WG <detnet@ietf.org>, mpls@ietf.org, draft-eckert-detnet-mpls-tc-tcqf <draft-eckert-detnet-mpls-tc-tcqf@ietf.org>
Message-ID: <YungNZeBK+j1efhn@faui48e.informatik.uni-erlangen.de>
References: <Ysx36SvLGm3b8fI8@faui48e.informatik.uni-erlangen.de> <tencent_0C966FBA8D4D0D228AAE7C062AC987833D05@qq.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <tencent_0C966FBA8D4D0D228AAE7C062AC987833D05@qq.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/-KJcbQiueEtbMTGK8sdUhMRvarw>
Subject: Re: [mpls] [Detnet] DetNet: draft-eckert-detnet-mpls-tc-tcqf-03 request for feedback
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.39
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: Wed, 03 Aug 2022 02:41:05 -0000

Thanks for the interest Zongpeng,

Given how the TC-TCQF solution is now within scope of DetNet charter, i think this
is also a good time to also get more input/review from the MPLS WG, hence Cc'ing it
(the chair where already suggesting to engage with th MPLS WG on this in the past).

For background: The draft currently covers what i think is the most easy deployable option to
enable tagged-cyclic-queuing-and-forwarding (TCQF) with the MPLS forwarding plane -
without changes on the wire, by reusing the existing MPLS header field TC.

If we choose to adopt this work in DetNet it would be good work to document not
only this most simple TC encoding, but also any other encoding that do not require
on-the-wire-changes, but that may be necessary when this most simple method is
considered to be not sufficient for some MPLS networks.

TCQF encoding that would encode the cycle in a new heder field (change on the wire)
should IMHO be work reserved for another draft. Primarily because i think we can
much faster finish specifying and deploying the mechanism with the options that do
not require changes on the wire - and collect experience with it (this is true for
MPLS as well as IP/IPv6, where we can use DSCP).

The draft therefore proposed allocation of MPLS TC values for use with TC-TCQF is
described in section 3.3 of the draft TC-TCQF draft. We would need 3 or 4 TC values.

Here is a bit more detail:

RFC3270 defines how to use the TC field
(actually, it calls it EXP, the field was later renamed to TC in RFC5462)

What our TCQF draft proposes is to propose to use the so-called 
"TC- Inferred-PSC LSP (E-LSP) behavior". This is described in section 1.2 of
RFC3270.

This is IMHO the most widely deployed method for using DiffServ with MPLS
and also the most simple to deploy, because it can get away without additional
control plane / labels. What this effectively means is that the network operator
configures in a DiffServ style 

When a deployment has already used more than 4/5 TC and therefore
does not have 3 or 4 TC free, then (i think!) the operator could allocate additional
labels space where the TC values are free. Depending on how MPLS experts read
RFC3270, this might require resorting to calling those LSPs SIDs and call that
encoding then an SR-MPLS mechanism.

We could also look into allocating 3 or 4 additional L-LSP, but that looks like
the most complicated option to me.

IMHO, a first RFC does not have to be complete with all possible encoding
options. I'd rather see an RFC finished that can be deployed, and when that
raises interest in the industry, but the vendors recognize some customers who
already used up all TC, then this would be good justification to do a -bis of
the RFC with the more complicated encodings.

Wrt. ECN: For TCQF, we do not need ECN: There CANNOT be any TCQF/DetNet traffic
with bounded latency that would need ECN markings. That would simply be a failure
of the bounded latency service. The non-TCQF TC values may indicate ECN
for non-TCQF traffic, but to the best of my knowledge ECN with TC is practically
not deployed.

Hope this help, please comment!

Cheers
    Toerless

On Tue, Aug 02, 2022 at 09:14:24AM +0800, duzongpeng@foxmail.com wrote:
> Hi, Toerless   
> 
>     I am Zongpeng Du from China Mobile.
> 
>     We are interested in the draft. However, we have a question about the method to convey the tag in the TOS of an MPLS label.
> 
>     MPLS label: 32bits
>     
>     00-19     20-21                                                 23                                    24-31
>     label       TC: Traffic Class(QoS and ECN)        S: Bottom-of-Stack          TTL: Time-to-live
> 
> As shown in the Figure, the three bits for TC have been defined as the format of "QoS and ECN". 
>     IMO, unless the IETF agrees to disuse it, we can not use the bits that have been used.
>     Do I have any misunderstanding here?
> 
>    Or, the label is special defined, such as an S-Label, so that we can define new use of the TC field ? 
> 
> Best Regards
> Zongpeng Du
> 
> 
> 
> duzongpeng@foxmail.com & duzongpeng@chinamobile.com
>  
> From: Toerless Eckert
> Date: 2022-07-12 03:20
> To: detnet
> CC: draft-eckert-detnet-mpls-tc-tcqf
> Subject: [Detnet] DetNet: draft-eckert-detnet-mpls-tc-tcqf-03 request for feedback
> Dear DetNet WG
>  
> I just posted rev 3 of https://datatracker.ietf.org/doc/draft-eckert-detnet-mpls-tc-tcqf/
>  
> Diff over previous version 2:
>   http://www.ietf.org//rfcdiff?url1=https://www.ietf.org/archive/id/draft-eckert-detnet-mpls-tc-tcqf-02.txt&url2=https://www.ietf.org/archive/id/draft-eckert-detnet-mpls-tc-tcqf-03.txt
>  
> This version adds new text about the per-flow ingres enqueueing into the
> cycles, informational text about high-speed HW implementation considerations
> and a pointer to a research paper also describing such HW validation.
>  
> I think this makes the proposed work complete, and as authors, we would
> like to ask the WG for adoption - and the participants for feedback.
>  
>   Btw: The authors are also happy to discuss any restructuring, for example
>   Eshan told me it might be better to separaate the genreic mechanism from
>   the MPLS encoding (separate drafts). 
>  
> Quick summary, if you have not kept track:
>  
>   TCQF stands for Tagged Cyclic Queuing and Forwarding, and is a proposal
>   how to adopt the IEEE TSN "Cyclic Queuing and Forwarding" Queuing for
>   'native' use in DetNet, specifically with MPLS forwarding plane.
>  
>   CQF is a great queuing mechanism for DetNet because it does not only offer
>   bounded latency, but also tight-bounded jitter, important for all
>   industrial "synchronous" applications. It also is most easily scalable
>   in HW and operations for metropolitan or larger size WAN DetNet deployments
>   because it does not have per-hop state on every router.
>  
>   By tagging packets with the cycle number, TCQF overcomes also the issues
>   that keeps CQF limited to small-scale (few Km) Ethernet: it can support
>   large link delays and link-delay variation, and it reduces relatively
>   the required clock accuracy, therefore making it feasible to use this
>   on 100, 400 Gbs or faster networks.
>  
>   There is an expired problem description draft i wrote some time ago,
>   if you need more background: https://datatracker.ietf.org/doc/draft-eckert-detnet-bounded-latency-problems/
>  
> Cheers
>     Toerless
>  
> _______________________________________________
> detnet mailing list
> detnet@ietf.org
> https://www.ietf.org/mailman/listinfo/detnet

-- 
---
tte@cs.fau.de