Re: [Roll] draft-rahul-roll-rpl-observations-00 Section 2.1: Wear leveling

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Mon, 14 May 2018 07:43 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03BED12D7F6 for <roll@ietfa.amsl.com>; Mon, 14 May 2018 00:43:43 -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_MED=-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 iWt41B-eORGs for <roll@ietfa.amsl.com>; Mon, 14 May 2018 00:43:41 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3325F1200E5 for <roll@ietf.org>; Mon, 14 May 2018 00:43:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3380; q=dns/txt; s=iport; t=1526283821; x=1527493421; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=lI74tGaxVgA4b/z3k7N4GBxs7lROjuEpq+529nHeYkU=; b=L1mEDnDnuM7BNT++9QPYj5EhPmy6n/Z4h8lXyUTsHxFQQSoYnuYD9KNG Jn+z/Z0r93lCaNtjs4+2NHAA1sOd1U305l6EHa72ea7xLbxB1jZeSsgf9 +45mH5utuesSh60n5zeNdwUW1kN7y02O7wwNqtgAqrty0FX3D/Fs7WH57 s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AyBADdPPla/5FdJa1cGQEBAQEBAQEBAQEBAQcBAQEBAYNDgVwoCoNolHCBeYEPkzIUgWQLhGwCGoJvITYWAQIBAQEBAQECbCiFKAEBAQMBIxFRBAIBCBEEAQEBAgImAgICMBUICAIEEwiFFAipcoIciDyCJ4EJhxyBVD+BD4MLhFcFgxeCVAKYNgkCiDmGDox3kDwCERMBgSQBIwwlgVJwFTuCQ5BOb49LgRgBAQ
X-IronPort-AV: E=Sophos;i="5.49,399,1520899200"; d="scan'208";a="394850998"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 May 2018 07:43:40 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by rcdn-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id w4E7he9N014386 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Mon, 14 May 2018 07:43:40 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 14 May 2018 02:43:39 -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.1320.000; Mon, 14 May 2018 02:43:39 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] draft-rahul-roll-rpl-observations-00 Section 2.1: Wear leveling
Thread-Index: AQHTwciVQsGzK7ypcECrCDATupfKUqQN4y+QgA8MpwCAAB9OgIAAdwaAgABf3gCAAAH3AIAAPNoAgAW+F5CAASfcgIAAA82AgAVc0ZCAAqsXgP//vUuTgAGyuQCAAKH3AA==
Date: Mon, 14 May 2018 07:43:36 +0000
Deferred-Delivery: Mon, 14 May 2018 07:42:43 +0000
Message-ID: <9c4a25822585452cada1658f0bf7ee8e@XCH-RCD-001.cisco.com>
References: <8EC2893F-731B-439D-86FE-984505349D8D@tzi.org> <982B626E107E334DBE601D979F31785C5DBCD1B4@BLREML503-MBS.china.huawei.com> <22477.1525301358@localhost> <CAO0Djp1sCSFJSZSbVNL+RLgV2FrjwZQrJ6p-9ExndMbQqua-QA@mail.gmail.com> <0522ea86b4234490bdd56b1428db0762@XCH-RCD-001.cisco.com> <29982.1525354228@localhost> <685a615a79e8442f9f7b19983ef2a36d@XCH-RCD-001.cisco.com> <25461.1525367718@localhost> <982B626E107E334DBE601D979F31785C5DBE374F@BLREML503-MBX.china.huawei.com> <23345.1525709153@localhost> <CAO0Djp3a2AXMC3ORDhTGbyhwr09nw+8poDeQL03V7t2Bksp-bQ@mail.gmail.com> <b3265ca6f74545468c00007dadaa0fb7@XCH-RCD-001.cisco.com>, <17986.1526151471@localhost> <5BEB0BFF-8BA1-4D6D-83DA-AC75F8AD4AEC@cisco.com> <22387.1526230502@localhost>
In-Reply-To: <22387.1526230502@localhost>
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.87.23]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/d0pGHMNnlGXgnip3h4qUaDjoA0o>
Subject: Re: [Roll] draft-rahul-roll-rpl-observations-00 Section 2.1: Wear leveling
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/roll/>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 May 2018 07:43:43 -0000

Hello Michael:

> -----Original Message-----
> From: Roll <roll-bounces@ietf.org> On Behalf Of Michael Richardson
> Sent: dimanche 13 mai 2018 18:55
> To: Routing Over Low power and Lossy networks <roll@ietf.org>
> Subject: Re: [Roll] draft-rahul-roll-rpl-observations-00 Section 2.1: Wear
> leveling
> 
> 
> Pascal Thubert (pthubert) <pthubert@cisco.com> wrote:
>     > The default of 16 points in the straight line is there to cover
>     > multiple losses in a row; 16 may be too large for a reliable Mac like
>     > TSCH in which case a node may start at another value, e.g.,
>     > 250. Starting at 255 looks optimistic though. In case of a loss numbers
>     > will move to the circular part and will be uncomparable.
> 
> okay, so with TSCH it would make sense to start a higher number?

[PT>] Yes, I think so. It also depends on the chances to reboot again soon.

>     > It is not really that the node is stable that counts but that all other
>     > nodes got a chance to see that this node as rebooted so they can reset
>     > their reference value and keep numbers comparable.
> 
> Yes, agreed.
> The goal is to have a way for children to see that the node is freshly rebooted
> and to reset their threshold.
> 
>     > I’m happy to pursue this discussion to see more clearly than I do now;
>     > at this point I still do not see what change we could make - and why -
>     > to the sequence counter behavior...
> 
> Maybe there is no change, but you claim the DTSN does need to be written to
> flash, and Rahul says that it must be.   (Correct me if my understanding is
> wrong).
> A protocol which does not require flash writes is clearly better.
> 
[PT>] There is DTSN and there are all the other numbers. The hints I'm giving above are for general sequence counters in RPL.
DTSN is in fact simpler since it is not propagated by the protocol over multiple hops. A node that talks one-to-one with another will hopefully not receive packets out of order - unless packets can mix up in the transmitter queues? So literally any change in the DTSN could be seen as a new DTSN, regardless of whether the new value is higher or lower. We may improve the text in RPL to indicate that; Not sure we really need to list it in section 7 after all. Maybe we need more thoughts/reread of the spec, but it feels like DTSN can be started at boot at any random value and any change in DTSN is a pull.

Cheers,

Pascal