Re: [6tisch] [6TiSCH] Node Behavior at Boot in SF0

Yasuyuki Tanaka <yasuyuki9.tanaka@toshiba.co.jp> Wed, 16 November 2016 17:39 UTC

Return-Path: <yasuyuki9.tanaka@toshiba.co.jp>
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 CFEC01294A4 for <6tisch@ietfa.amsl.com>; Wed, 16 Nov 2016 09:39:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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 DQ0tNsdhCxpK for <6tisch@ietfa.amsl.com>; Wed, 16 Nov 2016 09:39:25 -0800 (PST)
Received: from mo.tsb.2iij.net (mo1502.tsb.2iij.net [210.149.48.174]) (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 A49D1129483 for <6tisch@ietf.org>; Wed, 16 Nov 2016 09:39:25 -0800 (PST)
Received: by mo.tsb.2iij.net (tsb-mo1502) id uAGHdOqk002912; Thu, 17 Nov 2016 02:39:24 +0900
Received: from unknown [172.27.153.184] (EHLO tsb-mr1500.hop.2iij.net) by mas1510.tsb.2iij.net(mxl_mta-7.2.4-7) with ESMTP id cc99c285.0.71953.00-676.139962.mas1510.tsb.2iij.net (envelope-from <yasuyuki9.tanaka@toshiba.co.jp>); Thu, 17 Nov 2016 02:39:24 +0900 (JST)
X-MXL-Hash: 582c99cc2eafae12-024f077e9dbfe86e3d822249b6a94d79ad9b7c4f
Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.tsb.2iij.net (tsb-mr1500) with ESMTP id uAGHdNQg010680 for <6tisch@ietf.org>; Thu, 17 Nov 2016 02:39:23 +0900
Received: from tsbmgw-mgw01.tsbmgw-mgw01.toshiba.co.jp ([133.199.232.103]) by imx12.toshiba.co.jp with ESMTP id uAGHdNin022357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <6tisch@ietf.org>; Thu, 17 Nov 2016 02:39:23 +0900 (JST)
Received: from tsbmgw-mgw01 (localhost [127.0.0.1]) by tsbmgw-mgw01.tsbmgw-mgw01.toshiba.co.jp (8.13.8/8.14.5) with ESMTP id uAGHdNrI006072 for <6tisch@ietf.org>; Thu, 17 Nov 2016 02:39:23 +0900
Received: from localhost ([127.0.0.1]) by tsbmgw-mgw01 (JAMES SMTP Server 2.3.1) with SMTP ID 704 for <6tisch@ietf.org>; Thu, 17 Nov 2016 02:39:23 +0900 (JST)
Received: from arc11.toshiba.co.jp ([133.199.90.127]) by tsbmgw-mgw01.tsbmgw-mgw01.toshiba.co.jp (8.13.8/8.14.5) with ESMTP id uAGHdNZT006068 for <6tisch@ietf.org>; Thu, 17 Nov 2016 02:39:23 +0900
Received: (from root@localhost) by arc11.toshiba.co.jp id uAGHdNqn027779 for 6tisch@ietf.org; Thu, 17 Nov 2016 02:39:23 +0900 (JST)
Received: from ovp11.toshiba.co.jp [133.199.90.148] by arc11.toshiba.co.jp with ESMTP id CAA27778; Thu, 17 Nov 2016 02:39:23 +0900
Received: from mx12.toshiba.co.jp (mx12.toshiba.co.jp [133.199.90.142]) by ovp11.toshiba.co.jp with ESMTP id uAGHdNl7026824 for <6tisch@ietf.org>; Thu, 17 Nov 2016 02:39:23 +0900 (JST)
Received: from spiffy21.isl.rdc.toshiba.co.jp by toshiba.co.jp id uAGHdMtq023612; Thu, 17 Nov 2016 02:39:22 +0900 (JST)
Received: from [133.196.17.214] (nm-pptp214.isl.rdc.toshiba.co.jp [133.196.17.214]) by spiffy21.isl.rdc.toshiba.co.jp (Postfix) with ESMTPSA id 3EEFFFF486; Thu, 17 Nov 2016 02:39:20 +0900 (JST)
To: diego.dujovne@mail.udp.cl, tengfei.chang@gmail.com
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>
From: Yasuyuki Tanaka <yasuyuki9.tanaka@toshiba.co.jp>
Message-ID: <76b5474f-ff6e-4c12-170d-658a03b42e5c@toshiba.co.jp>
Date: Wed, 16 Nov 2016 18:39:18 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CADJ9OA96xSVz+xUwxGYR=n570dkrhwmZMTBE+V6VQ2-P_oP6dg@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by tsbmgw-mgw01.tsbmgw-mgw01.toshiba.co.jp id uAGHdNZT006068
X-MAIL-FROM: <yasuyuki9.tanaka@toshiba.co.jp>
X-SOURCE-IP: [172.27.153.184]
X-Spam: exempt
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/FT0L64O478HgOdmeofTX6lFef2A>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>
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: Wed, 16 Nov 2016 17:39:29 -0000

Hi Diego and Tengfei,

diego> I suggest to keep the CLEAR command after reboot/failure.

It's fine for me, too.

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.

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/draft-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
>