Emerging non-volatile 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 trade-off 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 non-volatile memories, a software solution can be crucial for the system lifetime. In this work, we propose entirely software-based bit-wise wearleveling, where the position of bits within CPU words in 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.
| Zugehörige Institution am KIT | Institut für Technische Informatik (ITEC) |
|---|---|
| Sprache | englisch |
| KITopen-ID | 1000156414 |
| Zeitschrift | IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems ISSNs: 0278-0070, 1937-4151 |
| Band | 42 |
| Heft | 8 |
| Seiten | 2527 - 2539 |
| Verlag | Institute of Electrical and Electronics Engineers (IEEE) |
| Nachgewiesen in | Web of Science Scopus Dimensions OpenAlex |