[RTG-DIR] Review of draft-ietf-detnet-pof-04 for the RTGDIR

Henning Rogge <hrogge@gmail.com> Mon, 23 October 2023 08:04 UTC

Return-Path: <hrogge@gmail.com>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E72CBC14CE24; Mon, 23 Oct 2023 01:04:16 -0700 (PDT)
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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 39oTou8W0vFG; Mon, 23 Oct 2023 01:04:16 -0700 (PDT)
Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9502DC14CF1E; Mon, 23 Oct 2023 01:04:09 -0700 (PDT)
Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9becde9ea7bso860536866b.0; Mon, 23 Oct 2023 01:04:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698048247; x=1698653047; darn=ietf.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=/XoWNmD5pcQlgwS4/D5haUDvuhSBP/RetHVNTvgmjl8=; b=jDLvLQCYoShp1PrGrekoorGc3qiiyNnrlqO6h5x/503erS664u45cn0r5Z7WaBdigT Yk3XS7T+MklLnFMyRkcxhtYEHMw+CYTGHIxuJ4SdrH2CPMuKFyTqTQDYZpddkSBCRWQn i0iUDNDi516zERdgXDQi2LidvNoFdakoZ3z5I+vtriJYvUUmqWQpYfsHUFq9hRMMHgWM Ayxf8XbQZRQVXbqFo9yBR6VbTYbYWfGDqrGQFzl/nUdR05AU1IsPW2MgCkWu9fkxRaQs UP72SOYAdCQL+Mo7De7i2IFPfgc9RLkw7s/HjmIOM05o673EesfH4zejre8emi9coMZV jBsw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698048247; x=1698653047; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/XoWNmD5pcQlgwS4/D5haUDvuhSBP/RetHVNTvgmjl8=; b=GKZLslkoPQMRWcDcy/nhubaVUqDWAuDco5zjrgtL7hPQ2fNvxQN58MSoBNOq1/9gXQ zkOQbz2uEkGFDF4XMwu4x9ebhXtjvTPZcNVyWzYlQPQ65ZThowFdzPIKsmWLp6RD/6ud m2HZwswHwD2HJlIwzcxWkpTGZHfP5N0XsFn13LRM2ofq3HOuY5c8CuysQZjn319C6PRG vLap+PZfo8BPiDobL6LfTYv5e5rqJvj2hRzGr/+satlyxWI+rBgIWw5Kq6BbLHwQOhu1 ntWzFhdi3a2F47+XuxLvrvSjVmgZzkKKXlWQkqx31lONviENO6WQu6JuE3j3DyrZfQnt DMxg==
X-Gm-Message-State: AOJu0Yzys/iILg/uoJ70MQD5scEeIW+XbMBf0yVEFJjPY5ezyiziHWz9 DmKPPfEYaaGV9+BDhBRLcK0v/fUYNCGxuKkKcy/aQUjLVP0=
X-Google-Smtp-Source: AGHT+IHfvzehtNuqzU8TbpsQoIix2LAuVRtlgo6iL3SPeqN0wIwEQnhLNy1gdJcYAkE1ZKZZr2pXEl2VJmYlSYpDobI=
X-Received: by 2002:a17:907:7f2a:b0:9ae:659f:4d2f with SMTP id qf42-20020a1709077f2a00b009ae659f4d2fmr6399443ejc.26.1698048247341; Mon, 23 Oct 2023 01:04:07 -0700 (PDT)
MIME-Version: 1.0
From: Henning Rogge <hrogge@gmail.com>
Date: Mon, 23 Oct 2023 10:03:41 +0200
Message-ID: <CAGnRvupkK2t95t=PKLBL9vWE5ijzN582O6itxQFribc_=rQKXw@mail.gmail.com>
To: detnet@ietf.org
Cc: rtg-dir@ietf.org, Daniam Henriques <daniam.henriques@liquid.tech>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/_KiWyAMs4Xv5bF8scKttUyky-rs>
Subject: [RTG-DIR] Review of draft-ietf-detnet-pof-04 for the RTGDIR
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Oct 2023 08:04:17 -0000

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