Re: [Detnet] Magnus Westerlund's Discuss on draft-ietf-detnet-mpls-11: (with DISCUSS)

Lou Berger <lberger@labn.net> Thu, 10 September 2020 14:18 UTC

Return-Path: <lberger@labn.net>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 76B443A0B73 for <detnet@ietfa.amsl.com>; Thu, 10 Sep 2020 07:18:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.848
X-Spam-Level:
X-Spam-Status: No, score=-2.848 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-0.948, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (768-bit key) header.d=labn.net
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 UPYEFzoqdO9K for <detnet@ietfa.amsl.com>; Thu, 10 Sep 2020 07:18:09 -0700 (PDT)
Received: from gproxy6-pub.mail.unifiedlayer.com (gproxy6-pub.mail.unifiedlayer.com [67.222.39.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 946F73A0B90 for <detnet@ietf.org>; Thu, 10 Sep 2020 07:18:09 -0700 (PDT)
Received: from cmgw12.unifiedlayer.com (unknown [10.9.0.12]) by gproxy6.mail.unifiedlayer.com (Postfix) with ESMTP id DCBA11E078A for <detnet@ietf.org>; Thu, 10 Sep 2020 08:18:01 -0600 (MDT)
Received: from box313.bluehost.com ([69.89.31.113]) by cmsmtp with ESMTP id GNOjk3qxyWYdhGNOjkk3Si; Thu, 10 Sep 2020 08:18:01 -0600
X-Authority-Reason: nr=8
X-Authority-Analysis: v=2.3 cv=GuxsBH9C c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=xqWC_Br6kY4A:10:nop_ipv6 a=IkcTkHD0fZMA:10:nop_charset_1 a=reM5J-MqmosA:10:nop_rcvd_month_year a=Vy_oeq2dmq0A:10:endurance_base64_authed_username_1 a=48vgC7mUAAAA:8 a=0FD05c-RAAAA:8 a=pGLkceISAAAA:8 a=jsLqV8V3AAAA:8 a=iwopOP6x9gMlT0RJGa4A:9 a=UA_5J4fO1zi46Fow:21 a=VNV7lAGsMm88Rmq7:21 a=QEXdDO2ut3YA:10:nop_charset_2 a=x_kdap5micAA:10:demote_hacked_domain_1 a=-RoEEKskQ1sA:10:nop_election2020_name_body a=w1C3t2QeGrPiZgrLijVG:22 a=l1rpMCqCXRGZwUSuRcM3:22 a=ugk2N6kDtXxT1k6o-wp-:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=labn.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zeM5rvS0T+jcVcJj+eAGEfzHQPaMPYzplc8dpOILdw8=; b=JyIVtzRjTTBkxrFz8mhj0X5pQb 5n1ZWVTzisNrDqVgpjMyxwkp1nxx5N7olW3ZmTiwIamjJlS0hqGUHm3uPcZKXSzMEgaDZZmKIYCT7 KZd103TUQP64ZA92QNGZrEAnW;
Received: from [127.0.0.1] (port=17673 helo=[IPv6:::1]) by box313.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <lberger@labn.net>) id 1kGNOj-0030vD-B3; Thu, 10 Sep 2020 08:18:01 -0600
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
Cc: Janos Farkas <Janos.Farkas@ericsson.com>, "detnet@ietf.org" <detnet@ietf.org>, "stewart.bryant@gmail.com" <stewart.bryant@gmail.com>, "eagros@dolby.com" <eagros@dolby.com>, "iesg@ietf.org" <iesg@ietf.org>, "draft-ietf-detnet-mpls@ietf.org" <draft-ietf-detnet-mpls@ietf.org>, "detnet-chairs@ietf.org" <detnet-chairs@ietf.org>
References: <159957776121.26189.12459072134609921207@ietfa.amsl.com> <C67179BF-8ABF-48B7-A577-6DDF547AA56F@gmail.com> <b84c5d2d2d86e094cfec8f94ba9554516d0bb61c.camel@ericsson.com> <1382403d89c99db44e8269d016c6b6e02abed40f.camel@ericsson.com> <AM7PR07MB6994EB4D07FB44F046C55FA4F2260@AM7PR07MB6994.eurprd07.prod.outlook.com> <40f46ac3d56cd44906b35feb066ff9a8226bc891.camel@ericsson.com> <AM7PR07MB69948CBB26584E80199DE4DFF2270@AM7PR07MB6994.eurprd07.prod.outlook.com>
From: Lou Berger <lberger@labn.net>
Message-ID: <1ee7ab1b-7fd2-7758-a60a-99dc69727322@labn.net>
Date: Thu, 10 Sep 2020 10:17:57 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <AM7PR07MB69948CBB26584E80199DE4DFF2270@AM7PR07MB6994.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box313.bluehost.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - labn.net
X-BWhitelist: no
X-Source-IP: 127.0.0.1
X-Source-L: Yes
X-Exim-ID: 1kGNOj-0030vD-B3
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: ([IPv6:::1]) [127.0.0.1]:17673
X-Source-Auth: lberger@labn.net
X-Email-Count: 3
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/1b2ZhkYveRvnmY2Kz7K3C2icLS4>
Subject: Re: [Detnet] Magnus Westerlund's Discuss on draft-ietf-detnet-mpls-11: (with DISCUSS)
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Sep 2020 14:18:11 -0000

Magnus,

I agree with Janos here, I think this should be addressed in the traffic 
specification.  This said, I think it completely reasonable to add a 
statement in this document to that effect so this interaction isn't 
missed by the implementer.

How about adding the following to the end of the last paragraph in 
section 4.2.2.3:

    The latency impact on the system resources needed to support a
    specific DetNet flow will need to be evaluated by the controller plane
    based on that flow's traffic specification.  An example traffic 
specification
    that can be used with MPLS with Traffic Engineering (MPLS-TE) can be
    found in [RFC2212].

Does this address your concern?

Lou

On 9/10/2020 9:26 AM, Janos Farkas wrote:
> Hi Magnus,
>
> I think we have the very same goal: make DetNet work; avoid any bugs.
>
> I may be wrong, but as far as I know, multiple methods could be used for buffer dimensioning, e.g.: bytes, number of packets, time; and if a good job is done, then one can be converted to another.
>
> I think we can make DetNet work if the POF buffer size is given in number of packets if we do a good job with the traffic specification.
> The flow information model draft (https://tools.ietf.org/html/draft-ietf-detnet-flow-information-model-10#section-5.5) provides the following:
>
>     TrafficSpecification has the following attributes:
>
>     a.  Interval: the period of time in which the traffic specification
>         is specified.
>
>     b.  MaxPacketsPerInterval: the maximum number of packets that the
>         Ingress will transmit in one Interval.
>
>     c.  MaxPayloadSize: the maximum payload size that the Ingress will
>         transmit.
>
>
> Thus, my interpretation of your point is that the TrafficSpecification is not good enough to make the conversion between time and number of packets.
>
> My preference is to leave number of packets for POF int the MPLS data plane draft and make it sure that the TrafficSpecification provides all the parameters needed for engineering to convert between number of packets and time.
>
> Please let us know if we have overlooked anything with regards to the TrafficSpecification and such conversion is not possible. If there is any issue with the TrafficSpecification, then I think we should fix it.
>
> Regards,
> Janos
>
>
>
> -----Original Message-----
> From: Magnus Westerlund <magnus.westerlund@ericsson.com>
> Sent: Thursday, September 10, 2020 10:19 AM
> To: Janos Farkas <Janos.Farkas@ericsson.com>
> Cc: detnet@ietf.org; stewart.bryant@gmail.com; eagros@dolby.com; iesg@ietf.org; draft-ietf-detnet-mpls@ietf.org; detnet-chairs@ietf.org
> Subject: Re: Magnus Westerlund's Discuss on draft-ietf-detnet-mpls-11: (with DISCUSS)
>
> On Wed, 2020-09-09 at 20:34 +0000, Janos Farkas wrote:
>> Hi Magnus,
>>
>> I think the parameter you are looking for is there in section
>> 4.2.2.3. Packet Ordering Function Processing (
>> https://tools.ietf.org/id/draft-ietf-detnet-mpls-11.html#pof-requireme
>> nts), just encoded a different way; in particular in the number of
>> packets:
>> “Note that an implementation MAY wish to constrain the maximum number
>> of out of order packets that can be processed, on platform-wide or per flow basis.
>> Some implementations MAY support the provisioning of this number on
>> either a platform-wide or per flow basis. The number of out of order
>> packets that can be processed also impacts the latency of a flow.”
>>
>> Ultimately, the latency requirements of flows have to be met. The
>> maximum packet size of a DetNet flow is known, see item c)
>> MaxPayloadSize in
>> https://tools.ietf.org/html/draft-ietf-detnet-flow-information-model-1
>> 0#section-5.5
>>   and max-payload-size in
>> https://tools.ietf.org/html/draft-ietf-detnet-yang-07.
>> So, maximum POF buffer size to be applied for a flow can be
>> determined; can be converted to time and taken into account during
>> latency engineering of a DetNet network; thus bounded latency can be provided.
> So given that the buffer is specified in either bytes or simply packets to be buffered will result in that the POF buffering time becomes packet flow dependent and not bounded in time. So if you make the calculation for a DETNET flow thinking it will send 500 packets per second evenly spaced. Then the a buffer of 5 packets would represent an upper limit 1/100th of second. If then the flow sends only 100 packet per second then suddendly the 5-packet buffering would represent 1/20th of a second. Thus defining it in packets or size doesn't work, the upper buffering time needs to be defined in time to provide a bounded latency.
>
>> I fully agree with you that this needs to be taken into account.
>> Together with what the set of documents that specify DetNet provide, I
>> think it is fine what we have in the MPLS data plane draft. When it
>> comes to configuration - as you pointed out - I think the job we need
>> to do is to pay attention to do it right in the YANG draft, which is still under development.
>  From my perspective I think this document needs to correctly document the requirement to bound in time the POF and having a configuration. The actual detail of the configuration is fine to leave to another document.
>
> Cheers
>
> Magnus Westerlund
>
>
> ----------------------------------------------------------------------
> Networks, Ericsson Research
> ----------------------------------------------------------------------
> Ericsson AB                 | Phone  +46 10 7148287
> Torshamnsgatan 23           | Mobile +46 73 0949079
> SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
>
>