Write-Optimized B+ Tree Index Technology for Persistent Memory

被引:0
|
作者
Rui-Xiang Ma
Fei Wu
Bu-Rong Dong
Meng Zhang
Wei-Jun Li
Chang-Sheng Xie
机构
[1] Huazhong University of Science and Technology,Wuhan National Laboratory for Optoelectronics
[2] Ministry of Education of China,Key Laboratory of Information Storage System
[3] Huazhong University of Science and Technology,Engineering Research Center of Data Storage Systems and Technology
[4] Huazhong University of Science and Technology,School of Computer Science and Technology
[5] Shenzhen DAPU Microelectronics Co.,undefined
[6] Ltd,undefined
关键词
persist memory; tree; write amplication; consistency; YCSB (Yahoo! Cloud Serving Benchmark);
D O I
暂无
中图分类号
学科分类号
摘要
Due to its low latency, byte-addressable, non-volatile, and high density, persistent memory (PM) is expected to be used to design a high-performance storage system. However, PM also has disadvantages such as limited endurance, thereby proposing challenges to traditional index technologies such as B+ tree. B+ tree is originally designed for dynamic random access memory (DRAM)-based or disk-based systems and has a large write amplification problem. The high write amplification is detrimental to a PM-based system. This paper proposes WO-tree, a write-optimized B+ tree for PM. WO-tree adopts an unordered write mechanism for the leaf nodes, and the unordered write mechanism can reduce a large number of write operations caused by maintaining the entry order in the leaf nodes. When the leaf node is split, WO-tree performs the cache line flushing operation after all write operations are completed, which can reduce frequent data flushing operations. WO-tree adopts a partial logging mechanism and it only writes the log for the leaf node. The inner node recognizes the data inconsistency by the read operation and the data can be recovered using the leaf node information, thereby significantly reducing the logging overhead. Furthermore, WO-tree adopts a lock-free search for inner nodes, which reduces the locking overhead for concurrency operation. We evaluate WO-tree using the Yahoo! Cloud Serving Benchmark (YCSB) workloads. Compared with traditional B+ tree, wB-tree, and Fast-Fair, the number of cache line flushes caused by WO-tree insertion operations is reduced by 84.7%, 22.2%, and 30.8%, respectively, and the execution time is reduced by 84.3%, 27.3%, and 44.7%, respectively.
引用
收藏
页码:1037 / 1050
页数:13
相关论文
共 50 条
  • [21] A read-efficient and write-optimized hash table for Intel Optane DC Persistent Memory
    Li, Zexuan
    Huang, Kaixin
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2024, 161 : 49 - 65
  • [22] Write-Optimized Indexing with Partitioned B-Trees
    Riegger, Christian
    Vincon, Tobias
    Petrov, Ilia
    19TH INTERNATIONAL CONFERENCE ON INFORMATION INTEGRATION AND WEB-BASED APPLICATIONS & SERVICES (IIWAS2017), 2017, : 296 - 300
  • [23] Write-Optimized and Consistent Skiplists for Non-Volatile Memory
    Xiao, Renzhi
    Feng, Dan
    Hu, Yuchong
    Wang, Fang
    Wei, Xueliang
    Zou, Xiaomin
    Lei, Mengya
    IEEE ACCESS, 2021, 9 : 69850 - 69859
  • [24] Read/write-optimized tree indexing for solid-state drives
    Jin, Peiquan
    Yang, Chengcheng
    Jensen, Christian S.
    Yang, Puyuan
    Yue, Lihua
    VLDB JOURNAL, 2016, 25 (05): : 695 - 717
  • [25] Read/write-optimized tree indexing for solid-state drives
    Peiquan Jin
    Chengcheng Yang
    Christian S. Jensen
    Puyuan Yang
    Lihua Yue
    The VLDB Journal, 2016, 25 : 695 - 717
  • [26] Plush: A Write-Optimized Persistent Log-Structured Hash-Table
    Vogel, Lukas
    Van Renen, Alexander
    Imamura, Satoshi
    Giceva, Jana
    Neumann, Thomas
    Kemper, Alfons
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (11): : 2895 - 2907
  • [27] DoW-KV: A DPU-offloaded and Write-optimized Key-Value Store on Disaggregated Persistent Memory
    Zhang, Yiwen
    Li, Guokuan
    Wan, Jiguang
    Wang, Junyue
    Li, Jun
    Yao, Ting
    Wu, Huatao
    Wang, Daohui
    2023 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING, CLUSTER, 2023, : 271 - 283
  • [28] A Write-Optimized Re-computation Scheme for Non-Volatile Memory
    Zhang M.
    Hua Y.
    Liu L.
    Hu R.
    Li Z.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2020, 57 (02): : 243 - 256
  • [29] FlatLSM: Write-Optimized LSM-Tree for PM-Based KV Stores
    He, Kewen
    An, Yujie
    Luo, Yijing
    Liu, Xiaoguang
    Wang, Gang
    ACM TRANSACTIONS ON STORAGE, 2023, 19 (02)
  • [30] An LSM Tree Augmented with B+ Tree on Nonvolatile Memory
    Kim, Donguk
    Lee, Jongsung
    Lim, Keun Soo
    Heo, Jun
    Ham, Tae Jun
    Lee, Jae W.
    ACM TRANSACTIONS ON STORAGE, 2024, 20 (01)