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:39 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 D2EEC3A1426; Wed, 18 Mar 2020 04:39:07 -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 UHdB0ltF52xf; Wed, 18 Mar 2020 04:39:05 -0700 (PDT)
Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) (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 C91153A1422; Wed, 18 Mar 2020 04:39:04 -0700 (PDT)
Received: by mail-vk1-xa2f.google.com with SMTP id g25so5546647vkl.2; Wed, 18 Mar 2020 04:39: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=m8YY+bHMGRCuX+os+8e69cV70vswDohGO0LfRL64QZE=; b=E8fhpUeWW8LHOZbayMfH1scJrM4kM2+aqnpDCaAeAhQXP0vAve+aLc/MyyIC0DyiOM T/IvCY2sPEklENWmlhOt8oTjefhrYT6t7lUV62bie3+C0a7S6aLHTMns3676nyWqdpBz vnpFGPXPHCjyfJ4QrWfXsmT9lGTQldbDH9h9BO0FMrOH3QGISHE0raaNRlvuHkTR2cR6 46CAsSgH43Tzhjc93KfbNSZ1B6o2ivoAm6JK0nUS5ZYVTImyePzd/qJVZhl5yIkdChrq c4uBPcSdCBeM41eq72tQZ3nrIigO6sc3dz+/oZrZsDwwMUW0d3x6LMT6yZbsi401VLXx JyPg==
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=m8YY+bHMGRCuX+os+8e69cV70vswDohGO0LfRL64QZE=; b=Iwe7YRLBMwIR+7jo5VauZDB+ahdOHclz8Yt/aaRxp99yzo93Ly1FUSoxiqPMNFXAtc 1joz5hV3J+0pPHnVEGc0+uui3I+VrGUlmyvTGGafwFetIJ8jnk8OovTC7x4Um1G1dsql iIB76PmV6d4YyjLRtt18em5Q+S5lhGuFJyGJ5nBpIq/X6tRcLM2xtXDiiVixEpIEq9Er 6OUh349nTzi8sFxHi6G6wxd5xYdP34L8wpbKAwPLv9cAKwBC5gMVuXPFZM+2yzSi8dZ+ X9NKQWGG6D/LzP4XPfoIFLtfvH7e8IK/kvgc/xbnDfWtmruzb/Sya3SijQEG4RpK1ASw Qqzw==
X-Gm-Message-State: ANhLgQ3NagiwgzOixh/0ek+gw4NSpPqA1VcOXdMS9VE0+T1XiScDyHNV uRtVwVHkFiYORhD/ByPb2p+yTY52zXREWpb2E/o=
X-Google-Smtp-Source: ADFU+vsWtRSIcOVhchezqJTHjROzKM/v5UHXd6mqoEMuFEbBz3Quhqe4pTpdatqXmW588iW1/4L5EIj4OEIKyBVziH8=
X-Received: by 2002:a1f:9d16:: with SMTP id g22mr2903775vke.22.1584531543580; Wed, 18 Mar 2020 04:39:03 -0700 (PDT)
MIME-Version: 1.0
References: <158393276183.1653.10079165719410717292@ietfa.amsl.com> <CAAdgstQ5AwT9jEjGHnb1=kVdeMnwOCp4z5mc+nn0XVm15Hixxw@mail.gmail.com>
In-Reply-To: <CAAdgstQ5AwT9jEjGHnb1=kVdeMnwOCp4z5mc+nn0XVm15Hixxw@mail.gmail.com>
From: Tengfei Chang <tengfei.chang@gmail.com>
Date: Wed, 18 Mar 2020 12:38:51 +0100
Message-ID: <CAAdgstQpJMqqoet0h3QSZ2WBDM0_VoDME5yCn2wWePhOCubTZA@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="000000000000ca653505a11f7fc8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/IFO_X3WKNTOM2XGGUxPBhowljtw>
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:39:08 -0000

Sorry for the previous incomplete email...

On Wed, Mar 18, 2020 at 12:29 PM Tengfei Chang <tengfei.chang@gmail.com>
wrote:

> 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 expand 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:
>


>
> *A node implementing MSF SHOULD implement the behavior described in this
> section.Other schedule collisions handling algorithm can be an alternative
> of the algorithm proposed in this section.*
>
>>
>> 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."
>>
>
> will update it in next revision. Thanks!

>
>> 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.
>>
>
 > Thanks for pointing out. This will be updated in the next revision.

>
>>
>>
>> _______________________________________________
>> 6tisch mailing list
>> 6tisch@ietf.org
>> https://www.ietf.org/mailman/listinfo/6tisch
>>
>
>
> --
> ——————————————————————————————————————
>
> Dr. Tengfei, Chang
> Postdoctoral Research Engineer, Inria
>
> www.tchang.org/
> ——————————————————————————————————————
>


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

Dr. Tengfei, Chang
Postdoctoral Research Engineer, Inria

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