Authors: Hölscher, Nils
Hakert, Christian
Nassar, Hassan
Chen, Kuan-Hsun
Bauer, Lars
Chen, Jian-Jia
Henkel, Jörg
Title: Memory carousel: LLVM-based bitwise wear leveling for nonvolatile main memory
Language (ISO): en
Abstract: Emerging nonvolatile memory yields, alongside many advantages, technical shortcomings, such as reduced cell lifetime. Although many wear-leveling approaches exist to extend the lifetime of such memories, usually a tradeoff for the granularity of wear leveling has to be made. Due to iterative write schemes (repeatedly sense and write), wear out of memory in certain systems is directly dependent on the written bit value and thus can be highly imbalanced, requiring dedicated bit-wise wear leveling. Such a bit-wise wear leveling so far has only be proposed together with a special hardware support. However, if no dedicated hardware solutions are available, especially for commercial off-the-shelf systems with nonvolatile memories, a software solution can be crucial for the system lifetime. In this work, we propose entirely software-based bit-wise wear leveling, where the position of bits within CPU words in the main memory is rotated on a regular basis. We leverage the LLVM intermediate representation to adjust load and store operations of the application with a custom compiler pass. Experimental evaluation shows that the lifetime by applying local rotation within the CPU word can be extended by a factor of up to 21× . We also show that our method can incorporate with coarser-grained wear leveling, e.g., on block granularity and assist achievement of higher lifetime improvements.
Subject Headings: Bit rotation
Intermediate representation (IR)
LLVM
Nonvolatile main memory
Wear leveling
Subject Headings (RSWK): Nichtflüchtiger Speicher
Verschleißfestigkeit
URI: http://hdl.handle.net/2003/42131
http://dx.doi.org/10.17877/DE290R-23964
Issue Date: 2022-12-14
Rights link: https://creativecommons.org/licenses/by/4.0/
Appears in Collections:Entwurfsautomatisierung für Eingebettete Systeme

Files in This Item:
File Description SizeFormat 
Memory_Carousel_LLVM-Based_Bitwise_Wear_Leveling_for_Nonvolatile_Main_Memory.pdfDNB2.91 MBAdobe PDFView/Open


This item is protected by original copyright



This item is licensed under a Creative Commons License Creative Commons