Re: [babel] Zaheduzzaman Sarker's Discuss on draft-ietf-babel-rtt-extension-05: (with DISCUSS and COMMENT)

David Schinazi <dschinazi.ietf@gmail.com> Wed, 14 February 2024 01:57 UTC

Return-Path: <dschinazi.ietf@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C618EC151536; Tue, 13 Feb 2024 17:57:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=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 sFJ2FXwrJMeE; Tue, 13 Feb 2024 17:57:10 -0800 (PST)
Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 67277C14F5EC; Tue, 13 Feb 2024 17:57:10 -0800 (PST)
Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-33cec8c02a1so58793f8f.1; Tue, 13 Feb 2024 17:57:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707875829; x=1708480629; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zO+5aouprUKkhOKza+rOo29Sld1ACsqq0nFUlrZGVOk=; b=buOzNLuNguLAEo8px9/CeIVvIOAq4HmVGuSP04X0eZ0kxhnqI6NIxrQ9gTJ3CyOSJx O55vKXo1h/V8cxFcefmiATopm7lxrvXBB1yWlz+zPIRqATtOCVi8F0asrIHyEvlq+pxu +n13EyzOZJsMxyfIf54SV3qaimxk0zVyIJSApFWP31uLKmfOtrxpv6EqVx9HUIEVypJ+ yrBk6k3CuOjP0KSwUsOinf29VOiWKc7cUnTPHXFXNxGcAuTORVmSlY37HkoQes/nVOzU YRv0Dzxg6iSS+qKXP4vhmIyMchnBK22+7BvLpdsJRTdeHPk0ZfAxxa5HUa3S5RNhtNzO VXxA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707875829; x=1708480629; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zO+5aouprUKkhOKza+rOo29Sld1ACsqq0nFUlrZGVOk=; b=Jn7R0ggCrx9WdBwVARfINQyBS51rDPduJxJZn3sxLsp2ifkxiU6KoIbP2ZM9hwHHin ve6H+m55QtA8CvRrYgZl8u/+kAYptSG+7ZDj2fl4Tv+oUb2nVGuq7tBtGmA0/EX+yiuB fYEW0Fd1SePBySi38YZU0oLAj/iMELuU7XAyvJb+Ec2n8jqV65Sk9rq3npA++cWIbeW2 GOQPX2FWjB0/9IlBVP3qs0E31V8nFjy6Re3DRHgB2Ic/7xobnWREVsvwji2U84lxJ3/C fuuwjKyQWFFwEuca7Ia/ldu83JYMmZRloUE4/1Ju/n0nGuSiYIYR7Lp+s/tqiVRJB6WO SzpQ==
X-Forwarded-Encrypted: i=1; AJvYcCXH1qhGqCQZz43Ey8UDeTcbdyhJwZYkVQqkwjHU/jnY+CEVcLX23yqkWk4LnT8iKl6KdQ7NyMgrWyEgQyhcZ32LGvt5qYHYWc1HYS2yCfNBJ+ifQ/APQbrx+taLIxJVyvv9HEq0W01nx/mcsnASFs41e+k8gvwm+kRJdDWbAr8=
X-Gm-Message-State: AOJu0Yy+8f2WyHMQ6anTVFepz3+SZsC2biR3lw7t9E8hsT1y7s1Cb8KA n04oGN/0uu5FSEDchz5nvuu/JrxPzRxn3LLvf5/MUW0L0HrLytF4282ZYKU51PoqYMWOjh0GYcU gFnlmHhZMY67jRrBa4IDlIPK6VA8=
X-Google-Smtp-Source: AGHT+IHi6JbT4Xm/nL8shPDplcBdMGL1PeGyZ+pcpZsQ0v4xXJgbfSkP86GmN9aytmOHv5sy5khl1lSARbWzoP4W/qw=
X-Received: by 2002:a5d:654e:0:b0:33c:e368:5d49 with SMTP id z14-20020a5d654e000000b0033ce3685d49mr777880wrv.52.1707875828531; Tue, 13 Feb 2024 17:57:08 -0800 (PST)
MIME-Version: 1.0
References: <170787401277.9987.12424865727760301020@ietfa.amsl.com>
In-Reply-To: <170787401277.9987.12424865727760301020@ietfa.amsl.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Tue, 13 Feb 2024 17:56:57 -0800
Message-ID: <CAPDSy+4QuNbL-5mb79Umf5oN2DnLtxD++60Hu9qYjtdkxkJ16Q@mail.gmail.com>
To: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-babel-rtt-extension@ietf.org, babel-chairs@ietf.org, babel@ietf.org, Donald Eastlake <d3e3e3@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000001485f306114dd430"
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/KvQQC24WWTAzJj1yKQ8PFvyXmBM>
Subject: Re: [babel] Zaheduzzaman Sarker's Discuss on draft-ietf-babel-rtt-extension-05: (with DISCUSS and COMMENT)
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Feb 2024 01:57:14 -0000

