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

Jonathan Simon <jsimon@linear.com> Thu, 02 July 2015 19:15 UTC

Return-Path: <jsimon@linear.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 AE8641A8984 for <6tisch@ietfa.amsl.com>; Thu, 2 Jul 2015 12:15:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.011
X-Spam-Level:
X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, SPF_PASS=-0.001] autolearn=ham
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 tHp6m5nFVd5i for <6tisch@ietfa.amsl.com>; Thu, 2 Jul 2015 12:14:58 -0700 (PDT)
Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (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 A22B01A897E for <6tisch@ietf.org>; Thu, 2 Jul 2015 12:14:58 -0700 (PDT)
Received: by pabvl15 with SMTP id vl15so44854921pab.1 for <6tisch@ietf.org>; Thu, 02 Jul 2015 12:14:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linear.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=2fH6iTBfrV/8cEMLLgreRGDO5L0Gt2J8BjNfSr1FZmg=; b=lkI5KU2SKewzFcZReD/dVcJLpyhS6hwta790O3QcRe3nf0KedmAPSJnm1TrPeQYqNB vdIH4tflCa2JoIteSEk9q6ftdap1TW9pZ7JKm787uc7xEmKD3dvvUucWMn9HNb6MZ3ve tMgSU5DH44M3azx5hvl2LKRDACBWZdztYvtQU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=2fH6iTBfrV/8cEMLLgreRGDO5L0Gt2J8BjNfSr1FZmg=; b=CCv3116o0Dm255Tqx3k1sE6Rr2CkdXAzti2uhFGeA9CaVON7qmNne0qPDpgluh6SH4 rlEQJY97xxHiNOvG/LL80Bd2e/acTgs3m1RWPAj3pc/I3wRX4yItV3/YaFCYn8sqDJZI Q3THkSVT4KOR114feLw5F8oSnGwkvVKOSST4+C73JSm6Bv5zdisaw6lsY5wHgsYAucI6 DUA468jKoV9baGNLvMRxA25FsG/tAM1vsSCUna7gMXchxO4gVdNQCm176wyiGp8gqyGM ZUKW//dsv0DCL/sSCjAa20FRM6J+Ai5qp+6U3Uacs9EgGyGT/nu7eJwJXdw97bK75nBC uJGQ==
X-Gm-Message-State: ALoCoQm6UURRCQQwFlCZDm5t16oqBFgHylW6GOA3oOlQwRZzZgqJE850g42g0u9gUwwOqfTSg5Sk
X-Received: by 10.70.87.195 with SMTP id ba3mr70021862pdb.154.1435864498211; Thu, 02 Jul 2015 12:14:58 -0700 (PDT)
Received: from blindsay-e6400.engineering.linear.com ([207.140.31.138]) by mx.google.com with ESMTPSA id l1sm6507473pdp.71.2015.07.02.12.14.56 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 Jul 2015 12:14:57 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_9B2F8E5B-F8F0-4ADC-A939-348D0B5ECC59"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Jonathan Simon <jsimon@linear.com>
In-Reply-To: <CADJ9OA_2_+Mx+cD6j3rNZ0uZX=WQMZ3hZg4Qx0=iMFQTX2YPAw@mail.gmail.com>
Date: Thu, 02 Jul 2015 12:14:50 -0700
Message-Id: <9CF64DD0-2FA6-4E26-BDC2-59735EA51198@linear.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> <CADJ9OA_2_+Mx+cD6j3rNZ0uZX=WQMZ3hZg4Qx0=iMFQTX2YPAw@mail.gmail.com>
To: Thomas Watteyne <watteyne@eecs.berkeley.edu>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: <http://mailarchive.ietf.org/arch/msg/6tisch/SWAjrgGqTuf2WHOyPlzXYuS6HjI>
Cc: Michel Veillette <Michel.Veillette@trilliantinc.com>, "6tisch@ietf.org" <6tisch@ietf.org>, "diego.dujovne@mail.udp.cl" <diego.dujovne@mail.udp.cl>, Nicola Accettura <nick.accettura@gmail.com>
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 19:15:03 -0000

+1   

The 15.4 spec only has a few criteria for not acknowledging a frame - mismatch PANID, mismatch destination address, or failing security processing.

— 
Jonathan

On Jul 2, 2015, at 12:11 AM, Thomas Watteyne <watteyne@eecs.berkeley.edu> wrote:

> 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.
> 
>                                                                                                                                                                                                                            
> 
> <image001.jpg>
> 
> 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:
> 
> 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
> 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:
> 
> 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
> 
> 
> _______________________________________________
> 6tisch mailing list
> 6tisch@ietf.org
> http://cp.mcafee.com/d/FZsSd2gwcxNJ5xBZVd55AsrKrhs7cFCQn1PbVJ5MsqekkSjhOrsuuusoLsS8QAHm0afB3ZzOVI-kfSfbCXLIuMqenT-LOarzbP7nKnjp7cYCOesspVqWdAkRrK9YG7DR8OJMddECQjt-hojuv78I9CzATsSjDdqymokWnPtU03wCHIcfBisEeRNOsGm9CT9OFoCn8lrxrW0GnPtU02rsvod7bNI5-Aq83iSVelb4PiWq848WXcKwS8RcMYKVelb4OZo5VA_bKDByZTPr0USHhf0y2c43Xx