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

Michel Veillette <Michel.Veillette@trilliantinc.com> Thu, 02 July 2015 04:15 UTC

Return-Path: <Michel.Veillette@trilliantinc.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 E78831A90B9 for <6tisch@ietfa.amsl.com>; Wed, 1 Jul 2015 21:15:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, 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 1KDNyvQjlq0C for <6tisch@ietfa.amsl.com>; Wed, 1 Jul 2015 21:15:07 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0711.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:711]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 38AEE1B2DFE for <6tisch@ietf.org>; Wed, 1 Jul 2015 21:15:07 -0700 (PDT)
Received: from CO2PR0601MB792.namprd06.prod.outlook.com (10.141.247.144) by CO2PR0601MB792.namprd06.prod.outlook.com (10.141.247.144) with Microsoft SMTP Server (TLS) id 15.1.195.15; Thu, 2 Jul 2015 04:14:49 +0000
Received: from CO2PR0601MB792.namprd06.prod.outlook.com ([10.141.247.144]) by CO2PR0601MB792.namprd06.prod.outlook.com ([10.141.247.144]) with mapi id 15.01.0195.005; Thu, 2 Jul 2015 04:14:49 +0000
From: Michel Veillette <Michel.Veillette@trilliantinc.com>
To: Nicola Accettura <nick.accettura@gmail.com>, Qin Wang <qinwang6top@yahoo.com>
Thread-Topic: [6tisch] draft-dujovne-6tisch-on-the-fly-05
Thread-Index: AdCzQ1M0dyQpRxt7QFa9uOtZrmFO5QALHeoAACix2YAAApHkkAAC7dMAAASbbYAAB5XFAAAIIyAA
Date: Thu, 02 Jul 2015 04:14:49 +0000
Message-ID: <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>
In-Reply-To: <CAAYrgaD-MGm2wTJf3w31ke0k+wy-MWvMu4+y5C9wRXUo8OuZ1A@mail.gmail.com>
Accept-Language: fr-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [24.225.215.88]
x-microsoft-exchange-diagnostics: 1; CO2PR0601MB792; 5:xu0J5Ku/uhHbaWRSkpKaQCJpAv/nhm0qQn5aX3ZYlAN0anZNoRJiJUuXntmLq7M5Is+A6ufIpWMd2miNy5fg80C1Imt1xgOM50Wzvin2wAi2/A7kKY2ky75PMDJK7Zodbb8w1GANmVO29UOZ1JCv/w==; 24:c7WcLaauQAw963qe34K359J8/cJYNvfdGKgsD7HtVkTW51oD8R6LgUU/HT3l7/k5/JcXvo2g2OaVdNFG8E3qxBeQf6Gb4ZaPGK0uzYVu3OU=; 20:3ajdYwONjZ7YgSeBM0gErylZCRM/Ql99wLNSv2+0SA+v9Cnbr2zmyQG8ElpPDon3qkkgulzs3notzTElUmnU1g==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR0601MB792;
x-microsoft-antispam-prvs: <CO2PR0601MB7927A5E4E791C6CDA7D14C3FE970@CO2PR0601MB792.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(108003899814671);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:CO2PR0601MB792; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0601MB792;
x-forefront-prvs: 06259BA5A2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(24454002)(38414003)(377424004)(76104003)(377454003)(51444003)(122556002)(74316001)(2950100001)(2900100001)(40100003)(189998001)(76576001)(87936001)(5001770100001)(5003600100002)(5002640100001)(5001960100002)(18206015028)(19627595001)(33656002)(19625215002)(19617315012)(19580395003)(2521001)(62966003)(230783001)(92566002)(86362001)(99936001)(50986999)(54356999)(76176999)(2656002)(15975445007)(102836002)(99286002)(19300405004)(66066001)(561944003)(17760045003)(19580405001)(16236675004)(77156002)(77096005)(46102003)(7099028); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR0601MB792; H:CO2PR0601MB792.namprd06.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
Content-Type: multipart/related; boundary="_004_CO2PR0601MB792F2684E2513AEEFF49B4AFE970CO2PR0601MB792na_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: trilliantinc.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jul 2015 04:14:49.2140 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4f6fbd13-0dfb-4150-85c3-d43260c04309
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0601MB792
Archived-At: <http://mailarchive.ietf.org/arch/msg/6tisch/b8YBb9Otj85sUg8-yxm6bkRzMFE>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>, "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 04:15:13 -0000

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.

[cid:image001.jpg@01C868D8.BF0BB7E0]

Michel Veillette
System Architecture Director
Trilliant Inc.
Tel: 450-375-0556 ext. 237
michel.veillette@trilliantinc.com<mailto:michel.veillette@trilliantinc.com>
www.trilliantinc.com<http://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<mailto: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<mailto: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<mailto: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<mailto:michel.veillette@trilliantinc.com>
www.trilliantinc.com<http://www.trilliantinc.com/>



From: Qin Wang [mailto:qinwang6top@yahoo.com<mailto:qinwang6top@yahoo.com>]
Sent: 1 juillet 2015 11:28
To: Nicola Accettura; Michel Veillette
Cc: 6tisch@ietf.org<mailto:6tisch@ietf.org>; diego.dujovne@mail.udp.cl<mailto: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<mailto: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<mailto: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<mailto:michel.veillette@trilliantinc.com>
www.trilliantinc.com<http://www.trilliantinc.com/>




_______________________________________________
6tisch mailing list
6tisch@ietf.org<mailto:6tisch@ietf.org>
https://www.ietf.org/mailman/listinfo/6tisch


_______________________________________________
6tisch mailing list
6tisch@ietf.org<mailto:6tisch@ietf.org>
https://www.ietf.org/mailman/listinfo/6tisch