Re: [Detnet] Martin Duke's Discuss on draft-ietf-detnet-pof-08: (with DISCUSS and COMMENT)

Balázs Varga A <balazs.a.varga@ericsson.com> Tue, 09 January 2024 15:55 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 D42FBC14CE24; Tue, 9 Jan 2024 07:55:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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_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 Ao7VN0LU9Kx0; Tue, 9 Jan 2024 07:55:11 -0800 (PST)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2041.outbound.protection.outlook.com [40.107.21.41]) (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 787C2C14F6FF; Tue, 9 Jan 2024 07:55:10 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D2Y1PA4xmICj1zc1YB/38BVOHWE48UMD21AQcXvZveIQkMgIfl8h2vYMkth6duaAiW9ze2haB82eJ+2oW1mrqBFGNab8KDBTa6enHxVBETYSvuBybSCdmR+rJnj5Nau1YXSaCpaEtgjuoCxS/2ReX5RDfPeshR2CRK6iij616v7FzvzXXltEVGH8YMvJ/whZY2Rld0nJd+bvNKpZJpF12wlmmVCVFFRMP8uzROp3AmcLgTuO12oyr4q58zFavqgyiOQGVJOJQq12Vd6UEc88ugmQY4pGDABcLHt3s7vAHni/Owj4sKB3y2IfofHSWDrF6XK62VfbJKsXIRK0YAyQqw==
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=9rsPd2nhozlnxIoUvkY1/c7Brk/r/gdJOXtiLeL0NtU=; b=YXzvMSuqqy8eYyl+hEZOHZntBk/2DOXYOKSKPxwkljEbMIfeKVOl0WQaYxVm5yUIGgA8pcymW5LHZPZzQpryY2Mz8MkSugNUMFUt0F2DmZDcPcZl6STExrkI/jYNp4CssQAlAEVyZeavDUok/TqsPgFu6dbn+oc7s2zppeNefdmuAsWcKoa8SYbshFj0Zrzp58Rq38A9ZkNg9tlkdfuvZ9lEv4XSeDTOvBhvb7y0J3LOBqSMAq79Je8+8Y6CJoXFUupVVIq17ogDTLuD5Yj+akSWqxMNurS987OpZT6mjQcbevsDl0YCa+iHfGvYvxAu4uf8o+hfmAar143M17clFQ==
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=9rsPd2nhozlnxIoUvkY1/c7Brk/r/gdJOXtiLeL0NtU=; b=O/ZEIJ3bjVxalcA5teBHrAJE1vRmu8+ynUEtD4OXXPcDhwY/62NtEUytK6fOsmiJjzrMcat8wTarZ4XHLHCVYEws+5sCpJb4E8GAvAi7syMx3hcaJ1hzCJtqUcufmX387j0s9z8n7t0nGFIntBbak8jtasOk8LQisbnfM8QR3uytGhj6Eo/iD/TTvrTxvGenyMYYTi/dXLqxSEdjT3qKCOv4ckPWBBg9ksYGyd7GAHRuDXuQHAM8EwGywv6POA2JLReb0s1g59bB5n0jFM0HFV8md6YrtDVSe66DQnKviItYuy4cvdRQaSfwsmV9C9fX54No0FEC7cu4blT/pHercA==
Received: from AM0PR07MB5347.eurprd07.prod.outlook.com (2603:10a6:208:e7::31) by AS8PR07MB7991.eurprd07.prod.outlook.com (2603:10a6:20b:399::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 15:55:06 +0000
Received: from AM0PR07MB5347.eurprd07.prod.outlook.com ([fe80::2e2a:6e37:164b:2a82]) by AM0PR07MB5347.eurprd07.prod.outlook.com ([fe80::2e2a:6e37:164b:2a82%4]) with mapi id 15.20.7159.020; Tue, 9 Jan 2024 15:55:06 +0000
From: Balázs Varga A <balazs.a.varga@ericsson.com>
To: Martin Duke <martin.h.duke@gmail.com>
CC: The IESG <iesg@ietf.org>, "draft-ietf-detnet-pof@ietf.org" <draft-ietf-detnet-pof@ietf.org>, "detnet-chairs@ietf.org" <detnet-chairs@ietf.org>, "detnet@ietf.org" <detnet@ietf.org>, "lberger@labn.net" <lberger@labn.net>
Thread-Topic: Martin Duke's Discuss on draft-ietf-detnet-pof-08: (with DISCUSS and COMMENT)
Thread-Index: AQHaPcWTUt7+hRvuu0+bFzWpXWj3WrDIF8cAgABeugCAAS4eAIAAXnKAgAegLJA=
Date: Tue, 09 Jan 2024 15:55:06 +0000
Message-ID: <AM0PR07MB5347800E2444470915B45A85AC6A2@AM0PR07MB5347.eurprd07.prod.outlook.com>
References: <170423216554.32458.15020828942077789896@ietfa.amsl.com> <AM0PR07MB534720E827C873D4733264DEAC602@AM0PR07MB5347.eurprd07.prod.outlook.com> <CAM4esxSHzs6j7NKJjsf1R7XqCkJMPb8vwFhsRQTSLbpU5u-AnQ@mail.gmail.com> <AM0PR07MB53477272CB3D4763682D968FAC672@AM0PR07MB5347.eurprd07.prod.outlook.com> <CAM4esxSWbkOAmZmhmASN7e-Gfgp+bak6e1oax0UHFA=O2rSEyQ@mail.gmail.com>
In-Reply-To: <CAM4esxSWbkOAmZmhmASN7e-Gfgp+bak6e1oax0UHFA=O2rSEyQ@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_|AS8PR07MB7991:EE_
x-ms-office365-filtering-correlation-id: be493251-2f68-4a6b-2bbc-08dc112b59bc
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 8a9MsDDb1S8QRy8u+SG4tuvB97dOtKcNx5jCvGlOleXZ6NReHqL5a39m018HE8I9GnJbDP4Sx0c05QU/1IfWi9OxrauzTnsdAQr7z0oLqyRGcb44pomv3dWIpYzg6IIYVXa+GabNlDvci8qCxOJoYeCseqhfDGaZGx63EE7wQieG9bJLFdZwUA+06SRoWX+hfqiOs5nmO9EYi4gSYJF5rnC4JbPcGJxUn5AOwSJk8apSoz7RC62qdS34xIGktgpL3t2HrQbMd2MJqenuEileTKRLj1CuSFUyyb2b43HmEJfOKaF4vU1Z6Zt8zvCrgPz2iQj5CmWu4WC8rKJjvo63txgrsjAuTtCWBl2ihuZkQ04FJjaTxvW6pKh3DCQcz9+AOZk7TJqK59+lGmQ0cv4s6O3qpdNz+x0NsslWIR90cgoKpb4VmcOvx2DtkvrUBwUjKqZArQlJuRx4ABggPzXQGqX02oHN5t0zRkrHECef64Oo2HVdZ8P76KAeKwk0MjVOtX97eglxGGFdC4+LZ3obfQRbEqfegzBKeMN9cjhf75D7d+p1TU7VLBDtWQDKlof/8DlNC8xxAE0Q60LkdcX/qpA7T0Muuo9E/YS9bYTBH3l4Gv25RzjvyxpTtLkhBFY8Eo8zHXkTOTCvSY6Ixqz7Nftck836RjI5IYFqUPodsR9Y691cKXhrj3tftwPFwHyr
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)(376002)(366004)(396003)(136003)(346002)(39860400002)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(66574015)(33656002)(38100700002)(71200400001)(83380400001)(26005)(41300700001)(7696005)(6506007)(966005)(478600001)(122000001)(8936002)(8676002)(82960400001)(55016003)(76116006)(9686003)(166002)(53546011)(66556008)(66946007)(66446008)(66476007)(6916009)(64756008)(54906003)(316002)(9326002)(52536014)(4326008)(5660300002)(30864003)(2906002)(38070700009)(85182001)(86362001)(85202003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: t+bvJgr/69koZ52k9X+lAOTXikAhG6ItxHfGnutW/IUa2Ml+OmOv7NZj4zCzZIZHYfrp6gSV9anTlrcd2MIz6NSFRNHpeNC8aaeSWJh5rlOc7OfGkubgHxcDoG9BNPg+jOMOaHseuhd9aAhwyOR1BrkDGF7d0aP9kfDDJmpp2ld2o0Ya0fr8L5hkO40sNzSr3oEmw66KONiHU4xwvYwj/b1j76bO+HVpGgTNNPTbY/9SiUW5MJy97O05F2iHP76ZVRnZLxzyvKVf9YiLur3urOdyi0P/yL0U0A980ahQNvW4dybfitUxeCXVrGqfby+AyS9aG4HUUzU7YffQFyKHIKWimX3r9grr3URTeJ7Ek8r9uM2Pf5X/jlgrcqwZElFG91yDlvbgHYg194VN5ToUWrnNpZDyGUzAUIT9ixAoG6X+QKa1IEp8UgFl2p9sio4BgXAcMsr43q9nRA5J16RORxw1VVmXOK89OJyf2GrOOaS7awDJ8RSGTTn0usfRO8aiuWCji2XbHEzbZ2vw68Zwyu/rOvlzc/yqRb7gC4AKuvxv6pBZOMkUFsBpmfBw3OFkfr+aMwhEaEb17QEdae+REtNNVNKf6zS/ydsfUss4gqyoLRtEeZZK//3BMpX8NmSemalOyeGxQfUGiiyYD2dxI0RiMzTgR2v2GcQ9s7ahda7slyTfN4oGUm8M+yrz2muOBJZyCOTDHQg5XexFTfQpxxoJvPok3YG2EqG/0BPIDWPqaNk5FbI1zxdVt4FEL9wXH5VBxsIYAUzuHsapuwM1VtDTguZLwYGDcUu6N/V/uSvgPEZ1xUymTkG+9XYa9sQF1FUO+i1bm02kIRrfxHmeRkI9gE1CNLWrqcZ3SVN6bt3R5REBmg0g/L06RAte++OwHuQ/sJ4OPPi+3QS/1cpXD3Fp+/smI99f6ZMXruXWtNmkTx+I60Oq1vhy4G13iTUUql8+vhUIMdye/08GPseR7V1R+m7z74s8eEuboE0zbrsncAEl/9wBEKmb5BvrlMBz8X5tNPPS9CN/bpytYUkZj7l57MkejbAzz4RHI0xpXRNLUxBUo8oG6Ck5RxOtcP6NZ9Y6jFTgfXfQ4zDSz+SdY2ti1d86h6FXYB9bLCcMbPutX/2hTDJBWZeedm8sQuUABgsC81SYBFbRVpTXj/AHeJmwG5K/F1nvDAixJkclPJf1qtmfkBJFvpUq3A2FMm8DiLToXYAQ2DVMYrDoSlPYjdbaaN8Acd74MUeoo67NsQBLP88xjlswUGnvNiN4PNTe+6aGIptEBT/Pdx/OKx/iP/wSzM6hbqlhSOUj0WVhgngpwqT7O/IC1BrNFp2IvKOTjhsraOSrcUsCC23B4vTe9Nn7OV4VchlPRD0+WwncSjldmKKRN4957TDcJajr2EQZVGOo0xjtBXiNHtXNWkM5kgdlBkJ0h/1Fgj7Nevhh9aTyv6BQgcwcM1YJEugZQ+RHVyepTqPBUEe2OJ70b5pN4qgI519UoNBSBBcNbMftaiU0zjNamkG4zFaV73Ie6RFxbbue2t873220AgE64mbn/qHtBAxgm+H5BnI53xVwFO88TFcTPBqqTUEpwnI428sT
Content-Type: multipart/alternative; boundary="_000_AM0PR07MB5347800E2444470915B45A85AC6A2AM0PR07MB5347eurp_"
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: be493251-2f68-4a6b-2bbc-08dc112b59bc
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2024 15:55:06.6068 (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: GsT7xRMN68j2dKfY3kGRdI1/jTnJqShdcyYOY9bi5+8mqNEcZ40sBO8trG0uda7YD1dzKIbTMPVrDako57Rd65ZgnVtnh0k9LrPnBROMWto=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7991
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/xrGTG7zdw9nPhuSb10qCyuPK324>
Subject: Re: [Detnet] Martin Duke's Discuss on draft-ietf-detnet-pof-08: (with DISCUSS and COMMENT)
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, 09 Jan 2024 15:55:14 -0000

Hi Martin,

I think we are somewhat misaligned regarding the “guarantee of in-order delivery”.
POF described in the draft considers the latency bound (!), when the out-of-order
packets are re-ordered. This latency bound is an essential requirement for DetNet
flows. As per your concern I have added new text (in the introduction section) in
the latest versions to clarify that:
NEW TEXT
  POF ensures in-order delivery for packets being within
  the latency bound of the (DetNet) flow. POF does not correct
  errors in the packet flow e.g., duplicate packets, too
  late packets.
END

Does this clarified the concern?

In my understanding all concerns are now fixed with the latest draft version.
If anything missed please let it know.

Thanks
Bala’zs


From: Martin Duke <martin.h.duke@gmail.com>
Sent: Thursday, January 4, 2024 7:53 PM
To: Balázs Varga A <balazs.a.varga@ericsson.com>
Cc: The IESG <iesg@ietf.org>; draft-ietf-detnet-pof@ietf.org; detnet-chairs@ietf.org; detnet@ietf.org; lberger@labn.net
Subject: Re: Martin Duke's Discuss on draft-ietf-detnet-pof-08: (with DISCUSS and COMMENT)

The changes mostly look good.

I gather the other ADs would like to think about this guarantee of in-order delivery bit. If we end up sticking with the current design, I would insist that the document be clearer that the POF is not actually ensuring in-order delivery, in order to reduce packet loss.

On Thu, Jan 4, 2024 at 5:25 AM Balázs Varga A <balazs.a.varga@ericsson.com<mailto:balazs.a.varga@ericsson.com>> wrote:
Hi Martin, further replies inline [BV]. Thanks Bala’zs

From: Martin Duke <martin.h.duke@gmail.com<mailto:martin.h.duke@gmail.com>>
Sent: Wednesday, January 3, 2024 8:14 PM
To: Balázs Varga A <balazs.a.varga@ericsson.com<mailto:balazs.a.varga@ericsson.com>>
Cc: The IESG <iesg@ietf.org<mailto:iesg@ietf.org>>; draft-ietf-detnet-pof@ietf.org<mailto:draft-ietf-detnet-pof@ietf.org>; detnet-chairs@ietf.org<mailto:detnet-chairs@ietf.org>; detnet@ietf.org<mailto:detnet@ietf.org>; lberger@labn.net<mailto:lberger@labn.net>
Subject: Re: Martin Duke's Discuss on draft-ietf-detnet-pof-08: (with DISCUSS and COMMENT)

HI Balazs,

Replies inline.

On Wed, Jan 3, 2024 at 6:57 AM Balázs Varga A <balazs.a.varga@ericsson.com<mailto:balazs.a.varga@ericsson.com>> wrote:
Hi Martin,

Thanks for your review. Please find clarifications below:

1. Sequencing of PRF, PEF, and POF functions.
<Reply> Implementation of PRF and PEF are not defied in details in IETF. A possible implementation
of an Elimination (PEF) functionality is described in the IEEE 802.1CB-2017 standard. PEF has its own
internal states and various elimination algorithms (e.g., vector recovery, match recovery) can be
used. If PRF and PEF are not designed and configured correctly, then PEF may result in duplicate
packet delivery (e.g., match recovery is used for bulk flows).
In section 4.1 the intention was to highlight, that POF cannot repair such scenarios.

POF is usually the last thing before egress, but not always. It may be located within the DetNet
network if PREOF is designed so.

[MD] Fair enough. Perhaps you could make this change:
OLD
Error cases in which the POF is presented duplicate packets can lead to out of
order delivery of duplicate packets as well as to increased delays.

NEW
Error cases in which the PRF or PEF implementation errors present duplicate packets to the POF can lead to out of
order delivery of duplicate packets as well as to increased delays.

[BV] Not only implementation errors can lead to duplicate packets,
so a somewhat finetuned change as per your comment:
OLD
Error cases in which the POF is presented duplicate packets can lead to out of
order delivery of duplicate packets as well as to increased delays.

NEW
Error cases in which duplicate packets are presented to the POF can lead to out of
order delivery of duplicate packets as well as to increased delays.



2. Requirements for ordering vs loss
<Reply> These POF algorithms are designed for DetNet networks as part of the DetNet service sub-layer
(PREOF) functionalities. POF never drops any packet. Only the PEF has the task to drop duplicates.
The only task for POF is to correct the order of packets (if it is possible with its configuration).
Just again, if PRF and PEF are not designed and configured correctly, then POF may not re-order
the packets in some scenarios. If POF parameters are not designed and configured correctly,
it may not re-order the packets.

[MD] I'm not going to hold indefinitely on this point, because it's not my design or use case.  If you and the AD *really* think this is how it should work, I'll relent.

But ISTM that by forwarding out of order packets you are undermining the POF function in the service of avoiding packet loss, which is not the POF's job.

Forwarding a packet below pof_last_sent is by definition out of order. I would think a POF would focus on guaranteeing order delivery, and rely on the reliabilty
functions to provide reliability.

[BV] Ack.


3. Strange assumptions in the advanced algorithm.
3a. Is there an assumption that there is no PRF beyond the POF?
<Reply> There is no such an assumption. It is design specific and depends on the topology, flow
parameters, etc., how the PREOF functions are located in the network. A POF function (and its
parameters) has to be designed based on the delay budget upto the point of the POF function.
If there are further PRF/PEF stages behind the POF, then You may need a further POF function
after them.

[MD] If a POF is not accounting for downstream delay, it would appear that limiting the timeout isn't actually ensuring that traffic falls within the delay guarantees.

[BV] POF parameters are configured to fulfill the delay bound.
This is shown e.g., in Figure3. + text above it:
“ … the
   remaining delay budget of a flow at the POF point is larger than
  "POFMaxDelay" time.”


3b. The introduction suggests that out-of-order delivery is a result of the PRF
rather than some sort of link-layer pathology.
<Reply> The out-of-order delivery is a result of PEF (and not the PRF).

3b. ... So it's sufficient for the timeout to be the limited by the
remaining time budget for the longest path.
<Reply> No. The "remaining time budget for the longest path" shows the latest delivery time of
a packet that can fulfil the bounded latency requirement of the flow. The necessary buffering
time is determined by the latency difference of the paths. You have to be prepared for the worst
case scenario: packet "n" received over the shortest path and packet "n-1" received over the
longest path. Packet "n" has to be buffered until packet "n-1" arrives (i.e., for the latency
difference of the paths). The advanced POF algorithm is used if the remaining delay budget of a
flow at the POF point is smaller than the latency difference of the paths. (Therefore, buffering for
"remaining time budget for the longest path" can not re-order packet "n" and "n-1".)

[MD] Yes, thank you for pointing out my analytical error. I withdraw point (3b).

[BV] Ack.

4. Is there some reason that "Consensus Boilerplate" is set to NO on the
datatracker page? Informational RFCs have IETF consensus!
<Reply> I think this may be an error on the page.

[MD] Ok, this is easy to fix.

[BV] Thanks



I hope these have clarified your concerns.

Thanks & Cheers
Bala'zs

-----Original Message-----
From: Martin Duke via Datatracker <noreply@ietf.org<mailto:noreply@ietf.org>>
Sent: Tuesday, January 2, 2024 10:49 PM
To: The IESG <iesg@ietf.org<mailto:iesg@ietf.org>>
Cc: draft-ietf-detnet-pof@ietf.org<mailto:draft-ietf-detnet-pof@ietf.org>; detnet-chairs@ietf.org<mailto:detnet-chairs@ietf.org>; detnet@ietf.org<mailto:detnet@ietf.org>; lberger@labn.net<mailto:lberger@labn.net>; lberger@labn.net<mailto:lberger@labn.net>
Subject: Martin Duke's Discuss on draft-ietf-detnet-pof-08: (with DISCUSS and COMMENT)

Martin Duke has entered the following ballot position for
draft-ietf-detnet-pof-08: Discuss

When responding, please keep the subject line intact and reply to all email addresses included in the To and CC lines. (Feel free to cut this introductory paragraph, however.)


Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-detnet-pof/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

There are several elements here that are either poorly phrased or misconceived
in some way.

1. Sequencing of PRF, PEF, and POF functions.

Section 4.1 says "However, the PREOF functions run independently without any
state exchange required between the PEF and the POF or the PRF and the POF.
Error cases in which the POF is presented duplicate packets can lead to out of
order delivery of duplicate packets as well as to increased delays."

but then Section 4.6 says "In DetNet scenarios there is always an Elimination
function before the POF (therefore duplicates are not considered by the POF)."

I can't reconcile these statements. How can there be a duplicate packet error
case if the PEF is always before the POF?

A statement that the POF is always the last thing before egress would clean up
some logical holes, like in (3a) below.

2. Requirements for ordering vs loss

What is the purpose of Sec 4.3 directly forwarding packets with (sequence
number < POF Last Sent + 1)? There's an implicit requirement that delivering
the packet in order is less important that not dropping it, but is a strange
requirement for a *Packet Ordering Function*. If Detnet is to be decomposed
into three functions, it is very difficult reason about if the POF guarantees
ordering, but sometimes it ignores that if it's trying to avoid losses. Just do
PRF/PEF if you want to avoid losses!

So I would suggest that the POF forward (sequence number == POF Last Sent + 1)
and drop anything earlier.

3. Strange assumptions in the advanced algorithm.

3a. Is there an assumption that there is no PRF beyond the POF? If there is,
it's possible that there are different path delays beyond the POF, and that has
to be accounted for in the algorithm. My guess is that you are assuming that,
given Figure 1. In that case it should be stated explicitly (See point #1).

3b. The introduction suggests that out-of-order delivery is a result of the PRF
rather than some sort of link-layer pathology. If so, I don't see why it's
necessary for the POF timeout to be path-dependent. That is, the shorter-path
packets will by definition be in-order[1], and the longer path will be
out-of-order. So it's sufficient for the timeout to be the limited by the
remaining time budget for the longest path.

[1] Unless there's a loss on that path. But in that case, there is no advantage
to a longer delay, so my proposed algorithm holds.

Maybe I'm getting the underlying assumptions wrong?

4. Is there some reason that "Consensus Boilerplate" is set to NO on the
datatracker page? Informational RFCs have IETF consensus!


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thanks to Kyle Rose for the TSVART review.