Re: [Detnet] Comments on draft-ietf-detnet-bounded-latency-01

"juergen.jues.schmitt@siemens.com" <juergen.jues.schmitt@siemens.com> Wed, 08 January 2020 12:30 UTC

Return-Path: <juergen.jues.schmitt@siemens.com>
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 5C5C31200B5 for <detnet@ietfa.amsl.com>; Wed, 8 Jan 2020 04:30:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.799
X-Spam-Level:
X-Spam-Status: No, score=-1.799 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=siemens.onmicrosoft.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 Ji5OE3iC7_ZK for <detnet@ietfa.amsl.com>; Wed, 8 Jan 2020 04:30:20 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2088.outbound.protection.outlook.com [40.107.20.88]) (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 485AB1200B4 for <detnet@ietf.org>; Wed, 8 Jan 2020 04:30:20 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cO+iGgj97c48UXxiaxynQEnYlZFnI9Cp0LU2WG2ckx7MoVdIdXt+shW9MKsGG3IFbb6nHb/wEEP+NYzRmZQ1ekztgDQoyGq8q/RmmadDjksfCNf0mVXd9VJbX4Lj3mbuOCmdFGc0BZeoMR845fdplI+QaZb4sB7mNPNUxBdjTZwvL+mX8EjmpTXj9dpvYjgtmsZ9QfjDD7vFJhh71EpaAZd0jRwHrkqSP7t7uS9SBxNc9IAIMsRzfktL7nMc/1O9IVZvEmvz85KBSktEWD/vp4GfsSvDwZbIVjcWKrrdPjrzv7CWSLlKvPsGd63MaqJo1f9A0omRrhQsBtSaiDpJBw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lO805awg7/iA71hxF1Kr3KZNrwsg3tT8MMxPW3UBIvA=; b=D8DTYv2lnJXzW0GxK9REmA0ZElloWoToNSvOdRwN6FyMWlLj2x+qRZ3ECjUiVZ4IUUZjG82A8mPShXm66JT8rWG7lxcwvGx+t3iRxwNlvp+uCaf1YBJp2peEAnhcTV+/ztjASaMiiB7CzbS0TJfeNlagoznLGvV2R7MFcukWJnt8IjLMmWM++3I1VFSGSf0en13cJIgJLW73xjrb/FACveECZhc7oKfeUS2EzR9H9fv8KjpAZUXNglArWOxxZq8dXWfxjoAEFRDjoCuS3yzfEw0JMFFGhiCvwzXPec+caeIDghR7jA8oCAY6CBvD6ju2SYaDdjR8DNosDs5+N6o5ig==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.onmicrosoft.com; s=selector1-siemens-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lO805awg7/iA71hxF1Kr3KZNrwsg3tT8MMxPW3UBIvA=; b=Fz7RzJ2QknuXrLWpk+nHQ2Y/fYCh1og6FYSCiR+LTGaXgTeBnoAFZeAmE8A5H2wKi9r+/T28sR1sgxiolyoopNAxxCdSOxE6PakMfRYOR776SdIDXe0yicDYVdzSD4o7KjWIbP9ilj0DcWN+MXTaYRBc23SGirRWB6Jh8kDcXeo=
Received: from DB8PR10MB3466.EURPRD10.PROD.OUTLOOK.COM (10.186.164.12) by DB8PR10MB2731.EURPRD10.PROD.OUTLOOK.COM (20.179.9.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.15; Wed, 8 Jan 2020 12:30:17 +0000
Received: from DB8PR10MB3466.EURPRD10.PROD.OUTLOOK.COM ([fe80::1946:796f:644b:bafc]) by DB8PR10MB3466.EURPRD10.PROD.OUTLOOK.COM ([fe80::1946:796f:644b:bafc%5]) with mapi id 15.20.2623.008; Wed, 8 Jan 2020 12:30:17 +0000
From: "juergen.jues.schmitt@siemens.com" <juergen.jues.schmitt@siemens.com>
To: "ehsan.mohammadpour@epfl.ch" <ehsan.mohammadpour@epfl.ch>
CC: "nfinn@nfinnconsulting.com" <nfinn@nfinnconsulting.com>, "detnet@ietf.org" <detnet@ietf.org>
Thread-Topic: [Detnet] Comments on draft-ietf-detnet-bounded-latency-01
Thread-Index: AdWvZjPzAtYe4KdwSxSIZREi7uAhMgADD6GQAlskgoADT5QusA==
Date: Wed, 08 Jan 2020 12:30:17 +0000
Message-ID: <DB8PR10MB3466BC5741480728A0E536ABCE3E0@DB8PR10MB3466.EURPRD10.PROD.OUTLOOK.COM>
References: <DB8PR10MB3466DB1A47D61DF0D5E29A03CE5B0@DB8PR10MB3466.EURPRD10.PROD.OUTLOOK.COM> <DB8PR10MB34668D2F09D950D9F281CFA6CE5B0@DB8PR10MB3466.EURPRD10.PROD.OUTLOOK.COM> <BF2A651D-EBB7-4CBC-BA75-CE5BEA7A7EB7@epfl.ch>
In-Reply-To: <BF2A651D-EBB7-4CBC-BA75-CE5BEA7A7EB7@epfl.ch>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-document-confidentiality: NotClassified
authentication-results: spf=none (sender IP is ) smtp.mailfrom=juergen.jues.schmitt@siemens.com;
x-originating-ip: [195.145.170.153]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 92acd7ee-4309-4c70-864a-08d794368504
x-ms-traffictypediagnostic: DB8PR10MB2731:
x-microsoft-antispam-prvs: <DB8PR10MB2731DE64387673D26254ACB1CE3E0@DB8PR10MB2731.EURPRD10.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 02760F0D1C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(53754006)(51444003)(189003)(199004)(186003)(81156014)(8676002)(81166006)(52536014)(86362001)(33656002)(2906002)(9686003)(8936002)(54906003)(71200400001)(7696005)(5660300002)(19627235002)(4326008)(6916009)(53546011)(66556008)(966005)(26005)(66946007)(76116006)(64756008)(66446008)(6506007)(66476007)(498600001)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR10MB2731; H:DB8PR10MB3466.EURPRD10.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: siemens.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 7usOlUz59IZ9QJDdUrJ0VZfO+GXjT3LqBJs1KjxXmugtAb5Q20vaNFA8ebt+kXuzMv7JN6GzR2rsFzu0pGP1B2aQ12AxpYg/WNvNz+pTwPlAhZkYUPeL4KTPEl3SctRh84u1nL2W8mlnikqp0N4kV9hoIin/WIR4SHO8PjN2JqMxyPaKIhXSRiff686clAHAU2LIR/aSmMawKL2IK8jeWnkgEDN8jo8VoEEE+cjMpB2YErHffA87yxMTxPEggKc/awlDh9VvR5+R3L+0mY93sxU1wo0vnbUycriciWvMLSrbl+BtqvKBogbzNVIm6iSAdfOoCJ85fzqaGOSQ/3BSdu0Hi6xCDma1tdZx69W7TOB+lBInnSH6c6AcHHrHghG9klpQJ0p6sJU4zPQnl75eQR+79VwCLZHvbNMn4jwfkJLBqRaX5pxQ+OJaoc/zAXf3lfbGqoOwNkIOSCuWN9xImSmtuoNcmlx2ldCtAYtHvilUMYxpJoFEE6RPak9qgN067LEL+SRteihuMlOLAwpy0rGpWjpriWxnjCbSN7liXT9QdLaqrUiNETjLaTx/CvTnoZZvT3am+8lr2a/fLsFlRA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DB8PR10MB3466BC5741480728A0E536ABCE3E0DB8PR10MB3466EURP_"
MIME-Version: 1.0
X-OriginatorOrg: siemens.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 92acd7ee-4309-4c70-864a-08d794368504
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2020 12:30:17.5781 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 2xt4AdPMaexmOBLYigJgNmy29tLA05rH60QA8bdEwPb+xqG9r012mj/VpZY2L7zFmkfzbyxjih78jLd7pCIET33gp4yY6YBq5EZqVcgo/r/3vCCnlMvXuvaV1PeS0tl6
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB2731
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/dVgNVXdF_PHoRBy-YZIj4e5Vvx8>
Subject: Re: [Detnet] Comments on draft-ietf-detnet-bounded-latency-01
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: Wed, 08 Jan 2020 12:30:23 -0000

Thank you very much for your explanations.

Please see my responses in green below.



Greetings





Von: Mohammadpour Ehsan <ehsan.mohammadpour@epfl.ch>
Gesendet: Sonntag, 22. Dezember 2019 17:47
An: Schmitt, Juergen (DI CS SD EH FA 3) <juergen.jues.schmitt@siemens.com>
Cc: nfinn@nfinnconsulting.com; detnet@ietf.org
Betreff: Re: [Detnet] Comments on draft-ietf-detnet-bounded-latency-01



Dear Juergen,



Thanks for your email. I tried to address your comments below.



Best,

Ehsan







--
Ehsan Mohammadpour

PhD Candidate at Swiss Federal Institute of Technology (EPFL)

EDIC PhD student Representative
IC IINFCOM, LCA2, INF 011, Station 14, 1015 Lausanne
https://people.epfl.ch/ehsan.mohammadpour<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpeople.epfl.ch%2Fehsan.mohammadpour%3Flang%3Den&data=02%7C01%7Cjuergen.jues.schmitt%40siemens.com%7C0b5ea704081d47df88a108d786fe8f08%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637126300187454466&sdata=5InUYgBBetl%2FOnLc3D8vbJ5xIszvQ6uFI0xR3k1JVjw%3D&reserved=0>





   On 10 Dec 2019, at 16:57, juergen.jues.schmitt@siemens.com<mailto:juergen.jues.schmitt@siemens.com> wrote:



   Hi all,



   I have some questions / comments  related to some text within draft-ietf-detnet-bounded-latency-01..



   ------------------------------------



   I’m not sure what is  meant by:

   ⇒ “It gives the best possible worst-case behavior.” (Page 5 / Line 3,4)



   My assumption here is you wanted to express, that when every requirement of every flow is known upfront  it is possible tailor the network most exactly according to these flows.

   What I want to say here is, that I think that words like "best" / "better", "worse" or similar words are not a good fit here. It's all about the requirements of the flows and how many of these flows are you able to serve within such a network. Some depend on minimal latency, some on minimal jitter and other require a maximum of availability.



   If my assumption is true, I suggest a sentence according the lines of the

   following:

   --> "Here it is possible to tailor the network most exactly according the requirements of the flows."



   ------------------------------------



   I agree that the sentence is not well expressing what we really mean; however, I feel like that there is a misunderstanding regarding the draft. The goal of the draft is to compute bounds on the delay and buffer size (which is written in the abstract), so that there is a guaranty for the delay and zero loss due to buffer overflow. This means that in this draft we are not targeting to address minimal latency, or other QoS requirement of DetNet flows (except maybe we want to add the jitter bound at some point). What I would like to propose is to replace the sentence with the following bolded sentence:



In this calculation, all of the DetNet flows are known before the
calculation commences.  This problem is of interest to relatively
static networks, or static parts of larger networks. It provides
bounds on delay and buffer size.  The calculations can be extended
to provide global optimizations, such as altering the path of one
DetNet flow in order to make resources available to another DetNet
flow with tighter constraints.





Juergen: Thank you for the explanation. Now with this new sentence I can understand this paragraph much better.







   The same holds true for:

   ⇒ "Other queuing methods  (e.g. the credit-based shaper defined in [IEEE8021Q] section 8.6.8.2) can be used for dynamic flow creation, but yield poorer latency and  buffer space guarantees than when that same queuing method is used for static flow creation (Section 3.1.1)." (Last sentence of Page 5)



   Is the intention here to say, that someone who wants to be able to establish flows in a simple and dynamic way has to do some kind of over provision to get the desired flexibility (regarding bandwidth, latency, buffer space ...).

   This is true. But in my view this doesn't make it "poorer". It's just the price to pay for flexibility combined with a simple controller plane.



   ------------------------------------

   The idea here is to say that in some applications we may have addition/removal flows from the network; this is what we call the dynamic flow creation. In this case, we put fixed resource capacity (reserved for detnet purpose) for each node, e.g., maximum burst and rate. We compute the delay and buffer bound using these capacity parameters. The admission is done based on the remaining capacity. The bounds are “poorer" in comparison with static one, as when we compute the bounds based on the fixed resource capacity (normally more than being used) and not how much the resource is used. This is the penalty we pay for being dynamic. In the case of static problem, we have set of flows with their TSPEC, and then the computation is done based on the existing flows (burst is some of the bursts of the flows).





   Juergen: I fully understand the model you describe here. But I’m still not happy with “but yield poorer latency and buffer space guarantees”. My suggestion : “but attained latency and  buffer space guarantees are less tight then when that same …”







   Within the text, beginning with page 12, the term "max_packet_length" is used multiple times. I suggest to use the term "max_burst_size". This would leave it open to use multiple frames as one burst.



   ------------------------------------



   Using “max_burst_size” does not conflict with “using multiple frames as one burst”. In the provided formula, we accounted for the shaping effect of the input link, i.e., "c t + L_max”. Even the previous node is intended to send multiple frames as burst, the line is transmitting frame-by-frame one after each other with the line rate. Using network calculus, the calculation gives the provided formula in the draft.









   While I read the section "Credit-Based Shaper with Asynchronous Traffic Shaping" two questions arised:



   -  Why is there such a focus on exactly this combination on features selected out of the many possibilities TSN provides?



   The section is an example among all possible configuration of TSN. The idea of this section is using ATS in combination with a scheduling algorithm. Instead of CBS, one can use DRR, SP, or other scheduling mechanisms. The intension here is we once do the complete calculation for one of the mechanisms; CBS is one of the main scheduling algorithms used in the context of TSN; so, we decided to select the combination of ATS with CBS.



   Juergen:  Thanks for explaining your decision to choose this combination. For me personally a sentence which makes clear that this combination is only an example at the beginning of this paragraph would help a lot.

   As a side note: To my knowledge ATS is discussed by the majority of people implicitly combined with SP. So your choice to combine it with CBS is a little bit exotic to me. Nevertheless it is a completely valid and possible combination from a TSN point of view.





   - What makes it special opposed to only use ATS?



   I don't know what you mean by only using ATS. At the any you may have different priority classes and the corresponding flows should be behaved in different ways to meet their QoS requirement, e.g., we cannot combine flows of BE with TSN SR-A. What I understand of ATS is that is comes with a scheduling module (CBS, DRR, SP, …). Then as long as we can abstract each class with a service curve (Network calculus book, Jean-Yves Le Boudec and Patrick Thiran), we are able to compute bounds on delay and buffer size.





   Juergen: Sorry. I was not exact enough. The correct question should be:

   - What makes it special opposed to simply use ATS combined with SP (which is in my head the default)?





   Thank you all for your great work so far on all this papers within DetNet.





   Greetings,

   Juergen





   _______________________________________________
   detnet mailing list
   detnet@ietf.org<mailto:detnet@ietf.org>
   https://www.ietf.org/mailman/listinfo/detnet<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fdetnet&data=02%7C01%7Cjuergen.jues.schmitt%40siemens.com%7C0b5ea704081d47df88a108d786fe8f08%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637126300187464420&sdata=Q70YUbx0%2BzgmJ5gpftf15G9aikdFMh4K3h74bM2o0lc%3D&reserved=0>