Abstract
Key-value store has been widely deployed in both embedded systems and enterprise systems. Most key-value stores today use Log Structured Merge Tree (LSM-Tree), as LSM-Tree can eliminate random write operations to the secondary storage and maintain acceptable read performance. LSM-Tree is originally designed for the secondary storage device with hard disk drives. As the emerging storage media, three-dimensional (3D) flash memory has become the mainstream technology to replace hard disk drives. Different from hard disk drives and the conventional planar flash memory, 3D flash memory is vulnerable to temperature. High temperature will introduce both charge loss and retention degradation. Since LSM-Tree transfers random write operations to the sequential ones, the access to consecutive physical address in flash memory will cause the temperature issue. This will affect the integrity of data stored in 3D flash memory. This paper presents TLSM, a Temperature-aware persistent data management scheme for LSM-Tree based KV store on 3D NAND flash memory. TLSM offers both application-level LSM-Tree optimization and firmware-level address management to allocate persistent data to 3D flash. At the application-level, TLSM presents a novel temperature-aware LSM data structure to reduce the amount of data issued from LSM-Tree to 3D flash memory. At the firmware-level, TLSM reallocates the data to physical blocks with relatively low temperature. This cross-layer optimization can effectively handle the temperature issue to ensure the data integrity of LSM-Tree in 3D flash memory. We demonstrate the viability of the proposed scheme using a set of standard benchmarks. Our extensive evaluations show that, TLSM can significantly enhance the data integrity and reduce write amplifications compared to representative schemes.
Funding Information
  • National Key Research and Development Program of China (YFB1003201)
  • National Natural Science Foundation of China (61972259)
  • Guangdong Basic and Applied Basic Research Foundation (2019B151502055, 2017B030314073, 2018B030325002)
  • Shenzhen Science and Technology Foundation (JCYJ20170817100300603)

This publication has 32 references indexed in Scilit: