Re: [babel] Alvaro Retana's Discuss on draft-ietf-babel-rfc6126bis-12: (with DISCUSS and COMMENT)

"Vigoureux, Martin (Nokia - FR/Paris-Saclay)" <martin.vigoureux@nokia.com> Fri, 18 October 2019 22:17 UTC

Return-Path: <martin.vigoureux@nokia.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 7D61212008B; Fri, 18 Oct 2019 15:17:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 wZwMB4NYY8Ln; Fri, 18 Oct 2019 15:17:03 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130118.outbound.protection.outlook.com [40.107.13.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8502120122; Fri, 18 Oct 2019 15:17:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G8KbT6ZlA0w7C/oFd+gALwJewlPj2wpwcdqkJoN37mKXj7QiGuEQSD4taMR0zx9yW8rvVfNIZPpExZKI7+F/Kux1VIufrLJTDVay8PL8UJgszBbzlOM4YPVGVuEAaZkp9WwO2HfwzX17N9I4rj8lfycrNCScu9UuPvcB8Yn9pWZpeiuFDli7wyVIrjiXStqZqflbBbmzyG+gCv1XToO7iwJg+OWv5Ol+OAcKz5UWPTOC07zKTKes4qJo87DYlRx4+8P3haVkJ70OIiaiQKIf62MIbPr0lJGVYrY8s1dZkq5RUI1QylTVXpdSvh6QjAo5RA4J3WnDb5QIW7xCg8fPkA==
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-SenderADCheck; bh=TzR0XAytfmMEMUdvOhOTsYba26aorr/OITHYX7Axt6o=; b=FV38xzYncZY8PmUSyVWNMm4TmwIPEA4ARW+whyg8KuLiPc3w/2s/aeuOd5prIz2POALPXh/O5diaRdTadCenz+2OijwMS/PyVb8SzY80lozZFfseb5IQhZMltWXPnh0zhaHV2Gg450iad7ggtnQDd0BS6aVjz0/M2YSJdj6WSgZ4GafpyMMOH0Jmu+Eod02eTm75rYlL+ZbBg0cWAqPL0SjJn1hULuI/rx28/8I7WcEc5tUTFWwZqNR214xul8rSxKVNCXgfZmrn0HPRVGg5rBp5kUbwc7/Sv1e1kfdIe5BurLGbY9W7fqs3V1rhrjSZ/3IDy1HHQxX4/iWC+YuvHg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TzR0XAytfmMEMUdvOhOTsYba26aorr/OITHYX7Axt6o=; b=C+J+CpIr5Dpq6fNy0A/9sE5F+8Q36+6GfaJs87o5BmXhpok2DpuWZbXxl0vGKkMiRvBL/85bSlWa/bBQtp/pOJDIliU3SKKDxVv7TcymolezvkvMBuBl46tvHeEp0agRSp5iosUT8vHYMlCbAsG7crF/7OAZhCBpg4cMWY7O7jM=
Received: from DB7PR07MB5751.eurprd07.prod.outlook.com (20.177.123.142) by DB7PR07MB4812.eurprd07.prod.outlook.com (20.178.40.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.17; Fri, 18 Oct 2019 22:16:59 +0000
Received: from DB7PR07MB5751.eurprd07.prod.outlook.com ([fe80::1525:28cf:d017:f339]) by DB7PR07MB5751.eurprd07.prod.outlook.com ([fe80::1525:28cf:d017:f339%7]) with mapi id 15.20.2367.019; Fri, 18 Oct 2019 22:16:59 +0000
From: "Vigoureux, Martin (Nokia - FR/Paris-Saclay)" <martin.vigoureux@nokia.com>
To: Juliusz Chroboczek <jch@irif.fr>, Alvaro Retana <aretana.ietf@gmail.com>
CC: "babel-chairs@ietf.org" <babel-chairs@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>, "draft-ietf-babel-rfc6126bis@ietf.org" <draft-ietf-babel-rfc6126bis@ietf.org>, The IESG <iesg@ietf.org>, "babel@ietf.org" <babel@ietf.org>
Thread-Topic: Alvaro Retana's Discuss on draft-ietf-babel-rfc6126bis-12: (with DISCUSS and COMMENT)
Thread-Index: AQHVhgHCleW6vcVMKEC395titLiQqQ==
Date: Fri, 18 Oct 2019 22:16:59 +0000
Message-ID: <027b816e-e153-98fd-0d34-b8f529afa541@nokia.com>
References: <156518456148.8400.6644665367614468260.idtracker@ietfa.amsl.com> <875zn685ne.wl-jch@irif.fr> <CAMMESsyGX+L7+d6mLmh=xBiXvkcev8DPgVTBf5zLeo3mjKRfBg@mail.gmail.com> <87lftikopq.wl-jch@irif.fr>
In-Reply-To: <87lftikopq.wl-jch@irif.fr>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.228.2.20]
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
x-clientproxiedby: PR0P264CA0181.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1c::25) To DB7PR07MB5751.eurprd07.prod.outlook.com (2603:10a6:10:56::14)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=martin.vigoureux@nokia.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ffbc36cc-363b-447d-87d0-08d75418e4dc
x-ms-office365-filtering-ht: Tenant
x-ms-traffictypediagnostic: DB7PR07MB4812:
x-microsoft-antispam-prvs: <DB7PR07MB48120DACDD1E9656322FE5E98C6C0@DB7PR07MB4812.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01949FE337
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(376002)(136003)(396003)(39860400002)(346002)(199004)(189003)(4326008)(486006)(2906002)(6436002)(76176011)(102836004)(25786009)(65956001)(65806001)(14444005)(66066001)(229853002)(36756003)(7736002)(256004)(6246003)(86362001)(81156014)(5660300002)(66556008)(66476007)(66946007)(64756008)(66446008)(6486002)(8936002)(3846002)(6116002)(99286004)(31696002)(58126008)(186003)(81166006)(8676002)(386003)(26005)(478600001)(6512007)(52116002)(6506007)(4001150100001)(31686004)(316002)(446003)(54906003)(14454004)(71200400001)(71190400001)(66574012)(305945005)(2616005)(11346002)(110136005)(476003); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB4812; H:DB7PR07MB5751.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: wymVsaVzTeeMndGPUFdbZpBEcjn8Mpa5bqaQOshuYhJPPVcs7OWQOlYIAb3cOmU41+hNt32RU1RelCJ+t1aQU1JeoXWAHrv9bP61PlgB0nGaiyc3A8QV/RvMQw16RVvu0doAfWvPyVJWcjwivkT3qUgVCptJkR0k0ZEJX9mmkkycFDOug/vTV1wrE9tgTpW7xZ4sJm9lg1qOVJ7VqmyVTIcZZQ/x0xbrKWvFxepYjBdh/D4uE6P8AAVDNl6Ra7yFZL2PawJEQZ1Vze5mMlIvPKxB5qv9URiuJjJ2uUrqTGD9gkzfawGZPCdQWSNeDq3q8ohXtfllH4fDKSoGaFLHKBDQwwPJlExjrQTug/uiImdD+LAR6rR1g1Rby6p4dvoXj+Pn8y8g1F5sp6FMdix0A8KZGhrabxjOreMQfbRwIQ4=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <8560A7637AE1A042AE5B2590DE16BB44@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ffbc36cc-363b-447d-87d0-08d75418e4dc
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2019 22:16:59.4389 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: XbWnREeHvueLqtrlQSK9b8SD/XPI+Rz6MeESkQHG6x1Xh0cS4q1iWEIyJE5imdpVUkU4nEhXwfqhYbB130ChzyovPXVhjpqBDO3AqZUTh0Q=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB4812
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/9JvpKRKG8Fj65ghnfytZxiYzaWE>
Subject: Re: [babel] Alvaro Retana's Discuss on draft-ietf-babel-rfc6126bis-12: (with DISCUSS and COMMENT)
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 18 Oct 2019 22:17:05 -0000

