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

Janos Farkas <Janos.Farkas@ericsson.com> Thu, 10 September 2020 13:26 UTC

Return-Path: <Janos.Farkas@ericsson.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 57B443A0A83; Thu, 10 Sep 2020 06:26:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 ZHxAKkXC6Jht; Thu, 10 Sep 2020 06:26:13 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2047.outbound.protection.outlook.com [40.107.20.47]) (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 338773A0A21; Thu, 10 Sep 2020 06:26:13 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DGtdfRmwDjmGdKs940wfan4lZmj1Zlczq9dil/MP+uP3aIvVglIgJ7rWxD+9j8qzsakkRjiZ7JcplWJ0QHKaU80uAIl6oq0AoxLjeis+iC1ddz5fN2GeYu96aiVx4rRNMhXfY9GKQwFNWgD6o0DPHhWOUT+mr/97lChxptJ+TL87cQJD7aIkMr5BB8ifqaJXKWi6OfBM7ehe3UyOEBAwZDnMPAX+dt9ZEC7wwda+qob3F5+dhBKIZMDggXBwzdusQSXPSRKfylCLe6rS12/aZf/DAfRD2P3YntSgKZxCOiElVbz5io7yxNAtjh3N/SYbaQzubD9LnZeqeOo1G/EGyA==
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=Vzmivbyd7d1h33seaVIZmAl+OroqrdB1XKcsSIuc82A=; b=fbhem9lErZ8RpUa9p0cLPJFaKU78KFHB70fLZ+j8YQAIelpPUxQGcmljYQ7VOYww8JTWDCgj+VDOmaeTBOsATokecBApme7d4PU0hNFb0Xi03LU/9Y+zA/NKxXJ6AFu2j5R0+PwXZIK0/vjH74DEp/BPgKAgPN25c6/Os/YZHk8MhCcAqNkzO+UtVNYdUbZ0x9wd6oaMw7VGAV0WWkhgsHd69BRYFyNzKsoqIuglwDtcBwKvFYUNnRyTABw7wz7gBptJbI7MtPdAB+CiRPGTszp8kNv2hWfzml4JXta2uLd5LCYpqF7DZc5K0FkGhUQtwOZqYCOLTFcfJHnyG1hhQA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vzmivbyd7d1h33seaVIZmAl+OroqrdB1XKcsSIuc82A=; b=cmEu2Q0NrkSiEO14BU/VMGwIi7BpjlEE9Nls60ZqBz7hdUkKlTAoFvgEdrHtJLVcKej9snxnunvRMJgAxlxwi5aPwz7c8pWewijrNs8kjEv0f9NVoGP5xs2ym1pOk7no0vi4+Bwt/eRxqKDSAIWwbY+DGnHavY4I8fX5wghQVaw=
Received: from AM7PR07MB6994.eurprd07.prod.outlook.com (2603:10a6:20b:1b2::15) by AM7PR07MB7011.eurprd07.prod.outlook.com (2603:10a6:20b:1b3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.7; Thu, 10 Sep 2020 13:26:11 +0000
Received: from AM7PR07MB6994.eurprd07.prod.outlook.com ([fe80::f036:f5e9:54e8:cec]) by AM7PR07MB6994.eurprd07.prod.outlook.com ([fe80::f036:f5e9:54e8:cec%7]) with mapi id 15.20.3391.005; Thu, 10 Sep 2020 13:26:11 +0000
From: Janos Farkas <Janos.Farkas@ericsson.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
CC: "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>
Thread-Topic: Magnus Westerlund's Discuss on draft-ietf-detnet-mpls-11: (with DISCUSS)
Thread-Index: AQHWhfIMzvX/QNB8cE++qQTspNClH6le6fCAgAD/i4CAAHToAIAAYuOQgADJAACAAFMyMA==
Date: Thu, 10 Sep 2020 13:26:10 +0000
Message-ID: <AM7PR07MB69948CBB26584E80199DE4DFF2270@AM7PR07MB6994.eurprd07.prod.outlook.com>
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>
In-Reply-To: <40f46ac3d56cd44906b35feb066ff9a8226bc891.camel@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ericsson.com; dkim=none (message not signed) header.d=none;ericsson.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [176.63.28.85]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1f20ce5a-a4aa-43eb-54c3-08d8558d155e
x-ms-traffictypediagnostic: AM7PR07MB7011:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <AM7PR07MB70119A10679DCD7B4D20E711F2270@AM7PR07MB7011.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: sQIoK4GhTF/4GzE6RUCpAqtChjskKy31jLyaiPkgxTyjYu6aNpkGkZ0KjyiR9GrVS7AYjV2z0eahZsQXv3SIl9VUE2g6Ic0h65CqNM/+hmTvQvSwd87gCMGUvJRdYtJp9g+60MJ8OkdHQMgm3DDKhl0z+c2H9UdQ3pBxTLK+QvC5rZP8sgVkvbe3XCswy8Qozb86dJ8N3Ct8m7qMOo6wDI3eHUcNA5Wb24yrIp7BzNTal+/fWWb1GExER2SqjxUw8+PWP1BhJUKt2XXndbTa6OhdLxxNibS3dJHnbRAH/t3EM+ADrJQ1zPZ3aXPvnp9PY2UHfIZYo9+EwZ3Cnz2YgkmQmouFYn5Uhj4fSECkeyp97t5erkKmMoy0fU+TJcTfHJZo0gR2lvKKp638GUqpWi3Jf7qdZ/JXOg/0zB2tVbl/QNlpYtlZa2kX+O46fGgw
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6994.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(366004)(136003)(376002)(396003)(9686003)(64756008)(5660300002)(76116006)(33656002)(66946007)(66556008)(54906003)(4326008)(6862004)(966005)(66446008)(66476007)(2906002)(8936002)(8676002)(6506007)(7696005)(53546011)(478600001)(6636002)(55016002)(71200400001)(52536014)(83380400001)(26005)(316002)(86362001)(186003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: qmivcqtsLL7n2ZKDcsbTECSt5UhNWSmEsfXJxMsXAliSOwkx4qqmHVwZiLJky7F2sTwfs85LHg8bYVFg2Mrp/plCQxtbZiDuaw1BEhweOF8bQq7CgW9bYh/r+7vsFRVlFGCPBvnbS7JDfr5AMcXpMdrxOZqh2nDQ4RzlKmZvsRxrl4xWbe3X8B8pVtCpftYxMpkP89b9RBU3Mi42ZEj7YGHDSpgjeelVH40sgFNP5lu62+xiY17zHGVOzsJ8ccc2Jayq8UW0Q6MYicq/yDtVR0YYZYWY/4WyfdbknyIlDHFvhk950m5DOTAmFAMt77qIKcmkNFyuOslnNpb3patMuIdjIxOEb195qeMgpjMzoc4P9aV5LhqfmCWKPIaQHpyu8SZTFCOerpnfCyt1taDzJN7eBhxrbxd6OhzlKoS4fFP8mcruRGrlXfFn5oPAXbQ7CnCPzkoG2v7dzi9JWueFsji62Kit5a62M8uh5vHLkKuTO4DhPxTK9CgTSFzw14R7r93nSwkKLPBKOhEiOdTM2fp2hm6EXpSeErqK767Kie9K37gbZtOmNYKfsp1cgEcoZGi+UeM6zj9z9axqWcf3ds2+mWV2eSVbe60T54g+L85wN0geC/XiNpK9b+/bIoUkTxmotw3v8u78vPKOa7EonA==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6994.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1f20ce5a-a4aa-43eb-54c3-08d8558d155e
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2020 13:26:10.9083 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: xbYD4hKOXpTr0BnOfVSUuN6hXiquCESiV5n3mqM4IfYDKUfZxHTcaZoQ+g4nf0hqB8XQmU1YUAjg9kuKHlYcPpjiRf54JaENkwVufTb9NLc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB7011
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/ISCK-tagLuKtYw6bQcj1oSwRqRg>
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 13:26:23 -0000

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
----------------------------------------------------------------------