Lune

Abstract

Non-volatile Memory (NVM) offers the opportunity to build large, durable B+ trees with markedly higher performance and faster post-crash recovery than is possible with traditional disk-or flash-based persistence. Unfortunately, cache flush and fence instructions, required for crash consistency and failure atomicity on many machines, introduce substantial overhead not present in non-persistent trees, and force additional NVM reads and writes. The overhead is particularly pronounced in workloads that benefit from cache reuse due to good temporal locality or small working sets-traits commonly observed in real-world applications.

In this paper, we propose a buffered durable B+ tree (BD+Tree) that improves performance and reduces NVM traffic via relaxed persistence. Execution of a BD+Tree is divided into epochs of a few milliseconds each; if a crash occurs in epoch 𝑒, the tree recovers to its state as of the end of epoch 𝑒 -2. (The persistence boundary can always be made current with an explicit sync operation, which quickly advances the epoch by 2.) NVM writes within an epoch are aggregated for delayed persistence, thereby increasing cache reuse and reducing traffic to NVM.

In comparison to state-of-the-art persistent B+ trees, our micro-benchmark experiments show that BD+Tree can improve throughput by up to 2.4 × and reduce NVM writes by up to 90% when working sets are small or workloads exhibit strong temporal locality. On real-world workloads that benefit from cache reuse, BD+Tree realizes throughput improvements of 1.1-2.4× and up to a 99% decrease in NVM writes. Even on uniform workloads, with working sets that significantly exceed cache capacity, BD+Tree still improves throughput by 1-1.3×. The performance advantage of BD+Tree increases with larger caches, suggesting ongoing benefits as CPUs evolve toward gigabyte cache capacities.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • PACTree: A High Performance Persistent Range Index Using PAC Guidelines cites LB+-Trees: Optimizing Persistent Index Performance on 3DXPoint Memory
  • PACTree: A High Performance Persistent Range Index Using PAC Guidelines cites DPTree: Differential Indexing for Persistent Memory
  • PACTree: A High Performance Persistent Range Index Using PAC Guidelines cites ROART: Range-query Optimized Persistent ART
  • PACTree: A High Performance Persistent Range Index Using PAC Guidelines cites Understanding the Idiosyncrasies of Real Persistent Memory
  • ROART: Range-query Optimized Persistent ART cites LB+-Trees: Optimizing Persistent Index Performance on 3DXPoint Memory
  • ROART: Range-query Optimized Persistent ART cites DPTree: Differential Indexing for Persistent Memory
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on15

  1. DPTree: Differential Indexing for Persistent MemoryXinjing Zhou, Lidan Shou, Ke Chen, Wei Hu et al.VLDB 2020 · 74 citations
  2. ROART: Range-query Optimized Persistent ARTShaonan Ma, Kang Chen, Shimin Chen, Mengxing Liu et al.FAST 2021 · 73 citations
  3. LB+-Trees: Optimizing Persistent Index Performance on 3DXPoint MemoryJihang Liu, Shimin Chen, Lujun WangVLDB 2020 · 69 citations
  4. Understanding the Idiosyncrasies of Real Persistent MemoryShashank Gugnani, Arjun Kashyap, Xiaoyi LuVLDB 2021 · 67 citations
  5. PACTree: A High Performance Persistent Range Index Using PAC GuidelinesWook-Hee Kim, Madhava Krishnan Ramanathan, Xinwei Fu, Sanidhya Kashyap et al.SOSP 2021 · 61 citations

Related papers

  1. NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM SystemsBowen Zhang, Shengan Zheng, Zhenlin Qi, Linpeng HuangVLDB 2022 · 41 citations
  2. CCL-BTree: A Crash-Consistent Locality-Aware B+-Tree for Reducing XPBuffer-Induced Write Amplification in Persistent MemoryZhenxin Li, Shuibing He, Zheng Dang, Peiyi Hong et al.EuroSys 2024 · 4 citations
  3. PLIN: A Persistent Learned Index for Non-Volatile Memory with High Performance and Instant RecoveryZhou Zhang, Zhaole Chu, Peiquan Jin, Yongping Luo et al.VLDB 2023 · 39 citations
  4. BushStore: Efficient B+Tree Group Indexing for LSM-Tree in Non-Volatile MemoryZhenghao Wang, Lidan Shou, Ke Chen, Xuan ZhouICDE 2024 · 8 citations
  5. Persist Level Parallelism: Streamlining Integrity Tree Updates for Secure Persistent MemoryAlexander Freij, Shougang Yuan, Huiyang Zhou, Yan SolihinMICRO 2020 · 31 citations
Dusk over the sea between two cliffs drawn in fine vertical lines