Re: [6tisch] Mirja Kühlewind's No Objection on draft-ietf-6tisch-msf-12: (with COMMENT)

Tengfei Chang <tengfei.chang@gmail.com> Wed, 18 March 2020 11:30 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 E44C53A140A; Wed, 18 Mar 2020 04:30:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 Q2-N2e_YhBXi; Wed, 18 Mar 2020 04:30:04 -0700 (PDT)
Received: from mail-ua1-x935.google.com (mail-ua1-x935.google.com [IPv6:2607:f8b0:4864:20::935]) (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 58AFA3A1409; Wed, 18 Mar 2020 04:30:04 -0700 (PDT)
Received: by mail-ua1-x935.google.com with SMTP id q24so4413980ual.10; Wed, 18 Mar 2020 04:30:04 -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=cukO7D87K4Gb/TBWHUJWpW0KWl7UcViYcZErdETRtqU=; b=MljufLkbHVeaTdToUEndUoBLxk/T2/rrlT8lTQeWRftXrBxOiEKlkzU8b9n9BzN4Wj l6y01i5M7I1ZX110Qo+4iPjfxfNfGwfhAIW7MgZJW4v+uosC2pufhGGiqJQw3ppxD3FO 3wHqCDB/OKPIMtyMmnABH1g+N1VK0WmPT2pD0X0PkHGa9ZEoccJ3bNbk5Bf1hrxzi6Yu +TR1P7Dnu5R97KvM5rrP3nK3MBJmN8HuZWt32HMwAu06pmlVJcJBy3RTh0jtlCHx3uNM IjIcDoRdoTceMXxyqhRUb077IbwcMaOeoyZPLsZgXk+tWWWHsTba8IU7zzACjuxVU/fs 0iJA==
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=cukO7D87K4Gb/TBWHUJWpW0KWl7UcViYcZErdETRtqU=; b=onYd+8TZmmUteTz1ovys4cVOZEtQiA9Ajus49MAe1E4Kplw6JA0bI8dxF2X0D8vcZ1 bN8zQpMFYzJIfnEYFsM4BzgXbFKOgHrPQoLlUkE3PMnStHV08PMkC6k9R6VZmzEvab+y ItqkAb1FbOxxrOkFrcPFnHuqPGg13ViZIRil7X076gYnjgbqjq0Et92i/0RulPzrd9iN gw1YFU56Mdkr+sHlujKztA8Lk4UqV6wCV4zCaP+u8TpVlMpr8ryqn4ERZ/0POaUpYLHs MicpqRDxZ1kjC8yU6IKUGQFkSEpqv/KGSXAFqXKuAbUXz7cjD6+pvFLSGviO4lHQL0nQ 3g+A==
X-Gm-Message-State: ANhLgQ3cHyv7xWEt8e5KViGOUDVeunKdPyiBeQG+LfmFDCYb6cPpP1n+ cgpwvSSimz6cpkoY1MlRULg3AtdkFiFbF2snzSo=
X-Google-Smtp-Source: ADFU+vuVAps9eAs6ijUIHCsPh8GJy0DM2V8mrRV7NcCsnvPAch5wd2OGfWm2g4r5rs+BRgSGq0Xpoo9/AmEGs7pLGNI=
X-Received: by 2002:ab0:3392:: with SMTP id y18mr2453681uap.66.1584531003186; Wed, 18 Mar 2020 04:30:03 -0700 (PDT)
MIME-Version: 1.0
References: <158393276183.1653.10079165719410717292@ietfa.amsl.com>
In-Reply-To: <158393276183.1653.10079165719410717292@ietfa.amsl.com>
From: Tengfei Chang <tengfei.chang@gmail.com>
Date: Wed, 18 Mar 2020 12:29:51 +0100
Message-ID: <CAAdgstQ5AwT9jEjGHnb1=kVdeMnwOCp4z5mc+nn0XVm15Hixxw@mail.gmail.com>
To: Mirja Kühlewind <ietf@kuehlewind.net>
Cc: The IESG <iesg@ietf.org>, draft-ietf-6tisch-msf@ietf.org, 6tisch <6tisch@ietf.org>, 6tisch-chairs@ietf.org, "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Content-Type: multipart/alternative; boundary="00000000000094b96005a11f5f46"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/g8QVUhssJhhOujgSGVLftU4f4Bc>
Subject: Re: [6tisch] Mirja Kühlewind's No Objection on draft-ietf-6tisch-msf-12: (with COMMENT)
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, 18 Mar 2020 11:30:07 -0000

Hello Mirija,

Thanks for the comments on the draft!
I replied inline starting with '> '

On Wed, Mar 11, 2020 at 2:19 PM Mirja Kühlewind via Datatracker <
noreply@ietf.org> wrote:

> Mirja Kühlewind has entered the following ballot position for
> draft-ietf-6tisch-msf-12: No Objection
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-6tisch-msf/
>
>
>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> I agree with Roman's discuss that the relation to SAX-DASFAA should be
> clarified and if this is actually needed for interoperability (as stated at
> some point in the text) it seems this should be part of the body of the
> document. Or what are the requirements for interoperability? What can be
> changed in the "example" algorithm and what not?
>

> The reference for SAX has been moved into normative reference section as
suggested by Roman.
> The requirements for interoperability are the identical parameters for
the SAX algorithm
> The proposed recommend values of those parameters are presented in
the Appendix B.
> We still believe put those those info in the Appendix B is proper.
> If we put the SAX algorithm into the main content of the draft, it may
read like jumping out from the main MSF content and going to a side
knowledge of it.
> We believe it is enough to like the reader knowing it's a hashing
algorithm with node EUI64 address as input, used by MSF.

>
> Two small technical points:
> 2) Sec 9; mostly double-checking as you probably know better than me:
> "6P timeout value is calculated as
> ((2^MAXBE)-1)*MAXRETRIES*SLOTFRAME_LENGTH"
> Often you calculate such a value and then multiply by 2 (or something) to
> be on
> the safe side, as there could be e.g. processing delays in the receiving
> node.
> I assume the assumption here is that you always need to get the response
> in the
> same/after one slot (?). If that is true, I guess the calculation is fine.
> But
> wanted to check that there cannot be any additional unknown delays here.
>

