Re: [Detnet] Review of draft-ietf-detnet-pof-04 for the RTGDIR

Balázs Varga A <balazs.a.varga@ericsson.com> Tue, 07 November 2023 10:59 UTC

Return-Path: <balazs.a.varga@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 33F13C170613; Tue, 7 Nov 2023 02:59:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ericsson.com
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 cKKM8LZEdSCs; Tue, 7 Nov 2023 02:59:05 -0800 (PST)
Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2070.outbound.protection.outlook.com [40.107.247.70]) (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 9954AC15155B; Tue, 7 Nov 2023 02:59:03 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PyICnfraITNs+7x03V2l0zNEH8rWOkZm+RnVv4AUwVQ1OCnodttx/ojwRKOVs7k5v+JJGuiUflM0FWlgydC5HzWAFnxiGFSoGVlNfOn47cBFCBKsgdCZeo4dNU9DxcPLYFmiVvhAHCSt7tNk6WQa/CCPK05evAHs15ZCRGeUPZfT8STaZhjdsVeV4rhtI0skXAfNUt4nKruX7ebuJZBZbfeP5OjS3ktOZ1Mt3mpFRO8kg1XlppgGYP+iPjicLrNrRXsqKFZkQUtHr2cbCSZeyLn51HMBOjA0IBHGHyMUZilhHpl9U1KES9ctHKNUwxeqmMMHbe53VL85mQC/DYw71g==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TlSNiNPtjJW8WBuQnzEH1d/nmOXM3mQHQ8g+f2lXaS4=; b=ghI8p3ONpNN4ACAMHURkSf5MZ8TIi5K2/iBLTfifESmbcEc2REXi3GGYGtz9O7tsQYoaZISvC/1GXdEhzKQlhnesrS0XZmdPN+7cc3jb+KCzV2mzs+YPS6MZwMg/jF7fLXFnWQBBcG/8+ddwzFUjWoddX6Y2rx+6qkIOcKyFW/klc+GiIckNS7ayLSrIlt+t/KO+NHd5pfTc7N68L+9MZTZaeytJVsfoSovKxBzx2oc85aQXSgYLDu74mA94cQLWyIHSzX/jgr40Fc5QEhzebSB54xP02PTflxgMa6PLkQ23YAX0NtI7E2XXGgX8udXnS/12wV6rWtKHWkpOSmtAfA==
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=TlSNiNPtjJW8WBuQnzEH1d/nmOXM3mQHQ8g+f2lXaS4=; b=UO5dPGnwFqb//dZXLbTnPLx3NGRQ8FGz3fW5GOqIhF0anvcPBd4bUBnG5JNLOQ8dZYl2DiNSFNmtxmWbtcXsodphDuG9n0URC6UfNm7ah/uIbUREdPP9uDZYiT4VtXqE3stzzQ9MEG4c4RLdPxfdxpplekh0KL2HlN4b9LwFBgvF0KrA2IZZV4u8XFD5DRDfyzfO0O1kl3i7nasrj3IaP16ifDRRvpb0kq+DoAAA09x+BQd5MDwy6CHs8rLVFOz0HrTrqLmhyaq5MZk6l4TwTtkNJBEL5kDmtGrbL+rvZ5snHwdPOv2YA0yHN6SiyPE+D99SBm4qckAmUQKFLGuBSg==
Received: from AM0PR07MB5347.eurprd07.prod.outlook.com (2603:10a6:208:e7::31) by AS4PR07MB8876.eurprd07.prod.outlook.com (2603:10a6:20b:4f7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.29; Tue, 7 Nov 2023 10:59:00 +0000
Received: from AM0PR07MB5347.eurprd07.prod.outlook.com ([fe80::a62d:d09d:94ab:2a3d]) by AM0PR07MB5347.eurprd07.prod.outlook.com ([fe80::a62d:d09d:94ab:2a3d%5]) with mapi id 15.20.6954.028; Tue, 7 Nov 2023 10:59:00 +0000
From: Balázs Varga A <balazs.a.varga@ericsson.com>
To: Henning Rogge <hrogge@gmail.com>, "detnet@ietf.org" <detnet@ietf.org>
CC: "rtg-dir@ietf.org" <rtg-dir@ietf.org>, Daniam Henriques <daniam.henriques@liquid.tech>
Thread-Topic: [Detnet] Review of draft-ietf-detnet-pof-04 for the RTGDIR
Thread-Index: AQHaBYeWDqaWdeJoVEu3XursrenXAbBuu3gw
Date: Tue, 07 Nov 2023 10:59:00 +0000
Message-ID: <AM0PR07MB53472B014677EF0AA09950E1ACA9A@AM0PR07MB5347.eurprd07.prod.outlook.com>
References: <CAGnRvupkK2t95t=PKLBL9vWE5ijzN582O6itxQFribc_=rQKXw@mail.gmail.com>
In-Reply-To: <CAGnRvupkK2t95t=PKLBL9vWE5ijzN582O6itxQFribc_=rQKXw@mail.gmail.com>
Accept-Language: hu-HU, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM0PR07MB5347:EE_|AS4PR07MB8876:EE_
x-ms-office365-filtering-correlation-id: 86881bf7-3b27-4478-533d-08dbdf808c0e
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4lOapNRVFNm9O0DQhfz7qIkdDyS4ZvmrvFwBhUfoB3YZL6iW0nXavvTiv9urQPSZv3/V0480bbHDJAQpM1TKQMk5KwSoaxqyGQ8cDHHo62D4hpwlc7UcPb1OxA3O4rdrUOnHeESKhezb6Dk3rDsvG0i9cThbxMeE7FTy5TLzBHlKOlx9MroH4/ugEJXTc+F5AIXB4P5tMTFyOX6u0Ja2i3s4B1jobgXWZWTTTC0LI5u/N5mz3oLwJtFEBZ//I6FXP8j8F1ikCMESmsWmDNaem+eSSgtQtwjFXhlJGiUgPbs6SV1Y4JvtKss1RA45TB6nTw4mNyG9BA2pTGS+eAliTWo0TmPiNLTc+wa9ZxZWVb5XsWG087T3gWfBJgqzHxqKaKBSb/l+HPujDvloRLUefzy4Ag5yNhBKUu3z4zQoGSRP7Xw7Fa6N31+xDD5nJroYyxakOJvEvTuQMWP9UNT5Xvkt99y/XAGZb9ibnpwUHRC1DBR48vCF8Dr1BI7PjxVy45qg9SvpxAo3YD1MrBguvjTIdz4wTilsxbjjWE/PIfPWe89F6a7oxkzWkZVBv7PL8kLl4eVT0eWLOpHP3cFJkxrgOUAgwDREMbpN//QYNANwRUQTr9eY2JZHhJQNIb8XVEmYuRhB1l0c0UeQhXn4IA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB5347.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(346002)(136003)(396003)(366004)(376002)(230922051799003)(186009)(1800799009)(451199024)(64100799003)(6506007)(53546011)(41300700001)(7696005)(966005)(478600001)(8676002)(8936002)(71200400001)(9326002)(4326008)(52536014)(66476007)(5660300002)(9686003)(66556008)(54906003)(66946007)(76116006)(316002)(110136005)(64756008)(66446008)(55016003)(26005)(2906002)(122000001)(82960400001)(166002)(38100700002)(83380400001)(86362001)(38070700009)(33656002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: fLnAh0NPlfKso/iA5nulz88lTvcE5+90U9g48gV0khOMsqTY/x2IHWGE6dgvALsgM/PuA1h0DxAcXHFGNCd8CLl5ZNp3H+vyrdwKSTvcnmxQcfPG0mjpoy8utCcUpcG5Ugn65sVZAqJDwtENIXBzoSa+3sdl6Hk54SVQIjIgwe0IFTPw1qFAv5Vh+s0l8E+C/nErf0B65YrjMPnpVDlAR5w02rfRaCOJYPgvnIPplhfvNKTzYWG/6NvAKD7+GglPMIOnxWoukS4WhJxZYdXnjw4Q6wsWjb/JarHJ58ryCK84if0pNWU1M4NqqEjdp9ivfjVHvs6jJWNASUeFfhINeUF2s+W0hOuPz4p9wEzJKYO6vAMkuzif/Fn6kuItt+2ljvpnXmiVogfNnQoccTMMQmqvUMtYX4+rbgzo1X8FcFBH5r28oseLUCZizS1jJJynPckmFVeKvuYeCEPn5e1c5VxCxupv6OQM/ObRvwlktUaoYETsjuDwDhBttLgp//De2YcreVWsP+jBSutioD5SyOeyM9LUH879a60uZV05TPkpEjF9HO+UNPAmkoNjrIRD7IUp8gc1+r1ltPg0ldi4lHLBpABg6Gx6/GFvfN3KNvLmj/DsYO/ThcV7fpZT5NaxKyiW+M1Q6YN+UeQexffibBZKbI+Zpg2PklwARmRcqTeGXIL9HnF5MRYfBq3ywKBhJsGdDO4SKGPBOsd5pDnViZ9Fof2OxaforiC4TiUNXZBPpRkIMNtAHt7jBXGusYvtCL1u6OiIRU19FJ6pnFkT3WBz3YIeMXg7uxFkb8YGn38eKJNc/JwQ9ZBKdJTvAW3vezc+z83sBz7yBM2oYoegx/tw9tNqM/n80t+XJI7LtIQJ/eXcQ7hPVJ5+v7qdnMMrlg3sQ50Kgp8ya/TafGcgvz2hktAz5BVk/oKu2HSXvxFwVcN2RH+DalzouaMJfW16NRhJXFZ7lc7Tj7dZY7QuxA5iljUfD4tR7iN2BC2nE042W5M36JAtE3iR3EJXTQDcimpwgqkyRvT8wecReVvW8alRfQUG6r0bks/doODaEbLhX4QPCXrxaLMDIedX9p+ih2KbBtLXrCNl/D03jXE0YutsKX9Z3MKPbMevy9VRnlGACSACW5zSQAPTDMtUyyLjeRfTo4aEyfVv0gjkBqxpVstuhSogN+GG4vivQzv8UeGbr9j90CfjPzb+ZutROKlsNuAg2/W2l0Gzrf139q2Md4ThJEDHq+86mgLtNJA6yk3pmhZq2apEz6XOk0Fn2WFAfwhcV3XhLPO4s+nZsQmcVSHpIgylwIXnFCpq9qd/qnpy6r3D6m9EfXwjYZjFs3ITB66PaZzzfzM2Thk6xkWd2CaSOeAyUw3ONpN/l+WNF6QrSs/TeVQQy0XdlUkX3yQfZbpMoh1xIQCgiz3OLUC0aQ7nS8cbhZHfiEkGczjWcm+aypXsqRJ9URzpSyj0rNP0V+5lphT3kCaDsdKz8oJNXlLnkLokwEaTtsx3Ag3jHAvjnKpB0girLXnSZol/8f44Xu5ezescORJnyIbDZBnZJVRMH+E+0NjmFmuZEFMFTssgILv8WScggVsMlTyP76YFamQmokbnuJynhTOTblgfKg==
Content-Type: multipart/alternative; boundary="_000_AM0PR07MB53472B014677EF0AA09950E1ACA9AAM0PR07MB5347eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB5347.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 86881bf7-3b27-4478-533d-08dbdf808c0e
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2023 10:59:00.1231 (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: O0wWVHofH/afYdBUxEQfZg4YUCdHSfsBmMfJckGyCaFCx2Z1bjmdhM6fpI1YhnuLoXfCZ7DplnMJfv6YpcdvZt7RVDsmxXKzM0h9BtiXtmo=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR07MB8876
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/LGwQVGmhuh5Q7bhijbBUT5zojvQ>
Subject: Re: [Detnet] Review of draft-ietf-detnet-pof-04 for the RTGDIR
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.39
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: Tue, 07 Nov 2023 10:59:09 -0000

Hi Henning,



Many thanks for your detailed review and good suggestions.

Please, find replies and resolutions as follows:



1, " duplicate text what happens when a packet is forwarded"

Agree, it might be seen as duplication, but they differ.

The difference of the third and fifth bullet points is that in the "Then" block of the third bullet point the packet is

forwarded without buffering. The fifth bullet describes action for a buffered packet.

I intend to clarify this by modifying the third bullet:

OLD TEXT

   *  If (seq_num <= POFLastSent + 1)

      -  Then the packet is forwarded and "POFLastSent" is updated

         (POFLastSent = seq_num).

NEW TEXT

   *  If (seq_num <= POFLastSent + 1)

      -  Then the packet is forwarded without buffering and "POFLastSent" is updated

         (POFLastSent = seq_num).

END



2, "why POFLastSent is always set to seq_num"

Yes, this is an interesting question. Both POF algorithm assume, that the POFMaxDelay parameter applied on a

buffered packet is correctly designed. It means, that a packet is removed from the buffer only if there is no chance

anymore to receive an earlier (smaller SeqNum) packet over the slowest path. (In practice that means that

POFMaxDelay > latency difference of the fastest and the slowest paths.) Therefore "if seq_num 10 already has

been forwarded and now seq_num 5 is being forwarded" is a broken scenario, with correctly designed POFMaxDelay

arrival of seq_num 5 is an invalid event or happened due to multiple network failures.

State and initialization of the basic POF algorithm are described on page 7, so I would propose no change to the text.



3, "circular sequence number space"

Thanks for pointing out this aspects. Right, implementation of Elimination is not defined in RFC8655. A possible

Implementation is described in IEEE 802.1CB, which I have added as reference.

OLD TEXT

   Note: the difference of sequence number in consecutive packets is

   bounded due to the history window of the Elimination function before

   the POF.  Therefore "<=" can be evaluated despite of the circular

   sequence number space.

NEW TEXT

   Note: the difference of sequence number in consecutive packets is

   bounded due to the history window of the Elimination function before

   the POF.  Therefore "<=" can be evaluated despite of the circular

   sequence number space. A possible implementation of the PEF function

   and the impact of the history window is described in [IEEE8021CB].

END



4, "Advanced POF Algorithm, maximum delay reached at exactly the same time"

Right, The following changes proposed:

NEW TEXT (added to the "Advanced POF" section)

    Note: for the "Advanced POF Algorithm" the path dependent delays

            might result in multiple packets triggering the "maximum delay

             reached" at exactly the same time. The transmission order of

             these packets then should be done in their seq_num order.

END



5, "Nitpick"

Right, Done as per your suggestion.

OLD TEXT

"POFMaxDelay_i"

NEW TEXT

"POFMaxDelay_i" for each possible path i

END



Again, many thanks for the detailed review. Above changes will be posted in v05 (very soon).

Please, let us know if You think further changes are needed.

Thanks

Bala'zs



-----Original Message-----
From: detnet <detnet-bounces@ietf.org> On Behalf Of Henning Rogge
Sent: Monday, October 23, 2023 10:04 AM
To: detnet@ietf.org
Cc: rtg-dir@ietf.org; Daniam Henriques <daniam.henriques@liquid.tech>
Subject: [Detnet] Review of draft-ietf-detnet-pof-04 for the RTGDIR



Hi,



Denim Henriques of the RTGDIR secretaries asked me to review the latest draft-ietf-detnet-pof draft last Thursday. Unfortunately it seems I already got asked to review an earlier revision of the draft, but the request got lost (most likely on my side).



I read through draft-ietf-detnet-pof-04 and parts of RFC8655 and I think the concept of a POF function is pretty straight forward.



When reading through "4.3 The Basic POF Algorithm" I see a couple of issues that could use clarification (or a fix).



First, I would suggest eliminating the duplicate text what happens when a packet is forwarded. The fifth bullet point on page 6 already states what has to be done, so you can remove the POFLastSent update in the "Then" block of the third bullet point.



Second, I would like to hear a clarification on why POFLastSent is always set to seq_num when a package is transmitted and not only if seqnum is larger than POFLastSent. When a package with sequence number X is forwarded for any reason, everything with a smaller sequence number than X should be instantly forwarded (order is already being disrupted anyways).



As an example, if seq_num 10 already has been forwarded and now seq_num 5 is being forwarded, I would still expect seq_num 7 to 9 going through the POF, which doesn't happen if POFLastSent is reset to 5. If this is correct, I would suggest something like "POFLastSent = max(POFLastSent, seq_num)" in the algorithm.



Third, the Note on page 6 hints (correctly) that comparison (and maximum detection) can be done but is a bit tricky in circular sequence number space. I could not find an example how to handle this in RFC 8655, so maybe putting an example of how to do it sequence number overflow in an appendix could improve this document.



Lastly, for the "Advanced POF Algorithm" the path dependent delays might result in multiple packets triggering the "maximum delay reached" at exactly the same time. It might be worth writing down that the transmission order of these packets then should be preserver, should be done in seq_num order or that it doesn't matter.



Nitpick:

in the description of the POFMaxDelay_i in "5. Control and Management Plane Parameters for POF" it might be a good idea to mention that this represents multiple parameters, e.g.



"POFMaxDelay_i" for each possible path i





Henning Rogge



_______________________________________________

detnet mailing list

detnet@ietf.org<mailto:detnet@ietf.org>

https://www.ietf.org/mailman/listinfo/detnet