Re: [6tisch] Questions on RPL Settings in RFC 8180

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Wed, 05 September 2018 07:04 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD8C3130E08 for <6tisch@ietfa.amsl.com>; Wed, 5 Sep 2018 00:04:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 zrtn8wpyufOT for <6tisch@ietfa.amsl.com>; Wed, 5 Sep 2018 00:04:34 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2E7F130E57 for <6tisch@ietf.org>; Wed, 5 Sep 2018 00:04:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6590; q=dns/txt; s=iport; t=1536131073; x=1537340673; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=MoSQYs0a5ASVoUxGkcwqas+FnQW1eHMXy8Q9sQR0aTM=; b=aM25Kj5QJ7plnzCxYM9OOULU3dQq7yiI4xr6IZbXrixqBpDYFZGKCopE qwW6JnxUfSh05nxLohURGu0t+7CXU1iDrQ6MnxAGuKDLyb4/xhrcx0dFG Ct/xAF126pBqbgV6JzBJZ93bFVRoUm0i0sJSOlj/UdG7G635CvRdqA0uG E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DjAQD5fo9b/4gNJK1bGQEBAQEBAQEBAQEBAQcBAQEBAYNOZX8oCoNoiBKMMoINgz2ScIF6CxgLhANGAheDKiE0GAECAQECAQECbRwMhTcBAQEEAQEhEToLDAQCAQgRBAEBAQICJgICAiULFQgIAgQOBQiDGoIBD6MOgS6ELgGFVgWBC4lNF4FBP4ESgReBTS6BQYFaAQECAYRfglcCm1gJAoYziT0fjlqLKogZAhEUgSQdOIFVcBU7gmyLFYU+bwEBjGKBHAEB
X-IronPort-AV: E=Sophos;i="5.53,332,1531785600"; d="scan'208";a="444726627"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Sep 2018 07:04:32 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by alln-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id w8574Whg009683 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 5 Sep 2018 07:04:32 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 5 Sep 2018 02:04:32 -0500
Received: from xch-rcd-001.cisco.com ([173.37.102.11]) by XCH-RCD-001.cisco.com ([173.37.102.11]) with mapi id 15.00.1367.000; Wed, 5 Sep 2018 02:04:31 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
CC: "6tisch@ietf.org" <6tisch@ietf.org>
Thread-Topic: [6tisch] Questions on RPL Settings in RFC 8180
Thread-Index: AQHUOx7w1BLw+18cWk+KaCmoiUOFR6TTstZwgAANpPCAAXbaAIAMHzhg
Date: Wed, 05 Sep 2018 07:04:28 +0000
Deferred-Delivery: Wed, 5 Sep 2018 07:04:11 +0000
Message-ID: <57abf2e8db6f4d87946e1b1d9bd7364a@XCH-RCD-001.cisco.com>
References: <750B2894-1067-4F5E-A634-CCCF7AB558E8@inria.fr> <06d1d639218b45ada5310e49f19612f6@XCH-RCD-001.cisco.com> <378A175E-B86B-492B-BB63-7B82F9F34491@inria.fr>
In-Reply-To: <378A175E-B86B-492B-BB63-7B82F9F34491@inria.fr>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.61.91.131]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.37.102.13, xch-rcd-003.cisco.com
X-Outbound-Node: alln-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/XDPicw6zY2BNf_GRtYrC_WcvO1c>
Subject: Re: [6tisch] Questions on RPL Settings in RFC 8180
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Sep 2018 07:04:36 -0000

Agreed, Yatch.

Can the authors have a look and propose a resolution?

Then we'll see how to publish the fix.

Many thanks

Pascal

