Re: [6tisch] draft-dujovne-6tisch-on-the-fly-05

Thomas Watteyne <watteyne@eecs.berkeley.edu> Thu, 02 July 2015 07:12 UTC

Return-Path: <twatteyne@gmail.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 903711B2FE7 for <6tisch@ietfa.amsl.com>; Thu, 2 Jul 2015 00:12:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 ZXsBK-IDL_Un for <6tisch@ietfa.amsl.com>; Thu, 2 Jul 2015 00:12:09 -0700 (PDT)
Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (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 64DFE1B2FE6 for <6tisch@ietf.org>; Thu, 2 Jul 2015 00:12:08 -0700 (PDT)
Received: by wgck11 with SMTP id k11so54964119wgc.0 for <6tisch@ietf.org>; Thu, 02 Jul 2015 00:12:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=GUm+kpsdO00Kx5ULIZ1XNtD58tb9gZy2QsaenMlTGq4=; b=zxe+Fb1XPLE0Ep94qjuCx1lo17fDuqnEWNvEUBgdnVLXKtrGTXkoykOo9Vvh8FXNmm ddG9VhO/69m3M474w8uyGG5mJRCvvwir79dqTmJc8FDOOUsVmiwE+n2EaZcAnlbcwfXc C/24LPsAOZKz8Bni+Pt4h1WfarK4N6Yj4Jsob6O9fWSw6g/SCNqGK9DQG4vjEMRdrmhm r4u2cGtckKySJQi3XADHytxRTbosId3NBkApiP1u0CIbGSbxn5hFi+VOrgnUIuhRJWYp DtlyUuK/aPHHP5rwCpWCjiQy8qN0eXXotL5c8Spfl1FbGiWj5VXxNGyyuTaclrmzY0vg 4tHA==
X-Received: by 10.180.73.10 with SMTP id h10mr48704229wiv.21.1435821127021; Thu, 02 Jul 2015 00:12:07 -0700 (PDT)
MIME-Version: 1.0
Sender: twatteyne@gmail.com
Received: by 10.28.134.146 with HTTP; Thu, 2 Jul 2015 00:11:46 -0700 (PDT)
In-Reply-To: <CO2PR0601MB792F2684E2513AEEFF49B4AFE970@CO2PR0601MB792.namprd06.prod.outlook.com>
References: <CAAYrgaCfLg2riV_W9kn=7mP3WA2mqoMw8B-+DUJGU9qw12U-EQ@mail.gmail.com> <903575291.642967.1435781867911.JavaMail.yahoo@mail.yahoo.com> <CAAYrgaD-MGm2wTJf3w31ke0k+wy-MWvMu4+y5C9wRXUo8OuZ1A@mail.gmail.com> <CO2PR0601MB792F2684E2513AEEFF49B4AFE970@CO2PR0601MB792.namprd06.prod.outlook.com>
From: Thomas Watteyne <watteyne@eecs.berkeley.edu>
Date: Thu, 02 Jul 2015 09:11:46 +0200
X-Google-Sender-Auth: 1GeJh-GMbCuqP_nZpA9EEDAau-w
Message-ID: <CADJ9OA_2_+Mx+cD6j3rNZ0uZX=WQMZ3hZg4Qx0=iMFQTX2YPAw@mail.gmail.com>
To: Michel Veillette <Michel.Veillette@trilliantinc.com>
Content-Type: multipart/related; boundary="f46d043c7f1e3d393e0519df2883"
Archived-At: <http://mailarchive.ietf.org/arch/msg/6tisch/-g9YbBG6xIGCyCFuOboHYfZf448>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>, Nicola Accettura <nick.accettura@gmail.com>, "diego.dujovne@mail.udp.cl" <diego.dujovne@mail.udp.cl>
Subject: Re: [6tisch] draft-dujovne-6tisch-on-the-fly-05
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 02 Jul 2015 07:12:13 -0000

For neighbor-to-neighbor negociation, we have been opting for
https://tools.ietf.org/html/draft-wang-6tisch-6top-coapie-00, i.e. a
speciifc IE which carries the same payload as we use for CoAP-based
management. This draft just expired, maybe Qin could publish a revised
version so we can start discussing from there in Prague?

I don't believe we can standardize that the node needs to do something
between the DATA frame it received and the ACK frame. ACK is just
link-layer mechanism to indicate that the node got the packet. AFTER the
ACK is sent, the node hands the MAC payload to the upper layer. Out of the
numerous things that can go wrong if we have a node do something between
DATA and ACK, I'm most worried about a node not being able to ACK some
packets, because the DATA packet contains too much semantics.

Comments welcome.

On Thu, Jul 2, 2015 at 6:14 AM, Michel Veillette <
Michel.Veillette@trilliantinc.com> wrote:

>  Hi Nicola, Qin
>
>
>
> About “Frame Pending bit does not mean that there is an emergency”
>
>
>
> I agree, the Frame Pending bit was provided just as an example in my first
> email. The assumption was that the target was fully in control of the
> scheduling base on availability of soft cells and availability of buffers.
> If more information need to be transferred like this notion of emergency or
> priority, a list of cells, the Frame Pending bit just need to be replaced
> by an IE. The concept however stay the same, a temporary soft cell
> allocation within a single transmission without consuming any extra
> bandwidth (cells).
>
>
>
> About “ACK frame is too tight or not”
>
>
>
> In the context of IEEE 802.15.4, the ack turnaround time is certainly too
> tight (192 usec)
>
> For TSCH, the macTsTxAckDelay is 1 msec which seem to be very doable.
>
>
>
>
> [image: cid:image001.jpg@01C868D8.BF0BB7E0]
>
> Michel Veillette
> System Architecture Director
>
> Trilliant Inc.
> Tel: 450-375-0556 ext. 237
> michel.veillette@trilliantinc.com
>
> www.trilliantinc.com
>
>
>
>
>
> *From:* Nicola Accettura [mailto:nick.accettura@gmail.com]
> *Sent:* 1 juillet 2015 19:55
> *To:* Qin Wang
> *Cc:* Michel Veillette; 6tisch@ietf.org; diego.dujovne@mail.udp.cl
> *Subject:* Re: [6tisch] draft-dujovne-6tisch-on-the-fly-05
>
>
>
> Qin, Michel,
>
> I also prefer option (2). This feature can be considered as a faster
> negotiation addressing "emergencies".
>
> Usually a negotiation will require two cells (1 for reservation request, 1
> for reservation response). Let's call this as DEFAULT_NEGOTIATION.
>
> In the "emergency" case, we have a single cell used. I guess a single cell
> would be reserved, there is not enough room in the ack. Let's call this as
> EMERGENCY_NEGOTIATION.
>
> Actually, I think that an in-band reservation should be possible also for
> the DEFAULT_NEGOTIATION: a data packet is encapsulated in a 6top packet,
> with 6top possibly carrying the IEs related to a reservation request. IEs
> will be processed at the 6top layer, the payload will be dispatched to
> upper layers on the receiver side. Then, node B will send a reservation
> response to node A within another cell (in case, with the same piggybacking
> approach, if there is a cell from B to A and a data packet to be sent in
> that direction). This possibility for the DEFAULT_NEGOTIATION could save
> energy, since a single packet will be able to address 6top needs and
> deliver data packets. I point out again that this could be an option
> working when there is enough room in the packet to accomodate both data and
> 6top IEs. When there is no room for 6top IEs in packets carrying data (data
> occupies most of the frame space), the 6top IEs will be sent in a following
> dedicated packet, as in the current 6top drafts.
>
> For the EMERGENCY_NEGOTIATION, piggybacking 6top IEs with data packet is
> the sole option available.
>
> As you point out, the Frame Pending bit does not mean that there is an
> "emergency", so if node A sends a data packet to node B with the Frame
> Pending set and with a 6top reservation request, there is no way to
> discriminate if this would be a DEFAULT_NEGOTIATION or an
> EMERGENCY_NEGOTIATION.
>
> My question is: would that be possible to have a 6top flag bit indicating
> EMERGENCY_NEGOTIATION?
>
> I would also say that the reservation request IEs for softcells could be
> significantly reduced in size. Node A could send a subset of available
> timeslots (note, I'm not talking about cells), maybe in the form:
> starttimeslot3-endtimeslot7, starttimeslot15-endtimeslot25, meaning that
> timeslots 3,4,5,6,7,15,16,17,18,19,20,21,22,23,24,25 are available in its
> own schedule (only  2*4b ytes needed). Node A will also indicate the number
> of cells required, e.g. 3. Node B will answer with 3 cells: timeslot4 on
> channeloffset3, timeslot5 on channeloffset 10, timeslot20 on channeloffset5.
>
> In many cases the node starting a negotiation (node A) won't have to
> specify a preferred channel offset for each proposed timeslot (maybe will
> specify only a single channel offset for all timeslots proposed). This
> possibility would save a lot of space in the reservation request.
>
> You wrote also: "The remained issue for both of the schemes is if the time
> for nodeB to insert the softcell request response IE into ACK frame is too
> tight or not. I don't have clear answer to it." This is a very good point
> we need to verify.
>
> What do you think?
>
> Nicola
>
>
>
> 2015-07-01 13:17 GMT-07:00 Qin Wang <qinwang6top@yahoo.com>:
>
>    Michel and Nicola,
>
>
>
> Firstly, I agree It could be a good idea to let DATA/ACK frames carry
> softcell negotiation information, and agree it belongs to 6top-to-6top
> negotiation procedure, instead of OTF.
>
>
>
> Secondly, I would like to compare the two following schemes to implement
> the idea.
>
>
>
> (1) nodeA sends a data frame to nodeB with Frame Pending setting; nodeB
> reply a ACK frame, with a softcell request response IE to give nodeA
> additional softcell to send its following data frame.
>
>
>
> (2) nodeA  send a data frame to nodeB, in which a softcell request IE is
> carried;  nodeB reply a ACK frame, with a softcell request response IE to
> give nodeA additional softcell to send its following data frame.
>
>
>
> I prefer scheme (2) although it costs more bits of softcell request IE
> from nodeA to nodeB, because Frame Pending bit belongs to MAC layer, it
> indicates there is more data following, not necessarily more bandwidth will
> be needed.
>
>
>
> The remained issue for both of the schemes is if the time for nodeB to
> insert the softcell request response IE into ACK frame is too tight or not.
> I don't have clear answer to it.
>
>
>
> What do you think?
>
>
>
> Thanks
>
> Qin
>
>
>
> On Thursday, July 2, 2015 2:05 AM, Nicola Accettura <
> nick.accettura@gmail.com> wrote:
>
>
>
> Qin,
>
> you are pointing out that the bandwidth must be already provided if one
> wants to use the Frame Pending setting. This is what we have discussed in
> the past and is the state of the art in 6tisch.
>
> Michele is proposing to use the Frame Pending jointly with a temporary
> cell reservation in the ACK.
>
> I guess this is not in the scope of OTF, but, in case, in that of
> 6top-to-6top. Why?
>
> Currently 6top-to-6top could be used for allocating cells through a
> negotiation:
>
>    1. mote A sends a reservation request to mote B in a cell, and that
>    signaling packet is unicast, so acknowledged in the same cell by B
>    2. mote B answers A with a reservation response in a following cell,
>    which is also a unicast packet acnowledged in that same cell
>
>  Michel is saying:
>
>    1. mote A sends a Frame Pending to B in a cell, and B sends the ack to
>    A in the same cell answering with a temporary allocation
>
> So, Michel's proposal uses 1 cell to perform the negotiation that 6top
> does (in the current version) by using 2 cells. I guess this is the reason
> for defining this approach reactive.
>
> At the same time, the current 6top negotiation allows to exchange more
> information for reserving a common available cell. In Michel's approach I
> figure out many cases of failures: what happens if the temporary cell given
> by B to A was already busy in A (it was already part of the A's schedule,
> but with another neighbor, say C)? I guess A will not be able to free its
> memory, so leading to congestion. Right?
>
> Nicola
>
>
>
>
>
> 2015-07-01 10:09 GMT-07:00 Michel Veillette <
> Michel.Veillette@trilliantinc.com>:
>
>   Hi Qin
>
>
>
> Yes, the Frame Pending flag is defined as follow:
>
>
>
> IEEE 802.15.4-2006 section 7.2.1.1.3
>
> “Frame Pending subfield is 1 bit in length and shall be set to one if the
> device sending the frame has more data for the recipient. This subfield
> shall be set to zero otherwise”
>
>
>
> This feature can be especially useful for the upstream traffic in a RPL
> DODAG. In a scenario where a DAG parent have dozens of children, dedicated
> timeslot will be infrequent and share timeslots suffer from contention. If
> a subset of these children have ongoing traffic, the parent can use the
> Frame Pending flag information to schedule temporary soft cells and avoid
> contention or speedup transfer.
>
>
>
>
>
>    Michel Veillette
> System Architecture Director
>
> Trilliant Inc.
> Tel: 450-375-0556 ext. 237
> michel.veillette@trilliantinc.com
>
> www.trilliantinc.com
>
>
>
>
>
> *From:* Qin Wang [mailto:qinwang6top@yahoo.com]
> *Sent:* 1 juillet 2015 11:28
> *To:* Nicola Accettura; Michel Veillette
> *Cc:* 6tisch@ietf.org; diego.dujovne@mail.udp.cl
> *Subject:* Re: [6tisch] draft-dujovne-6tisch-on-the-fly-05
>
>
>
> Hi Michel and Nicola,
>
>
>
> I think Michel's idea is interesting. But, according to my understanding,
> the Frame Pending setting just means there is frame following, does not
> mean that the current bandwidth provided by TSCH schedule, including hard
> cells and soft cells, is not enough to convey those frames, and then needs
> more bandwidth (e.g. additional soft cells) . Right? Do I miss something?
>
>
>
> Thanks
>
> Qin
>
>
>
>
>
> On Wednesday, July 1, 2015 4:03 AM, Nicola Accettura <
> nick.accettura@gmail.com> wrote:
>
>
>
> Hi Michel,
>
> your proposal is very interesting.
>
> However, OTF does not allocate cells directly: it just computes the
> estimated number of cells to add or delete into the schedule, and then
> sends this information to 6top. 6top is then in charge of negotiating cells
> among neighbors, and meybe perform the scheme you are proposing.
>
> So, your proposal seems fitting more the 6top-to-6top communication.
>
> Am I missing something? What others think about?
>
> Sincerely
>
> Nicola
>
>
>
> 2015-06-30 8:13 GMT-07:00 Michel Veillette <
> Michel.Veillette@trilliantinc.com>:
>
>    Hi Diego
>
>
>
> It’s my first reading of the “6TiSCH On-the-Fly Scheduling” (and I’m not
> completely done yet) and I wandering if the concept of on the fly, in a
> single exchange, temporary allocation of a soft cell have already been
> discussed. For example, a node can use the Frame Pending subfield (IEEE
> 802.15.4-2006 section 7.2.1.1.3) to indicate the presence of packets ready
> to be transmitted. Based on that knowledge, the target may add an IE in an
> enhanced acknowledgment to allocate a temporary soft cell (e.g. single
> cell). Each subsequent transmission may further re-allocate a temporary
> soft cell. It’s important to note that the default delay for a TSCH
> Acknowledgment is 1ms (macTsTxAckDelay) which seem sufficient for the
> processing of this new IE.
>
>
>
>
>
>
>
> This scheme is very reactive and may help dealing with non-predictable
> communication patterns.
>
> What do you things?
>
>
>
> Michel Veillette
> System Architecture Director
>
> Trilliant Inc.
> Tel: 450-375-0556 ext. 237
> michel.veillette@trilliantinc.com
>
> www.trilliantinc.com
>
>
>
>
>
>
> _______________________________________________
> 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
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 6tisch mailing list
> 6tisch@ietf.org
> https://www.ietf.org/mailman/listinfo/6tisch
>
>