NV-Tree: A Consistent and Workload-Adaptive Tree Structure for Non-Volatile Memory
Authors:
- 17 September 2015
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 65 (7) , 2169-2183
Abstract
The non-volatile memory (NVM) which can provide DRAM-like performance and disk-like persistency has the potential to build single-level systems by replacing both DRAM and disk. Keeping data consistency in such systems is non-trivial because memory writes may be reordered by CPU. Although ordered memory writes for achieving data consistency can be implemented using the memory fence and the CPU cache line flush instructions, they introduce a significant overhead (more than 10X slower in performance). In this paper, we focus on an important and common data structure, B $^+$ Tree. Based on our quantitative analysis for consistent tree structures, we propose NV-Tree, a consistent, cache-optimized and workload-adaptive B $^+$ Tree variant with significantly reduced consistency cost (up to 96 percent reduction in CPU cache line flush). To further optimize NV-Tree under various workloads, we propose a workload-adaptive scheme in which the sizes of individual nodes can be dynamically adjusted to improve the performance over time. We implement and evaluate NV-Tree and NV-Store, a key-value store based on NV-Tree, on an NVDIMM server. NV-Tree outperforms the state-of-art consistent tree structures by up to 12X under write-intensive workloads. NV-Store increases the throughput by up to 7.3X under YCSB workloads compared to Redis.
Keywords
Funding Information
- Agency for Science, Technology and Research (112-172-0010)
- MOE AcRF Tier 1 (2014-T1-001-145)
This publication has 35 references indexed in Scilit:
- Scalable logging through emerging non-volatile memoryProceedings of the VLDB Endowment, 2014
- Booting Time Minimization for Real-Time Embedded Systems with Non-Volatile MemoryIEEE Transactions on Computers, 2014
- Exploring the future of out-of-core computing with compute-local non-volatile memory2013
- Using Multilevel Phase Change Memory to Build Data Storage: A Time-Aware System Design PerspectiveIEEE Transactions on Computers, 2012
- SCMFS2011
- Operation-aware buffer management in flash-based systems2011
- Scalable Spin-Transfer Torque RAM Technology for Normally-Off ComputingIEEE Design & Test of Computers, 2010
- Tree indexing on solid state drivesProceedings of the VLDB Endowment, 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