Re: [Lsr] LSR WG Adoption Poll for "Flexible Algorithms: Bandwidth, Delay, Metrics and Constraints" - draft-hegde-lsr-flex-algo-bw-con-02

Tony Li <tony.li@tony.li> Tue, 25 May 2021 16:52 UTC

Return-Path: <tony1athome@gmail.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BDA03A15F8 for <lsr@ietfa.amsl.com>; Tue, 25 May 2021 09:52:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.501
X-Spam-Level:
X-Spam-Status: No, score=-1.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 dFltqhNJorCi for <lsr@ietfa.amsl.com>; Tue, 25 May 2021 09:52:29 -0700 (PDT)
Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 268323A15AF for <lsr@ietf.org>; Tue, 25 May 2021 09:52:12 -0700 (PDT)
Received: by mail-pl1-x629.google.com with SMTP id v12so16648605plo.10 for <lsr@ietf.org>; Tue, 25 May 2021 09:52:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=iZZZCDWuoIt+YYzQ/VDP34gl0wVBmK8Z7CcS9eM/syA=; b=B1fvdhQLwl4EDO0ar7qWUVrNsLQtI5WtlJYH9FwpYJ1eFhMcXZARxgAOINPizm0TBv AXSDWVWoH1pNujQiT3i/inT9qJSr+U8G3Gyz4LFkO6wj5ZZjIsaA3aVa/NUL2vOKIsoo FFB140Hc6moyfQyDAkSPkt5GUB+4/6pswjGRHWWiOtZSWN5dc8QVRKWnb+xZFBL7Ie8S N/duAahuSG9tLC0akHg17An6uVt8NbndBok5765P9ZoKbos+NABzYpsBAstoaqXYwF5L MOgKHU0e1Z2K+OSNSMOWGHWK93+63KlEMTPAM1Yv5TmMbXTSw9/20bi5scYYw0O3pvdm 4QOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=iZZZCDWuoIt+YYzQ/VDP34gl0wVBmK8Z7CcS9eM/syA=; b=Kn2hAcMxiPK0wHxLQHjWjjrquU9RvwVS4h5wLhR4MJUAPUFR+x4Wth8mNOXPL8ZTCH WZlmlx8BgDcrhkIUWDLSQ74Y5y476uN/CA61IJAeie+6fIa6vATyajaSo7T+HD4aUeud Z+qDb2+lAdXrEPY1/Zc6G4oEqZwvo4mthLLXgaaoOXVh2aSlP79xrkM0hAGuqGSwlPmD RVEjKrsPD7Sa/8/tuTjHCMoEXePx/UTiBzn4xAiYahSJ5lBa7I/qrnh2IwkzkBv85XkW FQZ46snghfaRYU5V2XUq6AczeBFyoahbRMksvVP+LGM0rjwGSxwLh1wSZzyVveiUnU4A gWmg==
X-Gm-Message-State: AOAM532QrHOjnQ9EabYLXDm390DnbbmPMApNY6X3JlQaBknpj+jppRpT t0vlBxHTnxFzjRpR7G5XewkMGRvFLaw=
X-Google-Smtp-Source: ABdhPJxnohs16WAAeBDv/A0+20WDs/9BwgKOkwiFfjmKcITqNSlny7Q+zWgbG4pg3OejesyLjzrsoA==
X-Received: by 2002:a17:902:6b8c:b029:ea:f54f:c330 with SMTP id p12-20020a1709026b8cb02900eaf54fc330mr31517498plk.10.1621961530869; Tue, 25 May 2021 09:52:10 -0700 (PDT)
Received: from smtpclient.apple (c-67-169-103-239.hsd1.ca.comcast.net. [67.169.103.239]) by smtp.gmail.com with ESMTPSA id w189sm12639014pfb.46.2021.05.25.09.52.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 May 2021 09:52:10 -0700 (PDT)
Sender: Tony Li <tony1athome@gmail.com>
From: Tony Li <tony.li@tony.li>
Message-Id: <5988EFA2-CD6C-498B-9FB3-AE6E98D61A95@tony.li>
Content-Type: multipart/alternative; boundary="Apple-Mail=_EA03D834-5C45-444F-80FE-41D2B8F0F62E"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\))
Date: Tue, 25 May 2021 09:52:08 -0700
In-Reply-To: <202105251032405928718@zte.com.cn>
Cc: lsr <lsr@ietf.org>
To: gregory.mirsky@ztetx.com
References: <202105251032405928718@zte.com.cn>
X-Mailer: Apple Mail (2.3654.80.0.2.43)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/KbY5mzGQHMQ0jTAyvPfkLHQ7uUQ>
Subject: Re: [Lsr] LSR WG Adoption Poll for "Flexible Algorithms: Bandwidth, Delay, Metrics and Constraints" - draft-hegde-lsr-flex-algo-bw-con-02
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 May 2021 16:52:40 -0000

Hi Greg,
> Firstly, I am not suggesting it be changed to a nanosecond, but, perhaps, 10 nanoseconds or 100 nanoseconds.
> 

Ok.  The specific precision isn’t particularly relevant to me.  The real questions are whether microseconds are the right base or not, and whether we should shift to floating point for additional range or add more bits.

> To Tony's question, the delay is usually calculated from the timestamps collected at measurement points (MP). Several formats of a timestamp, but most protocols I'm familiar with, use 64 bit-long, e.g., NTP or PTP, where 32 bits represent seconds and 32 bits - a fraction of a second. As you can see, the nanosecond-level resolution is well within the capability of protocols like OWAMP/TWAMP/STAMP. As for use cases that may benefit from higher resolution of the packet delay metric, I can think of URLLC in the MEC environment. I was told that some applications have an RTT budget of in the tens microseconds range.
> 

It’s very true that folks have carried around nanosecond timestamps for a long time now.  No question there. My question is whether it is actually useful. While NTP has that precision in its timestamps, the actual precision  of NTP’s synchronization algorithms aren’t quite that strong.  In effect, many of those low order bits are wasted.

That’s not a big deal, but when we make the base more precise, we lose range.  If we go with 32 bits of nanoseconds, we limit ourselves to a link delay of ~4 seconds. Tolerable, but it will certainly disappoint Vint and his inter-planetary Internet. :-)

We could go with 64 bits of nanoseconds, but then we’ll probably only rarely use the high order bits, so that seems wasteful of bandwidth.

Or we can go to floating point. This will greatly increase the range, at the expense of having fewer significant bits in the mantissa.

Personally, I would prefer to stay with 32 bits, but I’m flexible after that.

Tony