Re: [6tisch] Handling Inconsistent Allocation in 6P

Yasuyuki Tanaka <yasuyuki9.tanaka@toshiba.co.jp> Thu, 24 November 2016 14:27 UTC

Return-Path: <yasuyuki9.tanaka@toshiba.co.jp>
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 5798D1293F2 for <6tisch@ietfa.amsl.com>; Thu, 24 Nov 2016 06:27:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=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 y4lEH4gFl1WE for <6tisch@ietfa.amsl.com>; Thu, 24 Nov 2016 06:27:11 -0800 (PST)
Received: from mo.tsb.2iij.net (mo1500.tsb.2iij.net [210.149.48.172]) (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 5AC2712946C for <6tisch@ietf.org>; Thu, 24 Nov 2016 06:27:11 -0800 (PST)
Received: by mo.tsb.2iij.net (tsb-mo1500) id uAOER9eU027152; Thu, 24 Nov 2016 23:27:10 +0900
Received: from unknown [172.27.153.190] (EHLO tsb-mr1502.hop.2iij.net) by mas1500.tsb.2iij.net(mxl_mta-7.2.4-7) with ESMTP id db8f6385.0.182964.00-597.341451.mas1500.tsb.2iij.net (envelope-from <yasuyuki9.tanaka@toshiba.co.jp>); Thu, 24 Nov 2016 23:27:10 +0900 (JST)
X-MXL-Hash: 5836f8be228a95ec-d7098cb7abcd77e009390c1cd728f13d8a7f48be
Received: from imx2.toshiba.co.jp (imx2.toshiba.co.jp [106.186.93.51]) by relay.tsb.2iij.net (tsb-mr1502) with ESMTP id uAOER9Nb010923 for <6tisch@ietf.org>; Thu, 24 Nov 2016 23:27:09 +0900
Received: from tsbmgw-mgw02.tsbmgw-mgw02.toshiba.co.jp ([133.199.200.50]) by imx2.toshiba.co.jp with ESMTP id uAOER9u5014647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <6tisch@ietf.org>; Thu, 24 Nov 2016 23:27:09 +0900 (JST)
Received: from tsbmgw-mgw02 (localhost [127.0.0.1]) by tsbmgw-mgw02.tsbmgw-mgw02.toshiba.co.jp (8.13.8/8.14.5) with ESMTP id uAOER9s9020665 for <6tisch@ietf.org>; Thu, 24 Nov 2016 23:27:09 +0900
Received: from localhost ([127.0.0.1]) by tsbmgw-mgw02 (JAMES SMTP Server 2.3.1) with SMTP ID 375 for <6tisch@ietf.org>; Thu, 24 Nov 2016 23:27:09 +0900 (JST)
Received: from arc1.toshiba.co.jp ([133.199.194.235]) by tsbmgw-mgw02.tsbmgw-mgw02.toshiba.co.jp (8.13.8/8.14.5) with ESMTP id uAOER9G0020662 for <6tisch@ietf.org>; Thu, 24 Nov 2016 23:27:09 +0900
Received: (from root@localhost) by arc1.toshiba.co.jp id uAOER9Wb004736 for 6tisch@ietf.org; Thu, 24 Nov 2016 23:27:09 +0900 (JST)
Received: from unknown [133.199.192.144] by arc1.toshiba.co.jp with ESMTP id ZAA04735; Thu, 24 Nov 2016 23:27:09 +0900
Received: from mx.toshiba.co.jp (mx1 [133.199.192.141]) by ovp2.toshiba.co.jp with ESMTP id uAOER9WF018728 for <6tisch@ietf.org>; Thu, 24 Nov 2016 23:27:09 +0900 (JST)
Received: from spiffy21.isl.rdc.toshiba.co.jp by toshiba.co.jp id uAOER9ss029841; Thu, 24 Nov 2016 23:27:09 +0900 (JST)
Received: from [133.196.17.238] (nm-pptp238.isl.rdc.toshiba.co.jp [133.196.17.238]) by spiffy21.isl.rdc.toshiba.co.jp (Postfix) with ESMTPSA id 2170CFF486; Thu, 24 Nov 2016 23:27:07 +0900 (JST)
To: Qin Wang <qinwang6top@yahoo.com>
References: <1739694970.195512.1479755120596.JavaMail.root@vilafranca.uoc.es> <CAC9+vPiG9ZqziO8ktpuwJrc4YcRQ7Wj1e+ZciNHmZvUE9JafPw@mail.gmail.com> <CADJ9OA-BZrQHEX9yeSoj3_8p-NOoqq0g8o=6hZ_JS-53b+vNYQ@mail.gmail.com> <e431f7a2-48bb-0605-5a90-bdb0cc134322@toshiba.co.jp> <1833275349.763606.1479942137593@mail.yahoo.com>
From: Yasuyuki Tanaka <yasuyuki9.tanaka@toshiba.co.jp>
Message-ID: <b19ebf9e-f175-f871-3653-5c89f7201a6c@toshiba.co.jp>
Date: Thu, 24 Nov 2016 15:27:07 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
MIME-Version: 1.0
In-Reply-To: <1833275349.763606.1479942137593@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-MAIL-FROM: <yasuyuki9.tanaka@toshiba.co.jp>
X-SOURCE-IP: [172.27.153.190]
X-Spam: exempt
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/pU8zOS0O-1DERciuhufS9oA1N1E>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>
Subject: Re: [6tisch] Handling Inconsistent Allocation in 6P
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: Thu, 24 Nov 2016 14:27:13 -0000

Hi Qin,

Thank you for replying to my long email!!

I put the two cases you provided below, in which schedule generation
inconsistency could occur:

(1) failure in communication because of PHY problems like bed channel
     condition, collision

(2) failure in processing because of MAC problems such as buffer
     overflow.

These failures cause timeout at the 6P layer, don't they?

Why don't we consider a transaction ending with timeout as conceivably
inconsistent? If we would do that, we would not need to maintain the
generation counter; we would use wider bit space for SeqNum in a 6P
message. 6P could be simpler. It's up to a corresponding SF how to
deal with such a transaction.

Relying on timeout alone, we cannot tell if a concerned operation is
committed by a correspondent when the transaction ends with timeout. An
example is the case where a request is lost because of (1) or (2) in
2-step transaction. If the operation is not committed, the requester
takes wrongly the transaction as inconsistent. This case is what I
call false positive. It's not a big deal, I guess...

Best,
Yatch