Re: [6tisch] Comments on draft-ietf-6tisch-msf-00

Simon Duquennoy <simon.duquennoy@ri.se> Wed, 10 October 2018 09:46 UTC

Return-Path: <simon.duquennoy@ri.se>
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 973FD130EA0 for <6tisch@ietfa.amsl.com>; Wed, 10 Oct 2018 02:46:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 SAkvK4HbLtye for <6tisch@ietfa.amsl.com>; Wed, 10 Oct 2018 02:46:07 -0700 (PDT)
Received: from smtp-out10.electric.net (smtp-out10.electric.net [185.38.180.38]) (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 58352130DE5 for <6tisch@ietf.org>; Wed, 10 Oct 2018 02:46:07 -0700 (PDT)
Received: from 1gAB48-000HRK-UZ by out10a.electric.net with emc1-ok (Exim 4.90_1) (envelope-from <simon.duquennoy@ri.se>) id 1gAB48-000HSl-VX for 6tisch@ietf.org; Wed, 10 Oct 2018 02:46:04 -0700
Received: by emcmailer; Wed, 10 Oct 2018 02:46:04 -0700
Received: from [194.218.146.197] (helo=sp-mail-2.sp.se) by out10a.electric.net with esmtps (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.90_1) (envelope-from <simon.duquennoy@ri.se>) id 1gAB48-000HRK-UZ for 6tisch@ietf.org; Wed, 10 Oct 2018 02:46:04 -0700
Received: from mail-wm1-f47.google.com (10.116.0.226) by sp-mail-2.sp.se (10.100.0.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 10 Oct 2018 11:46:04 +0200
Received: by mail-wm1-f47.google.com with SMTP id 185-v6so5007030wmt.2 for <6tisch@ietf.org>; Wed, 10 Oct 2018 02:46:04 -0700 (PDT)
X-Gm-Message-State: ABuFfojt9CYhT+KIVIr8DTQdS5PVKyFbyZBhKB/VF6m6OLJBOmbn8lDy hKwnPg3fAjUjzCF1FZTYyfvhJDXO6JKGdBwtNp4=
X-Google-Smtp-Source: ACcGV62cGPZDEOl2y95fw7u4tSM+Gfw8Hbva2A5cF2MDDeQrhVLvqNHwF52UFn6RhH+4HNoBq60ZQoXD3nvDOqbYYGk=
X-Received: by 2002:a1c:5d8c:: with SMTP id r134-v6mr204996wmb.147.1539164763549; Wed, 10 Oct 2018 02:46:03 -0700 (PDT)
MIME-Version: 1.0
References: <AB8128C5-C5A4-4E1D-95E5-66ED6A98A1F8@inria.fr> <CAMxvJt+b=pDKz7Tsm1ZXtTsggp1eEiuj9eoKPAz7HNKww=c_Rw@mail.gmail.com> <CAC9+vPgkks2MxcVew2ip1uS4ot=gxRwpg+QLyRx-8SipB1fw9g@mail.gmail.com> <C508DE48-82D4-4054-84E2-A18278DBB97E@inria.fr> <A300B0AD-851B-47E7-8B24-B3E5B394C626@inria.fr>
In-Reply-To: <A300B0AD-851B-47E7-8B24-B3E5B394C626@inria.fr>
From: Simon Duquennoy <simon.duquennoy@ri.se>
Date: Wed, 10 Oct 2018 11:45:52 +0200
X-Gmail-Original-Message-ID: <CAMxvJtJAijzuqvu8evCcV84g8A_-XsrE8CY5FyZ0Gs-gsV0YnQ@mail.gmail.com>
Message-ID: <CAMxvJtJAijzuqvu8evCcV84g8A_-XsrE8CY5FyZ0Gs-gsV0YnQ@mail.gmail.com>
To: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
CC: 6tisch <6tisch@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fb77ed0577dcb88e"
X-Originating-IP: [10.116.0.226]
X-ClientProxiedBy: sp-mail-1.sp.se (10.100.0.161) To sp-mail-2.sp.se (10.100.0.162)
X-Outbound-IP: 194.218.146.197
X-Env-From: simon.duquennoy@ri.se
X-Proto: esmtps
X-Revdns:
X-HELO: sp-mail-2.sp.se
X-TLS: TLSv1.2:ECDHE-RSA-AES128-SHA256:128
X-Authenticated_ID:
X-Virus-Status: Scanned by VirusSMART (c)
X-Virus-Status: Scanned by VirusSMART (s)
X-PolicySMART: 14510320
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/7IdCFdnLXMPNf9lzGfwHRnXgcsI>
Subject: Re: [6tisch] Comments on draft-ietf-6tisch-msf-00
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 Oct 2018 09:46:11 -0000

Hi Yatch,

You have a very good point.
Section 5.1 was assuming dedicated cells only, I believe we need to adjust
it for shared cells. Feels like we want your 2nd solution, which is to
increment "NumCellsUsed" during the backoff wait.
We will fix this as well as the comment on scanning for next version!

Thanks,
Simon


On Fri, Oct 5, 2018 at 2:56 PM Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
wrote:

> Hi,
>
> I have additional comments on the latest MSF:
>
> * discussion: scheduling adaptation
>
> MSF can adapts to traffic changes in the manner described in section 5.1.
> It
> seems this mechanism doesn't work well under a heavy loaded situation.
>
> After joining process, a joined node (child) has one autonomous cell to its
> parent, which is the autonomous RX cell from the viewpoint of the parent.
> If the
> network is inactive and the link quality is pretty good, the child can
> send a
> frame over the autonomous cell anytime it wants. And, if it has always
> frames to
> send, then the adaptation mechanism will determines to allocate additional
> cells.
>
> However, if there are many siblings of the child around and its network
> load is
> high, frames sent by the child on the autonomous cell of the parent are
> likely
> to be lost because of collisions. When the child has an un-acknowledged
> frame,
> it has to perform the retransmission algorithm since the autonomous cell
> has the
> SHARED bit on. A bad thing to the adaptation mechanism is that
> "NumCellsUsed" is
> not incremented during the backoff wait, although "NumCellsPassed" is
> counted
> up. As a result, the child cannot have additional (dedicated) cells here
> even
> though it may have many cells in its TX queue.
>
> It may be fine, by the way, since these frames in the TX queue will be sent
> continuously thanks to the pending bit once the first frame is received
> successfully by the parent. But, an additional dedicated cell is not
> allocated
> in this case, anyway.
>
> A simple solution is to increment "NumCellsUsed" during the backoff wait
> if it's
> desirable to have a dedicated cell to the parent in such a case.
>
> * trivial comment: channel to listen on for EBs
>
> The pledge may not know in advance which channels are used in a network to
> join. So, it'd be better to try a different frequency if it cannot receive
> any
> EB for a while.
>
> draft> 4.2.  Step 1 - Choosing Frequency
> draft>
> draft>    When switched on, the pledge SHOULD randomly choose a frequency
> among
> draft>    the available frequencies, and start listening for EBs on that
> draft>    frequency.
> draft>
> draft> 4.3.  Step 2 - Receiving EBs
> draft>
> draft>    Upon receiving the first EB, the pledge SHOULD continue
> listening for
> draft>    additional EBs to learn:
>
> Best,
> Yatch
>
>
> On Aug 31, 2018, at 15:33, Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
> wrote:
> >
> > Thank you, Simon and Xavi!
> >
> > A couple of things:
> >
> >>>> 'MUST' here sounds too strong... Some may want to use MSF with a base
> schedule
> >>>> other than one defined RFC 8180 with full understands on implications
> by not
> >>>> following RFC 8180. Then, I'd propose 'SHOULD'.
> >>>>
> >>>> By the way, I'm not sure whether we can specify 'MUST implement' to a
> BCP
> >>>> document or not.
> >>>
> >>> MSF assumes the presence of the minimal cell, but might be able to run
> without the full RFC8180.
> >>> Happy to hear what others think
> >>>
> >> XV>> MSF needs at least one pre-existing cell in the schedule so a node
> can receive/send EBs and form/join into the network. To ensure this we
> enforce RFC8180.
> >
> > If the minimal shared cell is only the dependency for MSF, it'd be much
> clearer to say that instead of saying, "MSF MUST implement RFC 8180". RFC
> 8180 defines far more things than having the minimal shared cell. And, it
> concerns 2.4 GHz O-QPSK PHY alone.
> >
> >>>> * minor comment 6
> >>>>
> >>>> What is Section 10, "Rule for Ordering Cells", for...? Why do we need
> this
> >>>> section?
> >>>>
> >>> I'll let other co-authors answer
> >>>
> >> XV> I think this was though to handle pagination when the LIST command
> is received. This is, define what are the cells to return when a list
> command is requesting cells from a particular offset.
> >
> > I see; then, I'd like to have such explanation in Section 10 :-)
> >
> >   https://tools.ietf.org/html/draft-ietf-6tisch-msf-00#section-10
> >
> > Best,
> > Yatch
>
> _______________________________________________
> 6tisch mailing list
> 6tisch@ietf.org
> https://www.ietf.org/mailman/listinfo/6tisch
>