Hi Zahed,

Thanks for your email. I'm not an author here, but I'm jumping in as a
Babel enthusiast. I have some more specific responses inline, but (and
sorry for saying this), I feel like some of your DISCUSS points might
benefit from reading some portions of RFC 8966 (which I did co-author).
That document defines the Babel protocol and in particular what is required
from a metric in order to maintain the loop-avoidance properties required
for safe operation. I'll add more specific pointers inline. But the
important fact here is that Babel's guarantees are proven mathematically
such that extensions like this one have only a small number of boxes to
check to guarantee safety.

Thanks,
David

On Tue, Feb 13, 2024 at 5:26 PM Zaheduzzaman Sarker via Datatracker <
noreply@ietf.org> wrote:

>
>  # I support Rob's discuss that it is not clear why this is published as
>  standard track document. Apart from what Rob pointed out,


I suggest unifying this part of the conversation on replies to Rob's email:
https://mailarchive.ietf.org/arch/msg/babel/ht1qrWfkTD26YnT9pKCZQxJ71tA/


> there is another
>  place where the experimental nature of this specification is obvious. In
>  section 1 it says -
>
>     "We believe that this protocol may be useful in other situations than
> the
>     one described above, such as when running Babel in a congested wireless
>     mesh network or over a complex link layer that performs its own
> routing;
>     the fine granularity of the timestamps used (1µs) should make it
> possible
>     to experiment with RTT-based metrics on this kind of link layers."
>
>    This shows lack of confidence on the results and request for more
>    experiments. As RTT-based route selection can end up having negative
> impacts
>    by overloading  and congesting low RTT routes, we must run enough
>    experiments and have enough data to declare it safe for the Internet. I
> am
>    lacking the those information.
>

I think you're reading too much into a sentence about potential future
work. This sentence is specific about using this algorithm for something
like 802.11s. The mechanism described in this document has been deployed to
thousands of routers in production for almost a decade.

 # This specification does not specify the relation to other loss-based
> metric
>  and hop-count metric based strategies. I can imagine a network where low
> RTT
>  can be emitted at the cost of packet loss. Will this RTT-based strategy be
>  safe to use?
>

The safety of Babel is guaranteed mathematically if the metrics follow the
properties specified in RFC 8966. See more details here:
https://www.rfc-editor.org/rfc/rfc8966.html#name-metric-computation

 # How would this RTT-based strategy will co-exists with other strategies
> those
>  are deployed already as claimed in this specification? This specification
> need
>  to guide the implementers about what to consider when selecting the
> routing
>  strategy and how the strategies can co-exits.
>

RFC 8966 specifies what properties an implementer needs to guarantee in
order for interoperability and safe operation of the protocol. Can you
clarify what you think is missing here?

 # The periodicity of HELLO message is not clear to me. This is an important
>  piece of information that should be derived from proper experiments as we
>  don't want the HELLO message to overload the route or path. The
> discussion on
>  when to stop sending those HEllO messages is required.  Also the
> frequency of
>  the HELLO message might help adjusting the clock drift, as it is an
> important
>  aspect of the accuracy of the algorithm.
>

This is specified in RFC 8966:
https://www.rfc-editor.org/rfc/rfc8966.html#section-3.4.1

----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> I was also wondering how does A calculate the RTT towards D via B and C?
> does
> it only computes the RTT between itself and B and compares with that with
> C, or
> does it some how knows the whole end to end RTT? this part is also under
> specified or I have certainly missed it.
>

Babel is a distance-vector protocol. It doesn't need to know end-to-end
RTTs. Only local costs and end-to-end metrics are propagated through the
network. Metric computation is defined in RFC 8966:
https://www.rfc-editor.org/rfc/rfc8966.html#section-3.5.2