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

rabi narayan sahoo <rabinarayans0828@gmail.com> Fri, 04 May 2018 08:15 UTC

Return-Path: <rabinarayans0828@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 AA2B21241FC for <roll@ietfa.amsl.com>; Fri, 4 May 2018 01:15:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 w6GyBSo4CwfJ for <roll@ietfa.amsl.com>; Fri, 4 May 2018 01:15:57 -0700 (PDT)
Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (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 EB927127444 for <roll@ietf.org>; Fri, 4 May 2018 01:15:56 -0700 (PDT)
Received: by mail-io0-x22e.google.com with SMTP id z4-v6so24722984iof.5 for <roll@ietf.org>; Fri, 04 May 2018 01:15:56 -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=SyeOTRjX/650MCJxKC3cDEa4KkD8DRCOuP/BWBCzoAU=; b=ujGaVcuT9YQ/v+7JiMcMvCFgBjUMcQh9JC2ZhEVgGHQ063x9Xku49b3RphXw24YXTf qzOBgy8Bl8KTczcRWVNSOkXb3+hMTtsIZhJgMmHsh+krwSSbKU3GLtf9f+uoVwmrt3US 5EvITWlPUQgqh91fjFsIxk1+QAlc44uBJ21PV5d3LbtczVZWuiQL+bMz8qb94b/SeU42 eT8XcxT2IXsMO/O3f2ogXWg2KdKYDdyu8jqjkpcyH9H0L0YHZwf8a7jC8wdA6sAiG658 05cKlV2EfCq58T9LlhAirdPg6DH+kekvBgc+U6rCSOwYFOqskaf8a7vJFgHwDN8TuoGj h8Sw==
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=SyeOTRjX/650MCJxKC3cDEa4KkD8DRCOuP/BWBCzoAU=; b=Q0TbjgBYqlY+9kP3jgpzik9CA//Hr5hMznaKIv3omo63vMuxCA5UwldsMLeXsOydq/ xrYFT/2uudQbHgDRHUt3yLbez3lSOiKGXfzdHefBlwX8cnIf5sGoJ5mRFA6Xaa5P3MrH atpZTdqIPLXLBzfncf9hPXMtB3nMQpArx6aWPRPp+OCFGyuQb4XcQwwCNia3KiVZNbt5 q7OE9+gzscNMzMw2/ht+YdouyHVsFR2XsdrgBBHl17hURosAVb9+ekhu8i3/YSkuBETZ P+Smt5coAhHBJvayRtl7EKDQsTHZmOwlMA83q23vQ80Y7+gcQAontJzl9noXzIEoY6x2 gJtg==
X-Gm-Message-State: ALQs6tAIqL25T/DJhfUZGj3z+UulTgvffNuCSlku1a1/i/9R0ecpUkFr 7fqOuluRvO3c8+Wt6Dok5ccC+gojaXq8lYhuDAE=
X-Google-Smtp-Source: AB8JxZpK9lZgzdgAVxpOhCa0KFnZ0cGSLgJ7uV+H2UrSUaBnumTRXTf1BoBFxuICFTgO97wVuFehxcoK/F22aBUm5Nk=
X-Received: by 2002:a6b:13a1:: with SMTP id 33-v6mr30128257iot.9.1525421756019; Fri, 04 May 2018 01:15:56 -0700 (PDT)
MIME-Version: 1.0
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> <CAO0Djp2BBbuX33NYEMe0sZGeDe6vk=eN5GuLDvh+RE__1QzPmg@mail.gmail.com>
In-Reply-To: <CAO0Djp2BBbuX33NYEMe0sZGeDe6vk=eN5GuLDvh+RE__1QzPmg@mail.gmail.com>
From: rabi narayan sahoo <rabinarayans0828@gmail.com>
Date: Fri, 04 May 2018 08:15:45 +0000
Message-ID: <CAPT0++0SB_Lf=GXt_nrsskKGk8Yvqad1vJUKo5_PP15NfVCTqQ@mail.gmail.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e676c5056b5ced82"
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/QUqa2Fmxr_0HbXT1VSI1Z7TqOlk>
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: Fri, 04 May 2018 08:16:00 -0000

Hi
I agree with Rahul. I want to add few more points here.
1- If a rebooted router has to chose a higher value how it will decide
which one to choose so that it can recover it's reouting table. Choosing
higher value still has chance of failure in recovery
2- If wait for auto recovery we are not sure how long it will take
.Currently we have only one option
a- Node sends a refresh DAO
Till that time all the nodes having downward path via the rebooted node
won't be reachable unless until they switch the pp.

RFC 6550 must consider the reboot case in general for storing mode. In non
storing mode we doesn't have such issue
Thanks
Rabi

On Fri 4 May, 2018, 6:42 AM Rahul Jadhav, <rahul.ietf@gmail.com> wrote:

> Thanks Pascal..
>
> Yes, Rebooting within the lollipop is the problem that i have described in
> the draft... It is not possible to completely avoid that scenario if
> persistent storage is not used... The problem is, the nodes cannot recover
> (or they recover very very late) if they get into this scenario. Choosing a
> higher increment factor may reduces the probability but cannot eliminate
> it.
>
> There is no text in 6550 which says dtsn should be maintained in
> persistent storage. But  then 6550 does not talk about handling reboots in
> general.
>
>
> On Thu, 3 May 2018 at 1:47 PM, Pascal Thubert (pthubert) <
> pthubert@cisco.com> wrote:
>
>> Hello Rahul :
>>
>>
>>
>> Rebooting within the lollipop is really bad luck; the whole point of the
>> lollipop is to detect intermittent reboots and not force to store the
>> sequence in flash.
>>
>> Note that you do not need to start from default 240, you may restart
>> from, say, 250. Or you may increase the sequence by more than one. All that
>> to stay less in the straight piece of the lollipop.
>>
>> All in all, I do not think that the DTSN has to be stored in persistent
>> memory. Is there text that I do not remember that would indicate so?
>>
>>
>>
>> Take care,
>>
>>
>>
>> Pascal
>>
>>
>>
>> *From:* Roll <roll-bounces@ietf.org> *On Behalf Of *Rahul Jadhav
>> *Sent:* jeudi 3 mai 2018 02:41
>>
>>
>> *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
>>
>>
>>
>>
>>
>> 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
>>
>> _______________________________________________
>> Roll mailing list
>> Roll@ietf.org
>> https://www.ietf.org/mailman/listinfo/roll
>>
> _______________________________________________
> Roll mailing list
> Roll@ietf.org
> https://www.ietf.org/mailman/listinfo/roll
>