Lewat: ALightweight,Efficient, andWear-AwareTransactional Persistent Memory System
- 2 October 2020
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 32 (3) , 649-664
Abstract
Emerging non-volatile memory (also termed as persistent memory, PM) technologies promise persistence, byte-addressability, and DRAM-like read/write latency. A proliferation of persistent memory systems have been proposed to leverage PM for fast data persistence and expose malloc-like persistent APIs. By eliminating disk I/Os, these systems gain low-latency and high-throughput access performance for persistent data. However, there still exist non-negligible limitations in these systems, such as frequent context switches, inefficient allocation, heavy logging overhead, and lack of wear-leveling techniques. To solve these problems, we develop Lewat, a lightweight, efficient, and wear-aware transactional persistent memory system. Lewat is built in user-layer to avoid kernel/user layer context switches and enables lightweight persistent data access. We decouple the data space into slot zone and page zone. Based on this, we design different allocators in these two zones to achieve efficient allocation performance for both small-sized data and large-sized data. To minimize logging overhead, we propose an efficient adaptive logging framework. The main idea is to utilize different logging techniques for different workloads. We also propose a suite of system-coupled wear-leveling techniques that contain wear-aware allocation, wear-aware update, and write reduction. We evaluate Lewat on a real non-volatile memory platform and the experimental results show that compared with state-of-the-art persistent memory systems, Lewat has much lower latency and higher throughput.Keywords
Funding Information
- National Key Research & Development Program of China (2018YFB1003302)
- China Scholarship Council (201906230180)
- SJTU-Huawei Innovation Research Lab Funding (FA2018091021-202004)
This publication has 51 references indexed in Scilit:
- Persistent B + -trees in non-volatile main memoryProceedings of the VLDB Endowment, 2015
- HEAPOACM Transactions on Storage, 2014
- Low-power non-volatile spintronic memory: STT-RAM and beyondJournal of Physics D: Applied Physics, 2013
- NV-HeapsACM SIGPLAN Notices, 2011
- MnemosyneACM SIGARCH Computer Architecture News, 2011
- Security refreshACM SIGARCH Computer Architecture News, 2010
- Scalable high performance main memory system using phase-change memory technologyACM SIGARCH Computer Architecture News, 2009
- A durable and energy efficient main memory using phase change memory technologyACM SIGARCH Computer Architecture News, 2009
- Architecting phase change memory as a scalable dram alternativeACM SIGARCH Computer Architecture News, 2009
- ARIESACM Transactions on Database Systems, 1992