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

Michael Richardson <mcr+ietf@sandelman.ca> Mon, 07 May 2018 16:06 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 D7337126DFF for <roll@ietfa.amsl.com>; Mon, 7 May 2018 09:06:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 zN8f03P3zHUx for <roll@ietfa.amsl.com>; Mon, 7 May 2018 09:06:09 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00CC2120726 for <roll@ietf.org>; Mon, 7 May 2018 09:06:08 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id E1B9D20090 for <roll@ietf.org>; Mon, 7 May 2018 12:17:51 -0400 (EDT)
Received: by sandelman.ca (Postfix, from userid 179) id B9BAE2DA3; Mon, 7 May 2018 12:05:53 -0400 (EDT)
Received: from sandelman.ca (localhost [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id B772B2CB9 for <roll@ietf.org>; Mon, 7 May 2018 12:05:53 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
In-Reply-To: <982B626E107E334DBE601D979F31785C5DBE374F@BLREML503-MBX.china.huawei.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>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha1"; protocol="application/pgp-signature"
Date: Mon, 07 May 2018 12:05:53 -0400
Message-ID: <23345.1525709153@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/Efc_0BvaRWRRt_aZodG65lbRDEA>
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, 07 May 2018 16:06:11 -0000

Rahul Arvind Jadhav <rahul.jadhav@huawei.com> wrote:
    > That's a good point you made about DTSN not been a lollipop counter
    > (this was clearly misinterpreted by us and others in
    > implementations). Section 7 explains "Sequence Counters" but DAO
    > Trigger Sequence Number (DTSN) is not considered as sequence counter in
    > that section!! 

    mcr> I looked again, and I don't see anything about DTSN being a lollipop
    mcr> counter that starts at 240, and wraps at 239.  That would, I think
    mcr> make it clear when a node has booted, and maybe that solves the
    mcr> problem. 

    > [RJ] Very interesting point. We assumed that DTSN is a lollipop counter
    > in our implementation. But looks like it is not. Section 7 explicitly
    > states that only DAOSequence, DODAGVersionNumber, and Path Sequence are
    > lollipop counters ... Looks like we read the spec wrong, also Contiki
    > (including ng) has got it wrong (i.e. uses lollipop counter for
    > DTSN). RIOT (rightly as per spec) does not assume lollipop counter for
    > DTSN.
    
    > I think DTSN needs to be a lollipop counter which alleviates the
    > problem but still does not completely avoid the persistent storage
    > (discussed in other mail in same thread). This point should be added to
    > the draft.

So I think that the errata against 6550 is that it should be a lollipop
counter, and I think that this solves the reboot problem, and eliminates
having to write it to flash.

-- 
]               Never tell me the odds!                 | ipv6 mesh networks [ 
]   Michael Richardson, Sandelman Software Works        | network architect  [ 
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [