[6lo] 6lo packet expiration time draft discussion; request for WG adoption

Charlie Perkins <charles.perkins@earthlink.net> Thu, 05 October 2017 20:40 UTC

Return-Path: <charles.perkins@earthlink.net>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9273A124207 for <6lo@ietfa.amsl.com>; Thu, 5 Oct 2017 13:40:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level:
X-Spam-Status: No, score=-2.021 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=earthlink.net; domainkeys=pass (2048-bit key) header.from=charles.perkins@earthlink.net header.d=earthlink.net
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 zYp0tLkprSVZ for <6lo@ietfa.amsl.com>; Thu, 5 Oct 2017 13:40:11 -0700 (PDT)
Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9DF951320C9 for <6lo@ietf.org>; Thu, 5 Oct 2017 13:40:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1507236011; bh=TvmJLg46YJN2/jVanq+4dP7zza3bUk8vnLA2 KUBj0jc=; h=Received:To:From:Subject:Message-ID:Date:User-Agent: MIME-Version:Content-Type:Content-Transfer-Encoding: Content-Language:X-ELNK-Trace:X-Originating-IP; b=jBAwmvkWgAdqYIny PU4dAXYOrDPexabBu57043tuhRWLMbTcvPGBY/awkTit7zM9pimq4LWUnuZFgfisxUY o0BiD0UUD1eOIoh/g+DmjL3KafkvCJ2dC1v250Lyrbl7vSX6sEHYf0Hw5ivC8R9W2qr Z8VEX3/kjjTg1f+cQHsEFoNqtS1Z371RmBJJkiOvRAcflzROvrSbZB5bnL7GoQ3HZnw lf+QU4Y8nUUpJWMJExahfjh/D+6M38Bm4Z/aBinWgEeeSuooBNy0N9T04y5YuKkQ0CL x6xchLapOipENl8xlAQKWZ70/i7rBdS/zmqh6K2SRD7EKmoc+W7O0J8aeQ==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=c4vWIB2Vx4Pvw3AklV0z+SM0wy3gXp7xVmJsa5K3rwed98NxoXvzI79VfwVnQDV0yunQV60cSvz2rTn+RizQ5ai5L7bccJIKEn0E09kQ2hzICfcy2zBWCBsPZNINHUg8Hm9BW5nH5a+uzdblhyTfWUfsuSMsJHcOxAhJAmjUJhPJLPyFcSCR6l+4XkhurUPiQjH9EC09pS8WrRysVl+J+FW4ogTBCJtIm0/rxc5NjHOshfTwr1w+DvuP1XnvYFY7WDTSRwifAYSPdOVwlNxCpFIcCjufsERekQjIpBTGoszOQgoFH1QXUbB30jU4sV9R96LgKucezcKllsbvlq5VDw==; h=Received:To:From:Subject:Message-ID:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Language:X-ELNK-Trace:X-Originating-IP;
Received: from [99.51.72.196] (helo=[192.168.1.82]) by elasmtp-masked.atl.sa.earthlink.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4) (envelope-from <charles.perkins@earthlink.net>) id 1e0CwE-000Dxs-3h for 6lo@ietf.org; Thu, 05 Oct 2017 16:40:10 -0400
To: 6lo@ietf.org
From: Charlie Perkins <charles.perkins@earthlink.net>
Message-ID: <c442c616-e76b-2540-d1e1-55b6f85c5b06@earthlink.net>
Date: Thu, 05 Oct 2017 13:40:08 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-ELNK-Trace: 137d7d78656ed6919973fd6a8f21c4f2d780f4a490ca6956846b590522b13c9535e999b61ed8ddb30476644a5e787976350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.51.72.196
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/DFhxuReLaaomFM8Vg9pu-1VRCws>
Subject: [6lo] 6lo packet expiration time draft discussion; request for WG adoption
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Oct 2017 20:40:14 -0000

Hello folks,

I would like to discuss the points raised during the recent IETF 99 
meeting in Prague.  It seems to me that the draft is ready now for 
adoption by the working group.

Below, I have extracted the relevant part of the minutes for easier 
follow-up:

 > Packet Expiration Time in 6lo Routing Header Charlie Perkins 10 min
 > https://www.ietf.org/id/draft-lijo-6lo-expiration-time-03
 > * This is about communicating delivery deadline time in 6LoWPAN 
networks. Allows dropping
 > packet if too late, and measuring transit time in network.
 > * Since last revision, added ASN as possible time unit.
 > * Name of draft says "expiration", should become "deadline"


We would do this if the document is adopted as a WG document.


 > * Charlie shows format
 > * Pascal: supportive of this. You should drop as soon as you know the 
packet won't make it.
 > Requires to know transit time of remaining part of the rest of the 
path. With source routing, Root could
 > compute intermediate deadlines at each hop.
 > * Charlie: would love to have this fine-grained level of planning, 
not sure real networks can do this.
 > Is it worth the added complexity?
 > * OpenWSN implemented an EDF (Earliest Deadline First) policy based 
on this.
 > * Kerry Lynn: back to Pascal's question. Not all hops have same 
"cost" (transit time). Where is time
 > spent? propagation, queuing, ...?


At an intermediate node, it will be hard to predict/compute the 
remaining time for each hop because of wireless conditions, queuing 
delays, etc.  Simply computing the remaining time divided by number of 
hops seems unlikely to provide a useful solution. The actual numbers for 
the per-hop delay are time-varying on a timescale that can be short 
compared to the lifetime of the flow. So I would definitely not want to 
tackle that question as part of this draft.  Conditions that matter for 
the purpose of longer timescales could be handled by purpose-built 
objective functions. That's definitely out of scope for our draft.


 > * Charlie: just want have a deadline so know it's too late.
 > * Thomas: to Kerry's question: depends on technology. In 6TiSCH, 
transit time is mostly queing,
 > waiting for the next slot
 > * Kerry: ?
 > * Charlie: ?
 > * Samita: About time synch mechanism/protocol, any recommendation?

In a wireless network based on IEEE802.15.4-2015, TSCH provides time 
synchronization; RFC 7554 provides some useful information about this 
mode of synchronization.  In scenarios where a packet is routed over an 
IPv6 external network, a synchronization mechanism has been recommended 
by IEEE802.1 AS.  This solution has also been cited in the Detnet 
problem-statement <draft-ietf-detnet-problem-statement>.   I think it 
will be sufficient for us to mention these two documents in the next 
revision.


 > * Charlie: will post on the mailing list, and add text in the draft
 > * Thomas: time synch, can answer on our implementation. 100us. In 
commercial implemenation,
 > 10-15us. But not related to this draft.
 > * Charlie: could insert words of caution in the draft that operating 
on timestamps may provide
 > misleading results
 > * Gabriel: if D bit set, text says SHOULD drop. Anything bad can 
happen if implementation does not
 > obey SHOULD? Then maybe turn it into MUST
 > * Thomas: Recommend to put MUST.

I am semi-O.K. with MUST, but I still think that SHOULD is better.

 > * Pascal: This header is optional to process.
 > * Suresh: can say MUST, but sender cannot expect it to be observed if 
intermediate router does not
 > implement this.
 > * Pascal: application cannot rely that packet will *not* be delivered 
after deadline. On;y use it as
 > "discard preferably to other packets" after deadline.

This seems to go against a previous discussion in favor of using MUST.

 > * Peter VDS: if network and application is actually real time, will 
make sure this draft is
 > implemented in all routers and make this a MUST.

The packet would typically be dropped in such networks even if SHOULD, 
and SHOULD does not necessarily detract from enabling real time.

 > * Gabriel: will continue this discussion on mailing list and call for 
adoption after that.

Yes, I would like to request WG adoption of this draft.

Regards,
Charlie P.