> -----Original Message-----
> From: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
> Sent: mardi 28 août 2018 10:56
> To: Pascal Thubert (pthubert) <pthubert@cisco.com>
> Cc: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>; 6tisch@ietf.org
> Subject: Re: [6tisch] Questions on RPL Settings in RFC 8180
> 
> Hi Pascal,
> 
> pascal> Maybe we could amend/ERRATA the RFC to recommend different
> settings.
> 
> It'd be nice to have some amendment or an errata entry for the following
> sentence.
> 
> rfc8180> (5.3.  Trickle Timer, RFC 8180)
> rfc8180>
> rfc8180> For this specification, the Trickle timer MUST be used with the
> rfc8180> RPL-defined default values (see Section 8.3.1 of [RFC6550]).
> 
> At least, "MUST" in this sentence should be replaced with something, in my
> opinion.
> 
> Best,
> Yatch
> 
> 
> > On Aug 27, 2018, at 17:45, Pascal Thubert (pthubert) <pthubert@cisco.com>
> wrote:
> >
> > Starting a discussion on your last point, Yatch:
> >
> > RFC 6206 says:
> >
> > "
> >   Finally, a protocol SHOULD set k and Imin such that Imin is at least
> >   two to three times as long as it takes to transmit k packets.
> > "
> > By default k n RPL is set to very conservative
> DEFAULT_DIO_REDUNDANCY_CONSTANT of 10, so there is not suppression
> unless there is a high density.
> > So with the 1.01s slotframe, RFC 6206 recommends that Imin should be 20
> to 30 seconds...
> >
> > Maybe we could amend/ERRATA the RFC to recommend different settings.
> >
> > What do others think?
> >
> > Pascal
> >
> >> -----Original Message-----
> >> From: Pascal Thubert (pthubert)
> >> Sent: lundi 27 août 2018 17:29
> >> To: 'Yasuyuki Tanaka' <yasuyuki.tanaka@inria.fr>; 6tisch@ietf.org
> >> Subject: RE: [6tisch] Questions on RPL Settings in RFC 8180
> >>
> >> Hello Yatch
> >>>
> >>> (1) Rank Computation
> >>>
> >>> RFC 8180 says:
> >>>
> >>> rfc8180> 5.1.1.  Rank Computation
> >>> rfc8180> (...)
> >>> rfc8180> Sp SHOULD be calculated as (3*ETX)-2.  The minimum value of
> >>> rfc8180> Sp
> >>> rfc8180> (MINIMUM_STEP_OF_RANK) indicates a good quality link.  The
> >>> rfc8180> maximum value of Sp (MAXIMUM_STEP_OF_RANK) indicates a
> poor
> >>> rfc8180> quality link.  The default value of Sp
> >>> rfc8180> (DEFAULT_STEP_OF_RANK) indicates an average quality link.
> >>> rfc8180> Candidate parents with ETX greater than 3 SHOULD NOT be
> selected.
> >>>
> >>>  https://tools.ietf.org/html/rfc8180#section-5.1.1
> >>>
> >>> MAXIMUM_STEP_OF_RANK is defined to 9. Why?
> >>>
> >> [PT>] This is defined in OF0. 9 denotes a worst possible quality that
> >> is still acceptable and makes it equivalent to 9 hops at the best
> >> quality for that technology.
> >> The number enables 7 hops at the worst rank factor (4) and with the
> >> worst quality.
> >>
> >>
> >>> Sp is calculated as (3 * ETX) - 2 and the worst acceptable ETX is 3.
> >>> It looks like 7 is the possible largest value of Sp...
> >>>
> >> [PT>] True, so we never reach 9 and stay compatible with OF0. I guess
> >> the max ETX of 3 is arbitrary, we could have gone up to 11/3...
> >>
> >>
> >>> (2) Trickle Timer
> >>>
> >>> RFC 8180 says:
> >>>
> >>> rfc8180> 5.3.  Trickle Timer
> >>> rfc8180> (...)
> >>> rfc8180> For this specification, the Trickle timer MUST be used with
> >>> rfc8180> the RPL-defined default values (see Section 8.3.1 of [RFC6550]).
> >>>
> >>>  https://tools.ietf.org/html/rfc8180#section-5.3
> >>>
> >>> So, Imin for DIO Trickle timer starts with 8 ms, which looks too
> >>> short for the minimal TSCH schedule where one shared cell in a
> >>> slotframe of 1.01s. This setting could cause congestion by DIO traffic...
> >>>
> >>> Why is this default value (DEFAULT_DIO_INTERVAL_MIN) reasonable for
> >>> the 6TiSCH minimal configuration...?
> >> [PT>]
> >> [PT>] I agree that this needs discussion. Note that the minimal
> >> schedule of 1.01s is just an example.
> >> The initial value of I (see RFC 6206) is between Imin and Imax. With
> >> the default, that is between 8ms and 2.3 hours. Hopefully I is not
> >> always 8ms! The DIO will not fire before I/2.
> >> I agree we should use a somewhat higher Imin, but then that pushes
> >> Imax to the say and I may be set to that.
> >> IOW I'd have liked to restraint the initial setting of I to something
> >> in between, like between a few seconds and a few minutes while
> >> keeping Imax to 2^20 times Imin.
> >>
> >> Take care,
> >>
> >> Pascal
> >>> _______________________________________________
> >>> 6tisch mailing list
> >>> 6tisch@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/6tisch