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 条
  • [1] Write-Optimized B+ Tree Index Technology for Persistent Memory
    Ma, Rui-Xiang
    Wu, Fei
    Dong, Bu-Rong
    Zhang, Meng
    Li, Wei-Jun
    Xie, Chang-Sheng
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2021, 36 (05) : 1037 - 1050
  • [2] A highly write-optimized concurrent B plus -tree for persistent memory
    Yan, Wei
    Zhang, Xingjun
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2024, 155 : 219 - 230
  • [3] WIPE: A Write-Optimized Learned Index for Persistent Memory
    Wang, Zhonghua
    Ding, Chen
    Song, Fengguang
    Lu, Kai
    Wan, Jiguang
    Tan, Zhihu
    Xie, Changsheng
    Li, Guokuan
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2024, 21 (02)
  • [4] Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated Memory
    Wang, Qing
    Lu, Youyou
    Shu, Jiwu
    PROCEEDINGS OF THE 2022 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA (SIGMOD '22), 2022, : 1033 - 1048
  • [5] WOPE: A write-optimized and parallel-efficient B plus -tree for persistent memory ☆
    He, Xianyu
    Zhang, Runyu
    Tian, Pengpeng
    Zhou, Lening
    Lian, Min
    Yang, Chaoshu
    JOURNAL OF SYSTEMS ARCHITECTURE, 2024, 153
  • [6] Write-Optimized Dynamic Hashing for Persistent Memory
    Nam, Moohyeon
    Cha, Hokeun
    Choi, Young-ri
    Noh, Sam H.
    Nam, Beomseok
    PROCEEDINGS OF THE 17TH USENIX CONFERENCE ON FILE AND STORAGE TECHNOLOGIES, 2019, : 31 - 44
  • [7] Technical Perspective for Sherman: A Write-Optimized Distributed B plus Tree Index on Disaggregated Memory
    Kraska, Tim
    SIGMOD RECORD, 2023, 52 (01) : 44 - 44
  • [8] TLBtree: A Read/Write-Optimized Tree Index for Non-Volatile Memory
    Luo, Yongping
    Jin, Peiquan
    Zhang, Qinglin
    Cheng, Bin
    2021 IEEE 37TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2021), 2021, : 1889 - 1894
  • [9] Write-Optimized and High-Performance Hashing Index Scheme for Persistent Memory
    Zuo, Pengfei
    Hua, Yu
    Wu, Jie
    PROCEEDINGS OF THE 13TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, 2018, : 461 - 476
  • [10] A Write-Optimized B-Tree Layer for NAND Flash Memory
    Gong, Xiaona
    Chen, Shuyu
    Lin, Mingwei
    Liu, Haozhang
    2011 7TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING (WICOM), 2011,