Re: [6tisch] call for review: draft-ietf-6tisch-msf-04

Tengfei Chang <tengfei.chang@gmail.com> Wed, 10 July 2019 09:29 UTC

Return-Path: <tengfei.chang@gmail.com>
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 052BA1200EB for <6tisch@ietfa.amsl.com>; Wed, 10 Jul 2019 02:29:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.702
X-Spam-Level:
X-Spam-Status: No, score=-0.702 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, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 3sQCWR75fLRO for <6tisch@ietfa.amsl.com>; Wed, 10 Jul 2019 02:29:49 -0700 (PDT)
Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (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 CAEA0120099 for <6tisch@ietf.org>; Wed, 10 Jul 2019 02:29:49 -0700 (PDT)
Received: by mail-pf1-x443.google.com with SMTP id b13so835051pfo.1 for <6tisch@ietf.org>; Wed, 10 Jul 2019 02:29:49 -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 :cc; bh=1j2BlVGQNfrYbVJf+sxLdnkvUcmXuIasJi/gy75MNWg=; b=gzi9sWlFoAzFqdoE13ee4O7JtutIQss4z0yy9+cBJKuDHi28xzUlsQg9JrbAcQRDJp l7Civf0MaFqwfco6uCexbUYXRxuUt7FANzl9sU5+AJeAY/UZ8iUZIcWg9bM7+d61c3ZZ wOy8MBSWmZc5chkW7g7atiAShj6nSKSg/vKEB7q9utSt1HsGnX6rK9DVYy4KzDePWQyh gTXKjIdDx4JsFsJeTQeezkdTLNrV0eTdNbR6ZeI3QZUl/vIkdHAkWU8ewr9keqf11aRk NZdh0PKDwtO1V7ByvbAH41xQfmwvFU49U7MYhy80+pTck3Y5QCrfqP6zZc+kT5NwfDsx VCdg==
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:cc; bh=1j2BlVGQNfrYbVJf+sxLdnkvUcmXuIasJi/gy75MNWg=; b=pfm0wa+94UQSLcxHJZDBbQoLoydkoi8cSs1GoOiWPTxKevw8iJT8iRFyiysirlVnfq o8iuTOiDqw9AKzDu6aaoW3IZjvI4AvgtvMTQWOhkMWwKF2sjffHanDzkV1mcizcW1KIG 1KyVWihEOQ5QZMoag33hSv0D3NoACW9NX3VeLnMxJibiiefkXmMlRaJlTyve4bFDHjLX PpL6vYVnWyz2NWpQoIgX6NOwgD5kLOETUk5jpgH64c6c4ciN5gXaz3Gx0xL/TC+OfNUC sR+ZoLY8NVqqSkaUbNf2YQETcdnhhW1apkGLbt/MpMwNzV0WILUN7LxyCR8k5oxEq/aY jueQ==
X-Gm-Message-State: APjAAAWGZK1fHpMsLmk3nvYV40HZlU5v8OxydRjeXdxu6+1LjWX2Mh0Y 54wf7D902P1Syn8Mmanl4sQc+3UDa4ZlGHWc96+TUDi6koI=
X-Google-Smtp-Source: APXvYqzTCYbDZFQTIModcxYDrSWpXrTTNDmjny3DhSfl99/4H9cD3VNFuW664T+6ZG/MV/34Gm91fIsKLlEMl+ZlUxY=
X-Received: by 2002:a63:5550:: with SMTP id f16mr23153172pgm.426.1562750989041; Wed, 10 Jul 2019 02:29:49 -0700 (PDT)
MIME-Version: 1.0
References: <CAAdgstQHZ8KCtfLx+dmU=F2SLtvE1HTeSGJU8i2GPo7_798i3g@mail.gmail.com> <MN2PR11MB356563F2C214702BCE2E4E9BD8FA0@MN2PR11MB3565.namprd11.prod.outlook.com> <CAAdgstR=A7=Kxi4=GPZyFVrPse4DUc67ePoumB2AdquKdELN3A@mail.gmail.com> <MN2PR11MB3565C73190BA0063B9972DAED8F60@MN2PR11MB3565.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB3565C73190BA0063B9972DAED8F60@MN2PR11MB3565.namprd11.prod.outlook.com>
From: Tengfei Chang <tengfei.chang@gmail.com>
Date: Wed, 10 Jul 2019 11:29:35 +0200
Message-ID: <CAAdgstTB051qELAKSaqsJB-1Jek5QKDx1AFXXkX_VK0nnzoGvA@mail.gmail.com>
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000931485058d5051f4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/GXi00uzYSNyhZ9mZ8LpZ3n9-mgk>
Subject: Re: [6tisch] call for review: draft-ietf-6tisch-msf-04
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.29
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, 10 Jul 2019 09:29:52 -0000

Hi Pascal,

On Mon, Jul 8, 2019 at 3:08 PM Pascal Thubert (pthubert) <pthubert@cisco.com>
wrote:

> Hello Tengfei
>
> tions address is correct. Thanks!
>
>
>
>
>
> “
>
>    During this step, the pledge MAY synchronize to any EB it receives
>
>    from the network it wishes to join.
>
> “
>
> In TSCH, time creates an event horizon whereby one only hears
> transmissions that start during guard time around the scheduled Rx time. If
> the text quoted above means only listen to timeslots that are aligned to
> the time in the particular EB, then the node will no more hear beacons that
> are not aligned with this. E.g., an attacker could offset EBs by 2ms from
> the network and nodes that synchronize will not hear other beacons any
> more. So a suggestion is that a node that listen to beacons does not
> synchronize till it has heard the count of beacons it is supposed to get.
>
>
>
> Thanks a lot for the comments. I have checked the sentence as  what you
> suggested.
>
>
>
> Ø    The text was not expected to become normative as is; obviously the
> usual ways apply like time out if some but not all beacons are received and
> sync to the best.
>
> Ø
>
>
>
> Yes, I agree with what you said, I replied with a wrong typing word. What
I mean is: I have changed the sentence as you suggested:
It's rephrased as:

During this step, the pledge SHOULD NOT synchronize until it received
   enough EB from the network it wishes to join.




>  “
> 8 <https://tools.ietf.org/html/draft-ietf-6tisch-msf-04#section-8>.
> Rules for CellList
>
>
>
> “
>
> Maybe add a rule to listen to the cells for a few slotframes to ensure
> that they are not used by neighbors. This can be done proactively, like the
> node monitors the 5 randomly chosen cells all the time, even when there is
> no excess traffic, so a list of empty cells is ready when needed.
>
>
>
> I think it's not necessary to listen on the cells because when the 6P
> transaction starts , those cells should be locked and not be applied for
> other 6P transactions.
>
>
>
>
>
>    - The point is that another pair of devices may have negotiated a cell
>    that shows in the list, which you may discover if you screen the cells you
>    want to use before you start using them.
>    - It really depends if you have a pool of cells that you own (e.g.,
>    admin) or just grab them pseudorandomly. In the latter case no checking the
>    cells is impolite, and checking them just before using them may miss a
>    partial usage. Listening to a pool of cell even when you do not allocate
>    them is safer.
>
>
>
>
>
> I think this feature is defined in 6TOP  (RFC8480) with the term locked:

   Nodes A and B MAY support having two transactions going on at the
   same time, one in each direction.  Similarly, a node MAY support
   concurrent 6P Transactions with different neighbors.  In this case,
   the cells involved in an ongoing 6P Transaction MUST be "*locked*"
   until the transaction finishes.  ......

   If the requested cells are locked, it MUST reply to
   that request with a 6P Response with return code RC_ERR_LOCKED (as
   per Figure 38).  The node receiving RC_ERR_BUSY or RC_ERR_LOCKED MAY
   implement a retry mechanism as defined by the SF.



> “
> 6P Timeout Value
>
>
>
> “
>
> I guess it is per peer? Shouldn’t it evolve like the RTO in RFC 6298 ?
>
>
>
>
> I think it's different from the RTO in RFC6298. In stead of traffic
> congestion control, the Timeout here is mostly influenced by one hop link
> quality.
>
>
>
> Which evolves and your value may track that, else it can be very big.
>

Yes, this value is actually defined according to RFC8480:

3.4.4 <https://tools.ietf.org/html/rfc8480#section-3.4.4>.  6P Timeout

   A timeout occurs when the node that successfully sent a 6P Request
   does not receive the corresponding 6P Response within an amount of
   time specified by the SF.  In a 3-step transaction, a timeout also
   occurs when a node sending the 6P Response does not receive a 6P
   Confirmation.  When a timeout occurs, the transaction MUST be
   canceled at the node where the timeout occurs.  *The value of the 6P
   Timeout should be greater than the longest possible time it takes to
   receive the 6P Response or Confirmation.  The value of the 6P Timeout
   hence depends on the number of cells scheduled between the neighbor
   nodes, the maximum number of link-layer retransmissions, etc.  The SF
   MUST determine the value of the timeout. * The value of the timeout is
   out of scope for this document.



>
>
> Thanks a lot again for reviewing the draft and the comments!
>
>
>
> That’s a great spec  : )
>
>
>
>
>
> Pascal
>


-- 
Chang Tengfei,
Postdoctoral Research Engineer, Inria