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

Rahul Jadhav <rahul.ietf@gmail.com> Thu, 03 May 2018 00:41 UTC

Return-Path: <rahul.ietf@gmail.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 669C3127078 for <roll@ietfa.amsl.com>; Wed, 2 May 2018 17:41:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MS8-4bZducmc for <roll@ietfa.amsl.com>; Wed, 2 May 2018 17:41:33 -0700 (PDT)
Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CDB52127241 for <roll@ietf.org>; Wed, 2 May 2018 17:41:32 -0700 (PDT)
Received: by mail-vk0-x235.google.com with SMTP id j7-v6so10079166vkc.9 for <roll@ietf.org>; Wed, 02 May 2018 17:41:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1eOhZNsyI5IZ71a1ce3PM1yglG8CKxPB0DcQuwJKrXw=; b=jTpHW0Kf2QoCjNY4NmNNSCVV8AwN4M17Mck41VTSWXOk16vVudEfNiCRCgp9PT/yDm YhwAwvWIUmPHRYfqd/oPsY8Ga60pYrehnnrK2Wg1bZd3YwfNSiiJXshn9AfM7yumKRsO f4PT2Ss2UsVh6rAxIHBHI9zJ9ZPOPqUoKTWwei1lpEwenWVfkZJlWVxSvI4A6vgJ19yJ ZIoEY9teDNZuRvQbkl5uHN5ujE6uNX/Oq7uF/RE1uNWvcwd9Byk3ofEfyuKF5kM9nEiR 9+D/Qn38Ljg5ffM1cl9LH2rfWMSG+bxWN7CQV9iFdjOph0hS0zPw9aiv/EklGvp8CYIY GY6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=1eOhZNsyI5IZ71a1ce3PM1yglG8CKxPB0DcQuwJKrXw=; b=Tph/KlgqvFv+SzNHlvp1p1RQN6uMW47bioMv8z6A+Z3Rm1VSjcZu7LQcBOIpb84dcP eW1LDgkxc0EdnubUBqA+ZQryJKMCvicoxOwPLYSIlU27r/EFUaCXFqgN9NDC5bEq+4mv p4S3wjPb29U1rH2Q7q4YBGKU8uIXGPTxFt8GtZeSUv37rhlhaKYVrTjGWhBHNtGeOEkY dtxZFZCdJGEKS0wVhTlPYgAcjdxZeeoToJex2QxL5tm3GF/L9tASqij66etAPb+ukP90 RnBkVflY1IAlmE0915APyEFHglCWLEPhjpxlYOvW23ojdq4qQuQHuu3sdnyMfcqkEZeo X3zg==
X-Gm-Message-State: ALQs6tCPAcEgI6ZhBqR9E/wQBcjeVebML6tE9YqYeWVa7mXMb3Z9jLye kiWrMFMHbA6HZ4vYw4uQsD9el5Y+aoTT6eceuyA=
X-Google-Smtp-Source: AB8JxZqD5VJyr6ljSNm91Vien5eL8+rR4Vz8rnMhXR1j7j16oBPIYTWxsrgng7qYrJeC0PzACs70YXkdCceohlNNStE=
X-Received: by 2002:a1f:5e51:: with SMTP id s78-v6mr16731954vkb.140.1525308091703; Wed, 02 May 2018 17:41:31 -0700 (PDT)
MIME-Version: 1.0
References: <8EC2893F-731B-439D-86FE-984505349D8D@tzi.org> <982B626E107E334DBE601D979F31785C5DBCD1B4@BLREML503-MBS.china.huawei.com> <22477.1525301358@localhost>
In-Reply-To: <22477.1525301358@localhost>
From: Rahul Jadhav <rahul.ietf@gmail.com>
Date: Thu, 03 May 2018 00:41:21 +0000
Message-ID: <CAO0Djp1sCSFJSZSbVNL+RLgV2FrjwZQrJ6p-9ExndMbQqua-QA@mail.gmail.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000faa7a9056b42766c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/YWhELcn4Dl0Vc9b10bF6orRZHmw>
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: Thu, 03 May 2018 00:41:35 -0000

On Thu, 3 May 2018 at 4:49 AM, Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> I think that I don't remember why a node needs to save the DTSN across
> reboots.


[RJ] dtsn is for triggering the dao from downstream nodes. If the child
nodes do not see a new dtsn from the parent then they won't send dao and
thus routing state for the (sub)childs won't be added for any child nodes
 on the restarted 6lr.
An example,.... the 6lr dtsn was 245 when it got restarted and on restart
it sets its dtsn to default 240... Now the child nodes (they have stored
245) don't respond to the DIOs because they see an older dtsn(value 240).
Thus no DAOs are triggered causing no routing state to be installed on
restarted 6lr for the (sub)childs resulting in unavailability of downstream
path to the subdodag rooted at that 6lr.

(I hate being away from code for so long that I forget these
> things, I wish I could spend more time writing code)
>
> I think that in storing mode, that a node can set it's DTSN to whatever
> value
> is sees in the parents' DIO, and increment from there.


[RJ] i do not think that a node infers or should infer its dtsn from
parents dio... Per section 7.2 of 6550, the default dtsn should be set to
240 (assuming sequence window of 16).


>
> I'm confused as to why any node other than the root needs it to be stored
> in
> flash?   I do not think it should be required to store info in flash.


[RJ] this is true only for non storing mop but for storing mop the 6lrs
needs to remember for the reason mentioned above.

>
> (OSPF doesn't require this...)
> This also makes it hard to replace hardware in the field, or do firmware
> updates if we have to keep this kind of data around.


[RJ]true

>
>
> Can we expand 7.1 to better explain what is written, and why?


[RJ] sure will do.


>
> --
> ]               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    [
>
>
> _______________________________________________
> Roll mailing list
> Roll@ietf.org
> https://www.ietf.org/mailman/listinfo/roll
>