Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0
Thomas Watteyne <thomas.watteyne@inria.fr> Sun, 20 November 2016 16:37 UTC
Return-Path: <thomas.watteyne@inria.fr>
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 4A89C12948E for <6tisch@ietfa.amsl.com>; Sun, 20 Nov 2016 08:37:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.896
X-Spam-Level:
X-Spam-Status: No, score=-7.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-1.497] 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 GBN-pZNtltY5 for <6tisch@ietfa.amsl.com>; Sun, 20 Nov 2016 08:37:41 -0800 (PST)
Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF0D412956D for <6tisch@ietf.org>; Sun, 20 Nov 2016 08:37:40 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.31,522,1473112800"; d="scan'208,217";a="245826691"
Received: from mail-wj0-f181.google.com ([209.85.210.181]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 20 Nov 2016 17:37:39 +0100
Received: by mail-wj0-f181.google.com with SMTP id xy5so17117212wjc.0 for <6tisch@ietf.org>; Sun, 20 Nov 2016 08:37:39 -0800 (PST)
X-Gm-Message-State: AKaTC012ml3dN8rsroci4icm12NP50KZzlnKTW2CPJ61Fz+ULqRGamDZK0JTgErQOo2/hq5glLKArAST/rslSQ==
X-Received: by 10.194.66.37 with SMTP id c5mr5947395wjt.138.1479659859086; Sun, 20 Nov 2016 08:37:39 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.200.230 with HTTP; Sun, 20 Nov 2016 08:37:18 -0800 (PST)
In-Reply-To: <76b5474f-ff6e-4c12-170d-658a03b42e5c@toshiba.co.jp>
References: <CAAdgstS-_CszQZ-0aDf3sOrj4kuJ1MU6HR2Z97OoiecrPkSGdw@mail.gmail.com> <6f8fff17-2238-8470-7109-9a44b874eb00@toshiba.co.jp> <CADJ9OA8bVu=R+BGaesTZMnziAugs2gx80x15qsWeFeD=wpKepw@mail.gmail.com> <CAH7SZV84FhvZRMkLiStOZnVe+8RaP3aPA+QnRbQQnmSNLt4ttg@mail.gmail.com> <CADJ9OA-2677vjkHr2SiCN6YVCmUmOUQb89c6a=eAw1-eBkC5uw@mail.gmail.com> <CAH7SZV894-=c+v3YSJhfR9KJxCM-TviYcPLcATZi+eCrbZ8Tyg@mail.gmail.com> <CADJ9OA96xSVz+xUwxGYR=n570dkrhwmZMTBE+V6VQ2-P_oP6dg@mail.gmail.com> <76b5474f-ff6e-4c12-170d-658a03b42e5c@toshiba.co.jp>
From: Thomas Watteyne <thomas.watteyne@inria.fr>
Date: Sun, 20 Nov 2016 17:37:18 +0100
X-Gmail-Original-Message-ID: <CADJ9OA9tBTn9rWeVPwBTzq60yXfRp2XJ7W60i+SXhR9GYfGL-A@mail.gmail.com>
Message-ID: <CADJ9OA9tBTn9rWeVPwBTzq60yXfRp2XJ7W60i+SXhR9GYfGL-A@mail.gmail.com>
To: Yasuyuki Tanaka <yasuyuki9.tanaka@toshiba.co.jp>
Content-Type: multipart/alternative; boundary="089e01494a7c4a18ae0541be2866"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/ErlI9jNb-IR_tMc1RifuKnmawK0>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>, Diego Dujovne <diego.dujovne@mail.udp.cl>, Tengfei Chang <tengfei.chang@gmail.com>
Subject: Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 20 Nov 2016 16:37:44 -0000
Yatch, Please see inline. On Wed, Nov 16, 2016 at 6:39 PM, Yasuyuki Tanaka < yasuyuki9.tanaka@toshiba.co.jp> wrote: > Hi Diego and Tengfei, > > diego> I suggest to keep the CLEAR command after reboot/failure. > > It's fine for me, too. > that's what we agreed upon during the WG meeting in Seoul this week, so we're in sync. > tengfei> I am thinking another case that a node needs send a CLEAR > tengfei> command to previous parent if it changed. I guess this is not > tengfei> mentioned in the draft? > > No, it's not mentioned. Yet, I think, it's out of scope of SF0. > > tengfei> [from the original mail] > tengfei> A little suggestion is DO NOT issue a clear command to > tengfei> previous parent until the nodes has reserved new cells to its > tengfei> new parent. This is to avoid the swing if the reservation > tengfei> failed to its new parent and changed back to previous parent. > > A solution here "to avoid the swing" is to have enough > over-provisioned cells to prevent undesirable packet losses for > RPL. This can be done by setting SF0THRESH reasonably high. > > And, I don't think a node switching its preferred parent needs to send > CLEAR to the previous one at any point. Unnecessary cells are supposed > to be deallocated automatically by SF0. > > After changing its preferred parent at the RPL layer, the amount of > traffic or "the current number of used cell" to the previous one is > expected to decrease. Once Cell Estimation Algorithm notices the > decrement, unnecessary cells scheduled for the previous preferred > parent are deleted eventually. > > In fact, SF0 cannot tell which neighbor is the previous preferred > parent, anyway. > > I agree with you that SF0 will realize the cells to the previous preferred parent aren't used, and remove. Sending an explicit CLEAR will speed things up, and avoid for the previous preferred parent to waste energy listening to those. A CLEAR wouldn't hurt, right? > Best, > Yatch > > > On 2016/11/16 16:16, Thomas Watteyne wrote: > >> That would be perfect, thanks! >> >> On Thu, 17 Nov 2016 at 00:11 Prof. Diego Dujovne < >> diego.dujovne@mail.udp.cl <mailto:diego.dujovne@mail.udp.cl>> wrote: >> >> Thomas, >> It is not on my slides, since the default >> behavior (issue a CLEAR command) did not >> change from -01 to -02. I can raise the issue >> during the presentation. >> Regards, >> >> Diego >> >> 2016-11-16 12:06 GMT-03:00 Thomas Watteyne <thomas.watteyne@inria.fr >> <mailto:thomas.watteyne@inria.fr>>: >> >> Diego, >> Fine for me. Could you bring it up during the WG meeting tomorrow? >> Thomas >> >> On Thu, 17 Nov 2016 at 00:02 Prof. Diego Dujovne < >> diego.dujovne@mail.udp.cl <mailto:diego.dujovne@mail.udp.cl>> wrote: >> >> Yasuyuki, Thomas, >> I suggest to keep the CLEAR >> command >> after reboot/failure. >> Regards, >> >> Diego >> >> 2016-11-16 11:05 GMT-03:00 Thomas Watteyne < >> thomas.watteyne@inria.fr <mailto:thomas.watteyne@inria.fr>>: >> >> @Tengfei, >> Does that suggestion work for you or should we create an >> issue on SF0? >> Thomas >> >> On Fri, Nov 11, 2016 at 8:50 PM, Yasuyuki Tanaka < >> yasuyuki9.tanaka@toshiba.co.jp <mailto:yasuyuki9.tanaka@toshiba.co.jp>> >> wrote: >> >> Hi Tengfei, >> >> I think an assumption there is that a node has no >> state with its >> neighbors just after booting up or restarting. On the >> other hand, a >> neighbor of them may have cells allocated for the >> node. To resolve >> such a possible inconsistency, the node issues CLEAR >> to each of its >> neighbors. >> >> Best, >> Yatch >> >> On 2016/11/02 15:29, Tengfei Chang wrote: >> >> All, >> >> For the decision when a node is restarted, the >> SF0 says: >> >> In order to define a known state after the >> node is restarted, a CLEAR >> command is issued to each of the neighbor >> nodes to enable a new >> allocation process. The 6P Initial Timeout >> Value provided by SF0 >> should allow for the maximum number of TSCH >> link-layer retries, as >> defined by Section 4.3.4 of >> [I-D.ietf-6tisch-6top-protocol <https://tools.ietf.org/html/d >> raft-ietf-6tisch-6top-sf0-02#ref-I-D.ietf-6tisch-6top-protocol>]. TODO/ >> REMARK: The initial timeout is currently under >> discussion. >> >> >> A little suggestion is DO NOT issue a clear >> command to previous parent until the nodes has reserved new cells to its >> new parent. This is to avoid the swing if the reservation failed to its new >> parent and changed back to previous parent. >> >> What do you think? >> >> Tengfei >> >> -- >> Chang Tengfei, >> Pre-Postdoctoral Research Engineer, Inria >> >> >> _______________________________________________ >> 6tisch mailing list >> 6tisch@ietf.org <mailto:6tisch@ietf.org> >> https://www.ietf.org/mailman/listinfo/6tisch >> >> >> _______________________________________________ >> 6tisch mailing list >> 6tisch@ietf.org <mailto:6tisch@ietf.org> >> https://www.ietf.org/mailman/listinfo/6tisch >> >> >> >> >> -- >> _______________________________________ >> >> Thomas Watteyne, PhD >> Research Scientist & Innovator, Inria >> Sr Networking Design Eng, Linear Tech >> Founder & co-lead, UC Berkeley OpenWSN >> Co-chair, IETF 6TiSCH >> >> www.thomaswatteyne.com <http://www.thomaswatteyne.com> >> _______________________________________ >> >> _______________________________________________ >> 6tisch mailing list >> 6tisch@ietf.org <mailto:6tisch@ietf.org> >> https://www.ietf.org/mailman/listinfo/6tisch >> >> >> >> >> -- >> DIEGO DUJOVNE >> Profesor Asociado >> Escuela de Informática y Telecomunicaciones >> Facultad de Ingeniería - Universidad Diego Portales - Chile >> www.ingenieria.udp.cl <http://www.ingenieria.udp.cl> >> (56 2) 676 8125 >> >> >> >> >> -- >> DIEGO DUJOVNE >> Profesor Asociado >> Escuela de Informática y Telecomunicaciones >> Facultad de Ingeniería - Universidad Diego Portales - Chile >> www.ingenieria.udp.cl <http://www.ingenieria.udp.cl> >> (56 2) 676 8125 >> >> >> >> _______________________________________________ >> 6tisch mailing list >> 6tisch@ietf.org >> https://www.ietf.org/mailman/listinfo/6tisch >> >> > _______________________________________________ > 6tisch mailing list > 6tisch@ietf.org > https://www.ietf.org/mailman/listinfo/6tisch > -- _______________________________________ Thomas Watteyne, PhD Research Scientist & Innovator, Inria Sr Networking Design Eng, Linear Tech Founder & co-lead, UC Berkeley OpenWSN Co-chair, IETF 6TiSCH www.thomaswatteyne.com _______________________________________
- [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Tengfei Chang
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Yasuyuki Tanaka
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Thomas Watteyne
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Tengfei Chang
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Prof. Diego Dujovne
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Thomas Watteyne
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Prof. Diego Dujovne
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Thomas Watteyne
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Yasuyuki Tanaka
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Thomas Watteyne
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Yasuyuki Tanaka
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Thomas Watteyne
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Prof. Diego Dujovne
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Yasuyuki Tanaka
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Yasuyuki Tanaka
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Michael Richardson
- Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0 Thomas Watteyne