Re: [Roll] draft-rahul-roll-rpl-observations-00 Section 2.1: Wear leveling

Rahul Arvind Jadhav <rahul.jadhav@huawei.com> Mon, 23 April 2018 10:29 UTC

Return-Path: <rahul.jadhav@huawei.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 3B0211243F6 for <roll@ietfa.amsl.com>; Mon, 23 Apr 2018 03:29:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-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 WmPtn_MOeHZU for <roll@ietfa.amsl.com>; Mon, 23 Apr 2018 03:29:05 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (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 6EACA120454 for <roll@ietf.org>; Mon, 23 Apr 2018 03:29:05 -0700 (PDT)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 40FF2339C3DC4 for <roll@ietf.org>; Mon, 23 Apr 2018 11:29:02 +0100 (IST)
Received: from BLREML406-HUB.china.huawei.com (10.20.4.43) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.382.0; Mon, 23 Apr 2018 11:29:03 +0100
Received: from BLREML503-MBS.china.huawei.com ([169.254.12.113]) by BLREML406-HUB.china.huawei.com ([10.20.4.43]) with mapi id 14.03.0382.000; Mon, 23 Apr 2018 15:58:54 +0530
From: Rahul Arvind Jadhav <rahul.jadhav@huawei.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] draft-rahul-roll-rpl-observations-00 Section 2.1: Wear leveling
Thread-Index: AQHTwcibFnu8hxNmEkuDN8v/VkuQIaQN4y+Q
Date: Mon, 23 Apr 2018 10:28:53 +0000
Message-ID: <982B626E107E334DBE601D979F31785C5DBCD1B4@BLREML503-MBS.china.huawei.com>
References: <8EC2893F-731B-439D-86FE-984505349D8D@tzi.org>
In-Reply-To: <8EC2893F-731B-439D-86FE-984505349D8D@tzi.org>
Accept-Language: en-IN, zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.18.157.44]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/d7hXX8KmAMlb9tCfTitp15S1KPQ>
Subject: Re: [Roll] draft-rahul-roll-rpl-observations-00 Section 2.1: Wear leveling
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: Mon, 23 Apr 2018 10:29:07 -0000

Hello Carsten,

Thanks for raising this.
Like you mentioned, wear leveling requires over-provisioning of flash sectors. In some scenarios, application does not (or does very limited) persistent write (for e.g. street light scenario). Thus there is very less over-provisioning assumed. In such cases, it is difficult to ask for over-provisioning just for the sake of RPL (since there is no other module doing such (relatively) frequent writes). Also RPL signaling does not allow multiple state information to be clubbed together and do a single write(write is in terms of pages and thus not good for less number of bytes). The question is, Is it possible for RPL signaling to reduce persistent write at the cost of adding some signaling during node boot (at-least for 6LRs and 6LNs). Node reboot will be relatively rare-occurrence (or at-least much less frequent) and thus the cost of additional signaling bits might be worth it (?). Also I feel new RPL extensions should consider this and do not commit to persistent storage more frequently.

Thanks,
Rahul

-----Original Message-----
From: Roll [mailto:roll-bounces@ietf.org] On Behalf Of Carsten Bormann
Sent: 22 March 2018 18:29
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Subject: [Roll] draft-rahul-roll-rpl-observations-00 Section 2.1: Wear leveling

Today, at the mike, I asked about wear leveling.

The numbers in 2.1 seem to assume you do a full erase/write cycle per store operation.
That is not a good way to use Flash storage.  Obviously, for true wear leveling you need a bit more flash space (and a bit more code, which also needs flash space), but then there already are other items that you want to commit to stable storage on a somewhat regular basis.

Grüße, Carsten

_______________________________________________
Roll mailing list
Roll@ietf.org
https://www.ietf.org/mailman/listinfo/roll