Juliusz,

thanks again.
Based on my understanding of the discussions with Alvaro, the pending 
points were:
(A) he was expecting a RECOMMENDED route selection algo and this could 
for example be the most common algo in babel implems. I'm not sure if 
A.4 strictly addresses that.

(B) the “Plen MUST be 0” issue

(C) is resolved

-m

Le 2019-10-18 à 18:22, Juliusz Chroboczek a écrit :
> Dear Alvaro,
> 
> Unless I'm mistaken, I have not received a reply to my mail of 21 August.
> Thus, I have no idea whether you found my explanation of the issues
> related to route oscillation convincing.
> 
> I have just added the following appendix to the document, and referred to
> it in the (normative) section about route selection.  Please let me know
> if it satisfies you, and if it does not, please explain what more you
> would like me to do.
> 
> A.4.  Route selection
> 
>     Route selection (Section 3.6) is the process by which a node selects
>     a single route among the routes it has available towards a given
>     destination.  With Babel, any route selection procedure that only
>     ever chooses feasible routes with a finite metric will yield a set of
>     loop-free routes; however, not all route selection policies will
>     yield good reasults.
> 
>     The obvious route selection procedure is to pick, for every
>     destination, the feasible route with minimal metric.  When all
>     metrics are stable, this strategy leads to convergence to a tree of
>     shortest paths (assuming the metric is left-distributive).  There are
>     two reasons, however, why this strategy leads to instability in the
>     presence of continously varying metrics such as ETX (Appendix A.2.2).
>     First, if two parallel routes oscillate around a common value, then
>     the smallest metric strategy will keep switching between one and the
>     other.  Second, when a route is selected, congestion along it
>     increases, which may increase packet loss, which in turn causes its
>     metric to increase; this is a feedback loop, of the kind that is
>     prone to cause persistent oscillations.
> 
>     A simple strategy to avoid this kind of instabilities is to only
>     switch routes when the target route's metric is smaller by some
>     constant K than the currently selected metric.  However, this
>     approach is difficult to tune well: if K is too small, then it fails
>     to avoid oscillations, and if it is too large, then it leads to sub-
>     optimal routing.  A better strategy is to apply hysteresis
>     (sensitivity to a route's history) to the route selection algorithm.
>     The following hysteresis algorithm appears to yield good results with
>     a variety of metrics.
> 
>     For every route R, in addition to the route's metric m(R) maintain a
>     smoothed version of m(R) written ms(R) (we suggest computing ms(R) as
>     an exponential average of m(R) with a time constant proportional to
>     the Hello interval).  If no route to a given destination is selected,
>     then select the route with the smallest metric, ignoring the smoothed
>     metric.  If a route R is selected, then switch to a route R' only
>     when both m(R') <m(R) and ms(R') <ms(R).
> 
>     Intuitively, the smoothed metric is a long-term estimate of the
>     quality of a route.  The algorithm above works by only switching
>     routes when both the instananeous and the long-term estimate of the
>     route's quality indicate that switching is profitable.
> 
>