Re: [6tisch] [6TISCH] Specify the number of cells to be added or deleted in SF0

"Prof. Diego Dujovne" <diego.dujovne@mail.udp.cl> Wed, 02 November 2016 16:02 UTC

Return-Path: <diego.dujovne@mail.udp.cl>
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 7AEC31296C8 for <6tisch@ietfa.amsl.com>; Wed, 2 Nov 2016 09:02:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mail-udp-cl.20150623.gappssmtp.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 WIm0XdUWF5UH for <6tisch@ietfa.amsl.com>; Wed, 2 Nov 2016 09:02:12 -0700 (PDT)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 081F41296C1 for <6tisch@ietf.org>; Wed, 2 Nov 2016 09:02:11 -0700 (PDT)
Received: by mail-wm0-x22f.google.com with SMTP id t79so46498946wmt.0 for <6tisch@ietf.org>; Wed, 02 Nov 2016 09:02:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail-udp-cl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CW97aFpnzKBO75AEe8DF+xQf7XJLk4qZWGvMcTN723o=; b=r56nDWO32T161Qu0BCYwytXAavn9I6G36jzqVCta7xmb1bXju7WDzYHI4fYskKfgqE oaHfopBdLErKSI7Uy1piUdizH7+o8n1L1DmrFvArlQmBldHgdUuDqZag92wbo7N/6BZm Ev9KZztyHtPs9PICCE5HhTv8D7uiYq8RV1vvXMXLAN7n+86QNgo7q0N/yiZ9KfkP/KTc y6QAYBrBcnNOKjz0qq2Me3H0Kp1CiWhnMOnR4vnK7lNeGdd0DxDOjWRD0DSZaCXWvUQ3 l6/Ibs6ONHLbKgm6Skukzvbq/FykzQym8RJempVbj0snkTeJtNmqh3PV33UU8Bly0Rc7 MuVQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CW97aFpnzKBO75AEe8DF+xQf7XJLk4qZWGvMcTN723o=; b=b9zwpzlKNPlWo28iKzyXbDUeZ3I0X2n71flaUFjgesBWXS1y4btPDfiZXGRw1WSXtH 2fJURK+Z6gTfcgXXQmN27Z1yrYTCsweB4T7E+4oG1aQqAKBc4mDvcK7TZpsmE3TzUata 8ZuPs7Szh//NnP5QbmBOHZtTc+MCY9ikMjKUjMl8FSA8BcnF7aSOI04NKzPFsga3yI8R 7cDt4gBnFg9YMjzw0+1oZVexu5+9626w4FPbAI4usd0gldNhfOEjGVwFHqvF8Weo6BGI nAOex1nwOJeNfTKP3fO9g6jpY910OtktMRvCcuuj++tTnCN0XrlqKdcZqY51Wy3sShun CAxQ==
X-Gm-Message-State: ABUngvdxhW+tGUOvQDTaEPHJqT0cNqESdz89gx03fM5xOkP+4Pdyf4WmfK/P0Qcrkj1EblNoyyfFmdQt7k+ztw==
X-Received: by 10.194.62.178 with SMTP id z18mr4225484wjr.20.1478102530017; Wed, 02 Nov 2016 09:02:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.134.1 with HTTP; Wed, 2 Nov 2016 09:02:09 -0700 (PDT)
In-Reply-To: <CAAYrgaC_ypj2kz7gJbJvmNkCivJxWm4fXmEpfvJOgef32xxw0Q@mail.gmail.com>
References: <CAAdgstQnts2ZNqjKOzG76MDZEKcVRunxU92OvWw19sHNnZtzuw@mail.gmail.com> <CAAYrgaApm=2vNQ2etMKmMA4+2dYSxr19eraNM-AAgTQnOXN5dg@mail.gmail.com> <CAH7SZV9J9Ds=SEB3j0oMuybjzao6k0ZaWgHWbfU=Gu_GNCq=tQ@mail.gmail.com> <CAAdgstROKbVhkdzi+sXdvhUV-FgXwQxkAL4-w2eUM7rMSY_f_g@mail.gmail.com> <CAAYrgaC_ypj2kz7gJbJvmNkCivJxWm4fXmEpfvJOgef32xxw0Q@mail.gmail.com>
From: "Prof. Diego Dujovne" <diego.dujovne@mail.udp.cl>
Date: Wed, 02 Nov 2016 13:02:09 -0300
Message-ID: <CAH7SZV8kF_Cfz3EU2R+Ubryg6k1U0JcyxhKSPk49_uhY9Aw8GQ@mail.gmail.com>
To: Nicola Accettura <nick.accettura@gmail.com>
Content-Type: multipart/alternative; boundary="047d7ba972843e58410540539094"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/T98PJgnqn0O5MdTzefNMZv_IFsQ>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>, Tengfei Chang <tengfei.chang@gmail.com>
Subject: Re: [6tisch] [6TISCH] Specify the number of cells to be added or deleted in SF0
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.17
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, 02 Nov 2016 16:02:15 -0000

