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 条
  • [11] Building Write-Optimized Tree Indexes on Disaggregated Memory
    Wang, Qing
    Lu, Youyou
    Shu, Jiwu
    SIGMOD RECORD, 2023, 52 (01) : 45 - 52
  • [12] WOBTree: a write-optimized B plus -tree for non-volatile memory
    Wang, Haitao
    Li, Zhanhuai
    Zhang, Xiao
    Zhao, Xiaonan
    Jiang, Song
    FRONTIERS OF COMPUTER SCIENCE, 2021, 15 (05)
  • [13] WOBTree: a write-optimized B+-tree for non-volatile memory
    Haitao WANG
    Zhanhuai LI
    Xiao ZHANG
    Xiaonan ZHAO
    Song JIANG
    Frontiers of Computer Science, 2021, (05) : 13 - 27
  • [14] WOBTree: a write-optimized B+-tree for non-volatile memory
    Haitao Wang
    Zhanhuai Li
    Xiao Zhang
    Xiaonan Zhao
    Song Jiang
    Frontiers of Computer Science, 2021, 15
  • [15] PMEH: A Parallel and Write-Optimized Extendible Hashing for Persistent Memory
    Hu, Jing
    Chen, Jianxi
    Zhu, Yifeng
    Yang, Qing
    Peng, Zhouxuan
    Yu, Ya
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2023, 42 (11) : 3801 - 3814
  • [16] ReoFS: A Read-Efficient and Write-Optimized File System for Persistent Memory
    Yan, Yan
    Huang, Kaixin
    Zheng, Shengan
    Xue, Dongliang
    Huang, Linpeng
    2020 25TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS 2020), 2020, : 177 - 186
  • [17] Zallocator: A High Throughput Write-Optimized Persistent Allocator for Non-Volatile Memory
    Wu, You
    Li, Lin
    ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2022, 18 (04)
  • [18] AB-Tree: A Write-optimized Adaptive Index Structure on Solid State Disk
    Jiang, Zhiwen
    Wu, Yongji
    Zhang, Yong
    Li, Chao
    Xing, Chunxiao
    2014 11TH WEB INFORMATION SYSTEM AND APPLICATION CONFERENCE (WISA), 2014, : 188 - 193
  • [19] A Scalable and Write-Optimized Disaggregated B+-Tree With Adaptive Cache Assistance
    An, Hang
    Wang, Fang
    Feng, Dan
    Zou, Xiaomin
    Liu, Zefeng
    Zhang, Jianshun
    IEEE TRANSACTIONS ON CLOUD COMPUTING, 2024, 12 (04) : 1074 - 1087
  • [20] RWORT: A Read and Write Optimized Radix Tree for Persistent Memory
    Hu, Jinlei
    Wei, Zijie
    Chen, Jianxi
    Feng, Dan
    2023 IEEE 41ST INTERNATIONAL CONFERENCE ON COMPUTER DESIGN, ICCD, 2023, : 194 - 197