> Thanks for the comments. The calculation of TIMEOUT is targeting to the
worst case, not average.
> So a multiply with 2 is not necessary.
> In most case, the 6P response is sent by through the autonomous cell,
which is the same slot, as you guessed.

>
> Further, these values come a bit out of nothing. Where are  MAXBE and
> MAXRETRIES defined? And if you have an exponential backoff that will stop
> retrying after MAXRETRIES why do you need also a timeout in addition to
> that?
>

> When Mote A sent a 6P request to Mote B, the 6P Timeout timer starts on
Mote A side.
> On Mote B side, it will try to send out the 6P response within the
MAXRETRIES.
> Mote A does not know when the maxretires reached, hence it needs the 6P
Timeout to be notified.

>
> 2) Sec 16:
> "   MSF adapts to traffics containing packets from IP layer.  It is
>    possible that the IP packet has a non-zero DSCP (Diffserv Code Point
>    [RFC2597]) value in its IPv6 header.  The decision whether to hand
>    over that packet to MAC layer to transmit or to drop that packet
>    belongs to the upper layer and is out of scope of MSF.  As long as
>    the decision is made to hand over to MAC layer to transmit, MSF will
>    take that packet into account when adapting to traffic."
> Why should a packet be dropped based on it DSCP...? Maybe be a bit more
> neutral
> here like: "   MSF adapts to traffics containing packets from IP layer.
> It is
>    possible that the IP packet has a non-zero DSCP (Diffserv Code Point
>    [RFC2597]) value in its IPv6 header.  The decision how to handle
>    belongs to the upper layer and is out of scope of MSF. As long as
>    a decision is made to hand over to MAC layer to transmit, MSF will
>    take that packet into account when adapting to traffic."
>

> For quick response, yes, I like the propose to be neutral, will update it
in the new revision.
> To answer your question why the packet is dropped based on DSCP, I image
a DoS attack make multiple of DSCP with non-zero  value occupied in the
sending queue and overwhelm the buffer.
> However, it could be handle by some mechanism to quarantine them.

>
> Some small editorial nits/comments:
> 1) Sec 1:
> - Maybe expand RPL on first occurrence.
> - s/is called as a "MSF session"/is called a "MSF session"/
>

> will integrate into next revision.

>
> 2) Sec 2
> - s/one of more slotframes/one or more slotframes/
>

> will integrate into next revision.

>
> 3) Sec 4.4
> - Please expand JRC on first occurrence. Maybe add a glossary at the
> beginning?
>

> will integrate into next revision.

>
> 4) Sec 5.1.
> "   A node implementing MSF MUST implement the behavior described in this
>    section."
> Not sure if that sentence brings any additional value because that's what
> specs
> are for. But I guess it also doesn't hurt. And respectively I find the
> statement in 5.3 rather confusing "   A node implementing MSF SHOULD
> implement
> the behavior described in
>    this section.  The "MUST" statements in this section hence only apply
>    if the node implements schedule collision handling."
> I'm not fully sure what this even means now. Can you explain? Can you maybe
> rather provide some text to explain when it could/MAY be appropriate to not
> implement it?
>

> Yes, we agree it is not clear.
> The 'SHOULD' in the text is trying to state that the handling schedule
collisions algorithm proposed in MSF draft is one of  those algorithms.
> Any implementer can choose other algorithm to handle the collision as an
alternative.
> The 'MUST' in the text is trying to state, if the implementer decides to
implement the algorithm proposed in the draft, it must follow the
description in the section.
> I agree the 'MUST' in this case sounds redundant.

The text will be replaced as following:


> 5) Sec 16:
> "The implementation at IPv6 layer
>    SHOULD ensure that this join traffic is rate-limited before it is
>    passed to 6top sublayer where MSF can observe it. "
> Maybe be less indirect here:
> "The implementation at IPv6 layer
>    SHOULD rate-limited join traffic before it is
>    passed to 6top sublayer where MSF can observe it."
>
> Also this wording is a bit unclear:
> " How this rate limit is set is out of scope of MSF."
> Maybe
> " How this rate limit is implemented is out of scope of MSF.
>
> 6) "Appendix A.  Contributors" -> Usually Contributors is an own section
> in the
> body of the document and not part of the appendix but I'm sure the RFC
> editor
> will advise you correctly.
>
>
>
> _______________________________________________
> 6tisch mailing list
> 6tisch@ietf.org
> https://www.ietf.org/mailman/listinfo/6tisch
>


-- 
——————————————————————————————————————

Dr. Tengfei, Chang
Postdoctoral Research Engineer, Inria

www.tchang.org/
——————————————————————————————————————