Nicola,
         I answer below.
Regards,

                       Diego

2016-11-02 12:35 GMT-03:00 Nicola Accettura <nick.accettura@gmail.com>:

> Diego, Tengfei,
>
> I'll provide comments to each of you.
>
> @Diego: I believe that the change in the estimation algorithm does not
> change the fact that both OTF and SF0 give as output a number of cells to
> add/delete, and this is the point I'm discussing on. If we agree on this
> simple evidence (OTF and SF0 give as output a number of cells to
> add/delete), I don't see why the reasoning related to the ouput of OTF
> should not apply to the reasoning related to SF0 output. So I don't get
> really your issue.
>

What I'm saying is that the number of required cells could change when you
measure the requested cells from the application (an assumption no longer
valid) to the number of effectively used cells (which depends on the
aggregate number of effectively used cells by the node itself plus the ones
used by the forwarded traffic from the neighbors on this particular link)


>
> @Tengfei: the thing you are talking about (a hint on the number of cells
> to be added/deleted) was not expected neither by 6top nor OTF. In fact,
> what you are proposing was already present as idea in a paper on OTF. Now
> we have 6P and SF0. 6P inherits much from 6TOP. Some of the 6TOP features
> not present in 6P are now under the domain of SF0. SF0 inherits both from
> 6TOP and OTF. So the change from 6TOP,OTF to 6P,SF0 does not imply that SF0
> has to specify a specific number of cells to be added/deleted. We wanted
> the protocols to be as general as possible. I don't think that writing down
> a specific way of computing the number of cells to be added/deleted would
> help the generality we want to express as standard.
>
> But there could be something else I'm not considering. Please, don't
> hesitate to share here your thoughts.
>

Nicola, we may suggest a value, without being it mandatory.



