[Roll] MPL leaf node behaviour

James Ko <jim.list@hotmail.com> Tue, 29 August 2017 18:52 UTC

Return-Path: <jim.list@hotmail.com>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 58E56132C47 for <roll@ietfa.amsl.com>; Tue, 29 Aug 2017 11:52:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.125
X-Spam-Level:
X-Spam-Status: No, score=-1.125 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com
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 xKJCu9ftj2_M for <roll@ietfa.amsl.com>; Tue, 29 Aug 2017 11:52:11 -0700 (PDT)
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-sn1nam04olkn0802.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe4c::802]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DA17132955 for <roll@ietf.org>; Tue, 29 Aug 2017 11:52:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=n0h7udPWQTPrz1QkZIoXKUPNGIpiRoM/7mYE42Pi7XM=; b=gMlIbRIMePbAfgx76YROLrwWIVJOBXYFdgB4X144bLLU248NKQfj51XYgnD2n0fTNjt1g41kRrt3dn0+1M5XRKH7vB0ku7GXAA3nHFz/NINlq25ZeP7ukQdaEgBkR7OpIdYJvKMGdlJPKryFXlho2y6DrT7CY6FjcSGv+oMm+Sa109txp6ZZKeC4cZik/8qECfW6V64CPGvlLTBHfShwTDyLGGFHmDJQuYSNZjn+WRNgHGvI8mE5h/ZafcMxvrnAx9A1k35y7X8H6dIjTKlxTJK6RXzni7CGYZeI81EFzNqPp7+IxzIKiiHCFrq2l78UwQTNyFSFQPIipm/qUrnnHg==
Received: from SN1NAM04FT010.eop-NAM04.prod.protection.outlook.com (10.152.88.59) by SN1NAM04HT045.eop-NAM04.prod.protection.outlook.com (10.152.88.238) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1385.11; Tue, 29 Aug 2017 18:51:52 +0000
Received: from CO2PR03MB2198.namprd03.prod.outlook.com (10.152.88.58) by SN1NAM04FT010.mail.protection.outlook.com (10.152.88.129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.11 via Frontend Transport; Tue, 29 Aug 2017 18:51:52 +0000
Received: from CO2PR03MB2198.namprd03.prod.outlook.com ([10.166.92.21]) by CO2PR03MB2198.namprd03.prod.outlook.com ([10.166.92.21]) with mapi id 15.01.1385.010; Tue, 29 Aug 2017 18:51:52 +0000
From: James Ko <jim.list@hotmail.com>
To: "roll@ietf.org" <roll@ietf.org>
Thread-Topic: MPL leaf node behaviour
Thread-Index: AQHTIPdoOvPaLEa6KEWDiBVeON4mEA==
Date: Tue, 29 Aug 2017 18:51:52 +0000
Message-ID: <CO2PR03MB21988E7723DCD47ADCBB95AEFD9F0@CO2PR03MB2198.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=hotmail.com;
x-incomingtopheadermarker: OriginalChecksum:221CA9FA5B3291DDEB87E1F90D91617FEBA87EC40909367F2D46D088DA43ED7C; UpperCasedChecksum:016FA7E82DB9A5C033C88F4BEA03FA17402581D28DC61CF22B51BD3FE2414A43; SizeAsReceived:6793; Count:44
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [C3J225BFRH5PuBhyZExpuidRkpPhAO05]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; SN1NAM04HT045; 6:S72cMd3wOd2GzZ1YjRTxxjFiUoQybwFp7EA+QooEohJijdhBrywHGQ9/qjKlGbhxfO9HveCWMmVqFlDrayF1yPdn/XxrcyCyr2S39wP3/Vov33OjHXtBsa3uc/fayWvQ6vEUTHLupxw6VeEuhLI7c4arvn+/vuv7nB2Qbst42fexvxRahMhAdN0vxsLQu+ulWlf6qTqj6ihhRy208HsqnO7ZGTL1Ql6lCxmY9F3NYENQC1Y8rLUEG+amXEfpmdYnizCTpAAtvFARUJDMauM11OJR574fb30EKLRdG3/slly0SWM5TVOynNWKl0nZbq/tyQRrei4Us4UzBUbPw/gCMw==; 5:vpQhJRdl86f1VFaqBZfnGtSlCeALz4mV6uuMM66NnA61dRNyC9W8vErXEpfH5hsv2TtVVF/bSUbYTGGn6eoKEkkpbv1qc13i23hrRANBtPTE6KAtEJdTlkbjN54wQynkmxmG6OjJKNItRjaqyzMe3w==; 24:NSJBV6MFZluJBvVbOxyGzkgcA15k+vwjNo7agNf6tfngcs2kw15D1uKFzW52a9sS5zY/JfQ/xW4dhLE5wPMbdkDzE/ZQ7PS4dfxeEgGGZ+U=; 7:RCdn8jI/uyHBSM9m0o8Ty3nnI8oxIH9aR+juBVJZOU9fsinJNFWQMhTH+K1VKCeeG6vxLksfsZurAF0wyGb2mIQotG6rjGv7+ZgD6sSUNTKHAdrJvDe0DJCkOQIdfLRNwfakRsquOiQ/W0yXykjPZ8+jMcu4yvfVKSbMUwSkESdMWZuUlR4NlcuhjiBNM0tE/zTkBnDY/EpW/frgaOerenGux6g7mC4qs4Txh4K7sgc=
x-incomingheadercount: 44
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 0ed29291-0eaa-4b1f-84e6-08d4ef0f0378
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN1NAM04HT045;
x-ms-traffictypediagnostic: SN1NAM04HT045:
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:SN1NAM04HT045; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1NAM04HT045;
x-forefront-prvs: 0414DF926F
x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:SN1NAM04HT045; H:CO2PR03MB2198.namprd03.prod.outlook.com; FPR:; SPF:None; LANG:;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_CO2PR03MB21988E7723DCD47ADCBB95AEFD9F0CO2PR03MB2198namp_"
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Aug 2017 18:51:52.5829 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM04HT045
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/YEo4m-k7ngzrdasNSRWPC9qD8lw>
Subject: [Roll] MPL leaf node behaviour
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/roll/>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Aug 2017 19:21:18 -0000

During testing of my implementation of MPL I found that the leaf nodes in a mesh network (or the last MPL Forwarder to receive a multi-cast packet) would continue to retransmit at every trickle time 't', until expiration 'e' is reached, since it does not receive the same number of 'consistent' transmissions from a neighbour and count 'c' never reaches the consistency constant 'k'.


Example with k = 2, seq [1], nodes <n>

Node <1>
        Node <2>
        Node <3>

TX[1], c = 0
        RX[1] from <1>, c = 0


RX[1] from <2>, c=1
        TX[1], c = 0
        RX[1] from <2>, c = 0

TX[1],  c = 1
        RX[1], from <1>, c = 1
        TX[1], c = 0

RX[1] from <2>, c = 2
        TX[1], c = 1
        RX[1] from <2>, c = 1



RX[1] from <3>, c = 2
        TX[1], c = 1


        RX[1] from <3>,  c = 3
        TX[1], c = 1



RX[1] from <3>,  c = 4
        TX[1], c = 1







Node <3> would continue to retransmit [1] until 'e' expirations.  Even if reactive forwarding is enabled (CONTROL_MSG_EXPIRATIONS != 0) and a 'consistent' control message is received it does not increment 'c' for the data messages.  The data message trickle is reset only for 'inconsistent' messages identified by the control message.


If the expirations 'e' is large, what, if any, strategies could be used to prevent the leaf node from continuing to transmit since it never receive k number of consistent transmissions?


One possible strategy is if reactive forwarding is also enabled then a data message should only be transmitted if 'c' < 'k' for both the data message and the control message.


Of course, this leaf node consistency problem also exists for the control messages following the trickle algorithm.


James