Lune

VLDB2022顶会

NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM Systems

Bowen Zhang, Shengan Zheng, Zhenlin Qi, Linpeng Huang

摘要

Persistent memory (PM) promises near-DRAM performance as well as data persistency. Recently, a new feature called eADR is available on the 2

nd

generation Intel Optane PM with the 3

rd

generation Intel Xeon Scalable Processors. eADR ensures that data stored within the CPU caches will be flushed to PM upon the power failure. Thus, in eADR-enabled PM systems, the globally visible data is considered persistent, and explicit data flushes are no longer necessary. 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 eADR-enabled PM systems. To achieve lock-free, NBTree uses atomic primitives to serialize leaf node operations. Moreover, NBTree proposes four novel techniques to enable lock-free access to the leaf during structural modification operations (SMO), including three-phase SMO, sync-on-write, sync-on-read , and cooperative SMO. For inner node operations, we develop a shift-aware search algorithm to resolve read-write conflicts. To reduce PM overhead, NBTree decouples the leaf nodes into a metadata layer and a key-value layer. The metadata layer is stored in DRAM, along with the inner nodes, to reduce PM accesses. NBTree also adopts log-structured insert and in-place update/delete to improve cache utilization. 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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Bf-Tree: A Modern Read-Write-Optimized Concurrent Larger-Than-Memory Range Index 引用了 Evaluating Persistent Memory Range Indexes
  • FluidKV: Seamlessly Bridging the Gap between Indexing Performance and Memory-Footprint on Ultra-Fast Storage 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
  • FluidKV: Seamlessly Bridging the Gap between Indexing Performance and Memory-Footprint on Ultra-Fast Storage 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • FluidKV: Seamlessly Bridging the Gap between Indexing Performance and Memory-Footprint on Ultra-Fast Storage 引用了 Characterizing and Modeling Non-Volatile Memory Systems
  • FluidKV: Seamlessly Bridging the Gap between Indexing Performance and Memory-Footprint on Ultra-Fast Storage 引用了 Evaluating Persistent Memory Range Indexes
  • Lock-free Concurrent Level Hashing for Persistent Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Falcon: Fast OLTP Engine for Persistent Cache and Non-Volatile Memory 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
  • Falcon: Fast OLTP Engine for Persistent Cache and Non-Volatile Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Falcon: Fast OLTP Engine for Persistent Cache and Non-Volatile Memory 引用了 Evaluating Persistent Memory Range Indexes
  • Characterizing and Modeling Non-Volatile Memory Systems 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
  • Characterizing and Modeling Non-Volatile Memory Systems 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Evaluating Persistent Memory Range Indexes 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • DGAP: Efficient Dynamic Graph Analysis on Persistent Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • DGAP: Efficient Dynamic Graph Analysis on Persistent Memory 引用了 Lock-free Concurrent Level Hashing for Persistent Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Bf-Tree: A Modern Read-Write-Optimized Concurrent Larger-Than-Memory Range IndexXiangpeng Hao, Badrish ChandramouliVLDB 2024 · 14 次引用
  2. DGAP: Efficient Dynamic Graph Analysis on Persistent MemoryAbdullah Al Raqibul Islam, Dong DaiSC 2023 · 13 次引用
  3. Falcon: Fast OLTP Engine for Persistent Cache and Non-Volatile MemoryZhicheng Ji, Kang Chen, Leping Wang, Mingxing Zhang 等SOSP 2023 · 10 次引用
  4. FluidKV: Seamlessly Bridging the Gap between Indexing Performance and Memory-Footprint on Ultra-Fast StorageZiyi Lu, Qiang Cao, Hong Jiang, Yuxing Chen 等VLDB 2024 · 8 次引用
  5. A Midsummer Night's Tree: Efficient and High Performance Secure SCMSamuel Thomas, Kidus Workneh, Jac McCarty, Joseph Izraelevitz 等ASPLOS 2024 · 5 次引用

它引用的 Paper12

  1. An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz 等FAST 2020 · 470 次引用
  2. FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang 等ASPLOS 2020 · 166 次引用
  3. Lock-free Concurrent Level Hashing for Persistent MemoryZhangyu Chen, Yu Hua, Bo Ding, Pengfei ZuoUSENIX ATC 2020 · 98 次引用
  4. Evaluating Persistent Memory Range IndexesLucas Lersch, Xiangpeng Hao, Ismail Oukid, Tianzheng Wang 等VLDB 2020 · 97 次引用
  5. Characterizing and Modeling Non-Volatile Memory SystemsZixuan Wang, Xiao Liu, Jian Yang, Theodore Michailidis 等MICRO 2020 · 88 次引用

相关 Paper

  1. DPTree: Differential Indexing for Persistent MemoryXinjing Zhou, Lidan Shou, Ke Chen, Wei Hu 等VLDB 2020 · 74 次引用
  2. ?Tree: a Persistent B+-Tree with Low Tail LatencyYoumin Chen, Youyou Lu, Kedong Fang, Qing Wang 等VLDB 2020
  3. Exploiting Persistent CPU Cache for Scalable Persistent Hash IndexBowen Zhang, Shengan Zheng, Liangxu Nie, Zhenlin Qi 等ICDE 2024 · 3 次引用
  4. Buffered Persistence in B+ TreesMingzhe Du, Michael L. ScottSIGMOD 2025 · 3 次引用
  5. Evaluating Persistent Memory Range Indexes: Part TwoYuliang He, Duo Lu, Kaisong Huang, Tianzheng WangVLDB 2022 · 26 次引用
黄昏的海面,两侧是细线勾勒的悬崖