[6tisch] comments on draft-chang-6tisch-msf-01

Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr> Thu, 14 June 2018 16:16 UTC

Return-Path: <yasuyuki.tanaka@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 D221A130E7E for <6tisch@ietfa.amsl.com>; Thu, 14 Jun 2018 09:16:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, URIBL_BLOCKED=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 LC76nvxqhsQb for <6tisch@ietfa.amsl.com>; Thu, 14 Jun 2018 09:16:58 -0700 (PDT)
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 7CA8B130E9C for <6tisch@ietf.org>; Thu, 14 Jun 2018 09:16:57 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.51,222,1526335200"; d="scan'208";a="331849014"
Received: from unknown (HELO [128.93.70.171]) ([128.93.70.171]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2018 18:16:55 +0200
From: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
Message-Id: <0D7241BB-2312-40D2-B1E0-4C448BC6DE64@inria.fr>
Date: Thu, 14 Jun 2018 18:16:55 +0200
Cc: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
To: 6tisch@ietf.org
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/lGwRmLQUdNEc3MDBjZ5e5oObFPw>
Subject: [6tisch] comments on draft-chang-6tisch-msf-01
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.26
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: Thu, 14 Jun 2018 16:17:00 -0000

Hi,

I'm sharing my comments on draft-chang-6tisch-msf-01.

    https://tools.ietf.org/html/draft-chang-6tisch-msf-01


[1] how should a node handle a 6P transaction failure?

draft> 3.  Node Behavior at Boot
draft> ...
draft> 3.6.  Step 5 - 6P ADD to Preferred Parent
draft> 
draft>    After having selected a preferred parent, the joined node MUST issue
draft>    a 6P ADD command to that parent, with the following fields:

What should the joining node do if the ADD transaction fails? It
should retry the ADD command after waiting for [WAITDURATION_MIN,
WAITDURATION_MAX]? If so, how many times should it retry at the
maximum?


[2] what cell options will additional dedicated cells have?

draft> 4.1.  Adapting to Traffic
...
draft>    o  If the node determines that the number of link-layer frames it is
draft>       attempting to exchange with its preferred parent per unit of time
draft>       is larger than the capacity offered by the TSCH cells it has
draft>       scheduled with it, it triggers a 6P Transaction with its preferred
draft>       parent to add cells to the TSCH schedule of both nodes.

It's unclear to me what cell options additional dedicated cells will
have. NumCellsUsed is the number of frame exchanges in dedicated
cells, which doesn't care about directions: incoming or outgoing.

draft>    NumCellsUsed:  Counts the number of dedicated cells that have been
draft>        used.  This counter is initialized at 0.  NumCellsUsed is
draft>        incremented by exactly 1 when, during a dedicated cell to the
draft>        preferred parent, either of the following happens:
draft> 
draft>        *  The node sends a frame to its preferred parent.  The counter
draft>           increments regardless of whether a link-layer acknowledgment
draft>           was received or not.
draft>        *  The node receives a frame from its preferred parent.

In other words, NumCellsUsed doesn't give you any idea how many frames
were transmitted or how many frames were received.

There could be two options:

- (1) have one NumCellsUsed variables per direction
- (2) count only transmissions in NumCellsUsed; dedicated RX cells are
      scheduled via 6P transactions initiated by the peer

If you want 6P transactions initiated only by a child, the first one
is the choice.


[3] How do we choose dedicated cell to be deleted?

draft> 4.1.  Adapting to Traffic
draft> ...
draft>    2.  When the value of NumCellsPassed reaches MAX_NUMCELLS:
draft> 
draft>        *  If NumCellsUsed > LIM_NUMCELLSUSED_HIGH, trigger 6P to add a
draft>           single cell to the preferred parent
draft>        *  If NumCellsUsed < LIM_NUMCELLSUSED_LOW, trigger 6P to remove a
draft>           single cell to the preferred parent

How do we choose cells to be set in CellList of a 6P DELETE request?
They should be randomly chosen? Or, they should be chosen in order
from the lowest PDR cell?

NumCellsUsed in that bullet list should be (NumCellsUsed /
NumCellsPassed) or ((NumCellsUsed / NumCellsPassed * 100), by the way.


[4] (trivial comment)

draft> 4.2.  Switching Parent
draft> ...
draft>    1.  the node counts the number of dedicated cells it has per
draft>        slotframe to the old preferred parent
draft>    2.  the node triggers one or more 6P ADD commands to schedule the
draft>        same number of dedicated cells to the new preferred parent

To be precise, it'd better to mention about cell options as well as
how many dedicated cells are scheduled.


[5] questions in Handling Schedule Collisions

draft> 4.3.  Handling Schedule Collisions
draft> ...
draft>   Each time the node switches preferred parent (or during the join
draft>   process when the node selects a preferred parent for the first time),
draft>   both NumTx and NumTxAck MUST be reset to 0.  They increment over

When should a parent reset NumTx and NumTxAck for a dedicated cell?

Another question related to this topic: how does a parent remove a
dedicated cell scheduled during the join process if the child leaves
without a successful 6P command transaction?

draft> 4.3.  Handling Schedule Collisions
draft> ...
draft>    The key for detecting a schedule collision is that, if a node has
draft>    several cells to the same preferred parent, all cells should exhibit
draft>    the same PDR.  A cell which exhibits a PDR significantly lower than
draft>    the others indicates than there are collisions on that cell.

Do we exclude a dedicated cell having SHARED bit on for this collision
detection? If it's excluded, how do we handle collisions on such a
dedicated cell? If it's not excluded, a dedicated cell having SHARED
bit on tends to be relocated since usually it could have lower PDR
than other dedicated cells which doesn't have SHARED bit on. How do we
cope with this situation?

draft> 4.3.  Handling Schedule Collisions
draft> ...
draft>    2.  Any cell that hasn't yet had NumTx divided by 2 since it was last
draft>        reset is skipped in steps 3 and 4.  This avoids triggering cell
draft>        relocation when the values of NumTx and NumTxAck are not
draft>        statistically significant yet.

Does this mean, skip 3 and 4 for cells whose NumTx have never been
divided by 2 (never reached 256)? I'm not sure the meaning of "since
it was last reset".


That's it! Thank you.

Best,
Yatch