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 条
  • [31] Write-Optimized and Consistent RDMA-based Non-Volatile Main Memory Systems
    Liu, Xinxin
    Hua, Yu
    Li, Xuan
    Liu, Qifan
    2021 IEEE 39TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2021), 2021, : 248 - 251
  • [32] HDNH: a read-efficient and write-optimized hashing scheme for hybrid DRAM-NVM memory
    Zhu, Junhao
    Huang, Kaixin
    Zou, Xiaomin
    Huang, Chenglong
    Xu, Nuo
    Fang, Liang
    50TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 2021,
  • [33] Analysis and Optimization of Persistent Memory Index Structures' Write Amplification
    Woo, Youngjoo
    Kim, Taesoo
    Jung, Sungin
    Seo, Euiseong
    IEEE ACCESS, 2021, 9 : 167687 - 167698
  • [34] Persistent B+ - Trees in Non-Volatile Main Memory
    Chen, Shimin
    Jin, Qin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2015, 8 (07): : 786 - 797
  • [35] ROWE-tree: A Read-Optimized andWrite-Efficient B plus -tree for Persistent Memory
    Zou, Xiaomin
    Wang, Fang
    Fen, Dan
    Guan, Tianjin
    Su, Nan
    51ST INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, ICPP 2022, 2022,
  • [36] WORT: Write Optimal Radix Tree for Persistent Memory Storage Systems
    Lee, Se Kwon
    Lim, K. Hyun
    Song, Hyunsub
    Nam, Beomseok
    Noh, Sam H.
    PROCEEDINGS OF FAST '17: 15TH USENIX CONFERENCE ON FILE AND STORAGE TECHNOLOGIES, 2017, : 257 - 270
  • [37] Revisiting PM-Based B+ -Tree With Persistent CPU Cache
    Zhang, Bowen
    Zheng, Shengan
    Nie, Liangxu
    Qi, Zhenlin
    Chen, Hongyi
    Huang, Linpeng
    Mei, Hong
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2024, 35 (05) : 796 - 813
  • [38] SNB-index: a SkipNet and B+ tree based auxiliary Cloud index
    Wei Zhou
    Jin Lu
    Zhongzhi Luan
    Shipu Wang
    Gang Xue
    Shaowen Yao
    Cluster Computing, 2014, 17 : 453 - 462
  • [39] Marlin: A Concurrent andWrite-Optimized B plus -tree Index on Disaggregated Memory
    An, Hang
    Wang, Fang
    Feng, Dan
    Zou, Xiaomin
    Liu, Zefeng
    Zhang, Jianshun
    PROCEEDINGS OF THE 52ND INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, ICPP 2023, 2023, : 695 - 704
  • [40] Bf-Tree: A Modern Read-Write-Optimized Concurrent Larger-Than-Memory Range Index
    Hao, Xiangpeng
    Chandramouli, Badrish
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2024, 17 (11): : 3442 - 3455