• Cite Icon2
  • https://doi.org/10.1145/3698801Copy DOI Icon

Buffered Persistence in B+ Trees

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
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 e, the tree recovers to its state as of the end of epoch e -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.4x 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.4x 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.3x. The performance advantage of BD+Tree increases with larger caches, suggesting ongoing benefits as CPUs evolve toward gigabyte cache capacities.

Similar Papers
  • Research Article
  • Citations18

Quail: Using NVM write monitor to enable transparent wear-leveling

  • Oct 24, 2019
  • Journal of Systems Architecture
  • Kaixin Huang +2
  • Research Article
  • Citations29

NVM Way Allocation Scheme to Reduce NVM Writes for Hybrid Cache Architecture in Chip-Multiprocessors

  • Oct 01, 2017
  • IEEE Transactions on Parallel and Distributed Systems
  • Ju-Hee Choi +1
  • Conference Article
  • Citations1

Statistical Monitoring for NVM Write

  • Dec 01, 2018
  • Yijie Mei +3
  • Research Article
  • Citations5

An Efficient Sorting Algorithm for Non-Volatile Memory

  • Dec 01, 2021
  • International Journal of Software Engineering and Knowledge Engineering
  • Zhaole Chu +2
  • Conference Article
  • Citations2

Integration methods of main memory and file system management for non-volatile main memory and implications of file system structures

  • Jun 01, 2013
  • Shuichi Oikawa
  • Research Article
  • Citations1

Enhancing the lifetime of STT-RAM using compression based wear leveling technique

  • Mar 12, 2023
  • Microelectronics Reliability
  • Bhukya Krishna Priya
  • Conference Article
  • Citations8

NVM aware MariaDB database system

  • Aug 01, 2015
  • Jan Lindstrom +4
  • Conference Article
  • Citations40

Bridging the Latency Gap between NVM and DRAM for Latency-bound Operations

  • Jul 01, 2019
  • Georgios Psaropoulos +4
  • Research Article
  • Citations21

Hot-Spot Suppression for Resource-Constrained Image Recognition Devices With Nonvolatile Memory

  • Nov 01, 2018
  • IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
  • Chun-Feng Wu +3
  • Conference Article
  • Citations5

A Novel Prefetching Scheme for Non-Volatile Cache in the AIoT Processor

  • Oct 24, 2020
  • Mao Ni +7
  • Conference Article
  • Citations5

Wamalloc: An Efficient Wear-Aware Allocator for Non-Volatile Memory

  • Dec 01, 2016
  • Jiashun Zhu +2
  • Research Article
  • Citations15

Redesign the Memory Allocator for Non-Volatile Main Memory

  • Apr 14, 2017
  • ACM Journal on Emerging Technologies in Computing Systems
  • Songping Yu +4
  • Research Article
  • Citations22

Endurance-aware cache line management for non-volatile caches

  • Feb 01, 2014
  • ACM Transactions on Architecture and Code Optimization
  • Jue Wang +3
  • Research Article
  • Citations19

Software assistance for data caches

  • Oct 01, 1995
  • Future Generation Computer Systems
  • O Temam +1
  • Research Article
  • Citations16

A Latency-Optimized and Energy-Efficient Write Scheme in NVM-Based Main Memory

  • Jan 01, 2020
  • IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
  • Yuncheng Guo +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.