>
> Nicola
>
>
> 2016-11-02 16:00 GMT+01:00 Tengfei Chang <tengfei.chang@gmail.com>:
>
>> Hi Nicola, Diego,
>>
>> I see. Thanks for all your explanation!
>>
>> It would be very helpful if we can see some recommended number of cell or
>> advice how to choose the number of cell in the draft.
>> As Sixtop left lots of details in SF, my thought is SF should give more
>> specific information or clues for developer/implementer to implement.
>> Of course, those information will come out from real experiments.
>>
>> Thanks for all you replying!
>>
>> Tengfei
>>
>>
>> On Wed, Nov 2, 2016 at 3:42 PM, Prof. Diego Dujovne <
>> diego.dujovne@mail.udp.cl> wrote:
>>
>>> Nicola,
>>>            I agree with your comment, but the cell estimation
>>> algorithm changed: we now estimate the number of required
>>> cells from the number of requested cells (to add or delete)
>>> and the number of effectively used cells. What is still not clear
>>> to me is if the simulation results from the OTF paper is still valid
>>> given this change. To enable the cell estimation algorithm without
>>> packet loss, we need to guarantee always a small amount of
>>> overprovisioning.
>>>           Let me bring the lost text (from OTF) back to SF0.
>>>           Regards,
>>>
>>>                                          Diego
>>>
>>> 2016-11-02 11:36 GMT-03:00 Nicola Accettura <nick.accettura@gmail.com>:
>>>
>>>> Hi Tengei,
>>>>
>>>> the problem you are rising is that you would like to see a number of
>>>> cells to add/delete when comparing required and deleted cells.
>>>>
>>>> The ancestor of SF0, namely OTF, used to specify the following sentence:
>>>>
>>>> The number of soft cells to be scheduled/deleted for bundle resizing
>>>>    is out of the scope of this document and implementation-dependant.
>>>>
>>>> In fact, we wanted to let that choice being implementation specific.
>>>>
>>>> What you are proposing (the exact number of cells to add or delete) was
>>>> already implemented in the 6tisch simulator, and it is in fact something
>>>> that has already been used and tested in the following papers:
>>>>
>>>> Palattella et al., On-the-Fly Bandwidth Reservation for 6TiSCH Wireless
>>>> Industrial Networks, IEEE Sensors Journal, 2015
>>>>
>>>> Muraoka et al., Simple Distributed Scheduling with Collision Detection
>>>> in TSCH Networks, IEEE Sensors Journal, 2016
>>>>
>>>> But, as already said, this is just a way you can allocate cells. I
>>>> guess we don't want to restrict that setting to a particular algorithm
>>>> choice.
>>>>
>>>> Hope this helps.
>>>>
>>>> Nicola
>>>>
>>>> 2016-11-02 14:59 GMT+01:00 Tengfei Chang <tengfei.chang@gmail.com>:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I am reading the SF0-02 version which is just released few days ago.
>>>>>
>>>>> In the SF0 Allocation Policy section, the policy said
>>>>>
>>>>>    1.  If REQUIREDCELLS<(SCHEDULEDCELLS-SF0THRESH), delete one or more
>>>>>        cells.
>>>>>    2.  If (SCHEDULEDCELLS-SF0THRESH)<=REQUIREDCELLS<=SCHEDULEDCELLS, do
>>>>>        nothing.
>>>>>    3.  If SCHEDULEDCELLS<=REQUIREDCELLS, add one or more cells.
>>>>>
>>>>>
>>>>>
>>>>> Personally thinking, add/delete one cells may call the sixtop many
>>>>> times which is not efficiency, add/delete more cells is not clear to the
>>>>> implementer.
>>>>> I guess there is a decision to say when to add one cell and when to
>>>>> add more cells. But I didn't find it in SF0 draft.
>>>>> Is there any reason why we doesn't say specific number of cells?
>>>>>
>>>>> If no, I think we can add/remove the number of cells to make sure the
>>>>> scheduled cells equals to the required cells plus half of SF0THRESH, which
>>>>> will help stabilize a little bit of the SF0, in case the sixtop is calling
>>>>> too often.
>>>>>
>>>>> Which means: if SCHEDULEDCELLS<=REQUIREDCELLS:
>>>>>
>>>>> 1. when there is no cell in the schedule add one cell
>>>>> 2. when there is at least one cell in schedule, add
>>>>> REQUIREDCELLS-SCHEDULEDCELLS+(SF0THRESH+1)/2 number of cells
>>>>>
>>>>> if REQUIREDCELLS<(SCHEDULEDCELLS-SF0THRESH))
>>>>>
>>>>> 1. When required cells equals 0, remove all cells but keep one in
>>>>> schedule
>>>>> 2. when required cells is greater than 0, remove  SCHEDULEDCELLS-
>>>>> REQUIREDCELLS-(SF0THRESH+1)/2
>>>>>
>>>>> Does this make sense?
>>>>>
>>>>> Tengfei
>>>>>
>>>>> --
>>>>> Chang Tengfei,
>>>>> Pre-Postdoctoral Research Engineer, Inria
>>>>>
>>>>> _______________________________________________
>>>>> 6tisch mailing list
>>>>> 6tisch@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/6tisch
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> 6tisch mailing list
>>>> 6tisch@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/6tisch
>>>>
>>>>
>>>
>>>
>>> --
>>> DIEGO DUJOVNE
>>> Profesor Asociado
>>> Escuela de Informática y Telecomunicaciones
>>> Facultad de Ingeniería - Universidad Diego Portales - Chile
>>> www.ingenieria.udp.cl
>>> (56 2) 676 8125
>>>
>>
>>
>>
>> --
>> Chang Tengfei,
>> Pre-Postdoctoral Research Engineer, Inria
>>
>
>


-- 
DIEGO DUJOVNE
Profesor Asociado
Escuela de Informática y Telecomunicaciones
Facultad de Ingeniería - Universidad Diego Portales - Chile
www.ingenieria.udp.cl
(56 2) 676 8125