Revisiting PM-Based B+ -Tree With Persistent CPU Cache

被引:0
|
作者
Zhang, Bowen [1 ]
Zheng, Shengan [2 ]
Nie, Liangxu [1 ]
Qi, Zhenlin [1 ]
Chen, Hongyi [1 ]
Huang, Linpeng [1 ]
Mei, Hong [1 ]
机构
[1] Shanghai Jiao Tong Univ, Dept Comp Sci & Engn, Shanghai 200240, Peoples R China
[2] Shanghai Jiao Tong Univ, AI Inst, MoE Key Lab Artificial Intelligence, Shanghai 200240, Peoples R China
关键词
B+ -Tree; EADR; lock-free; persistent CPU cache; persistent memory; PERFORMANCE; INDEX;
D O I
10.1109/TPDS.2024.3372621
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Persistent memory (PM) promises near-DRAM performance as well as data persistence. Recently, a new feature called eADR is available for PM-equipped platforms to guarantee the persistence of CPU cache. The emergence of eADR presents unique opportunities to build lock-free data structures and unleash the full potential of PM. In this paper, we propose NBTree, a lock-free PM-friendly B+-Tree, to deliver high scalability and low PM overhead. To our knowledge, NBTree is the first persistent index designed for PM systems with persistent CPU cache. To achieve lock-free, NBTree uses atomic primitives to serialize index operations. Moreover, NBTree proposes five novel techniques to enable lock-free accesses during structural modification operations (SMO), including three-phase SMO, sync-on-write, sync-on-read, cooperative SMO, and shift-aware search. To reduce PM access overhead, NBTree employs a decoupled leaf node design to absorb the metadata accesses in DRAM. Moreover, NBTree devises a cache-crafty persistent allocator and adopts log-structured insert and in-place update/delete to enhance the access locality of write operations, absorbing a substantial amount of PM writes in persistent CPU cache. Our evaluation shows that NBTree achieves up to 11x higher throughput and 43x lower 99% tail latency than state-of-the-art persistent B+-Trees under YCSB workloads.
引用
收藏
页码:796 / 813
页数:18
相关论文
共 16 条
  • [1] Maintaining cache coherency for B+ tree indexes in a shared disks cluster
    Ohn, K
    Cho, H
    HIGH PERFORMANCE COMPUTING FOR COMPUTATIONAL SCIENCE - VECPAR 2004, 2005, 3402 : 410 - 423
  • [2] 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)
  • [3] 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
  • [4] Write-Optimized B+ Tree Index Technology for Persistent Memory
    Rui-Xiang Ma
    Fei Wu
    Bu-Rong Dong
    Meng Zhang
    Wei-Jun Li
    Chang-Sheng Xie
    Journal of Computer Science and Technology, 2021, 36 : 1037 - 1050
  • [5] An anti-collision algorithm in RFID based on B+ TREE
    Luo, Juan
    Wang, Yun-Fei
    Li, Ren-Fa
    Ling, Lin
    Hunan Daxue Xuebao/Journal of Hunan University Natural Sciences, 2009, 36 (06): : 72 - 75
  • [6] Ciphertext Sorting Search Scheme Based on B+ Tree Index Structure on Blockchain
    Niu Shufen
    Wang Jinfeng
    Wang Bobin
    Jia Xiangdong
    Du Xiaoni
    JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2019, 41 (10) : 2409 - 2415
  • [7] Study on Anti-worm Diffusion Strategies Based on B+ Address Tree
    Xu, Dewu
    Lu, Jianfeng
    Chen, Wei
    JOURNAL OF COMPUTERS, 2012, 7 (09) : 2093 - 2098
  • [8] Multi-tenant data integrity verification scheme based on B+ tree
    Li, Ying
    Zhang, Yongsheng
    Journal of Computational Information Systems, 2015, 11 (16): : 6111 - 6118
  • [9] 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
  • [10] Revisiting the Design of LSM-tree Based OLTP Storage Engine with Persistent Memory
    Yan, Baoyue
    Cheng, Xuntao
    Jiang, Bo
    Chen, Shibin
    Shang, Canfang
    Wang, Jianying
    Huang, Gui
    Yang, Xinjun
    Cao, Wei
    Li, Feifei
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 14 (10): : 1872 - 1885