Lune

HPCA2023Top-tier venue

Multi-Granularity Shadow Paging with NVM Write Optimization for Crash-Consistent Memory-Mapped I/O

Hongchao Du, Qiao Li, Riwei Pan, Tei-Wei Kuo, Chun Jason Xue

Abstract

The complex software stack has become the performance bottleneck of the system with high-speed Non-Volatile Memory (NVM). Memory-mapped I/O (MMIO) could avoid the long-stack overhead by bypassing the kernel, but the performance is limited by existing crash-resilient mechanisms. We propose a Multi-Granularity Shadow Paging (MGSP) strategy, which smartly utilizes the redo and undo logs as shadow logs to provide a light-weight crash-resilient mechanism for MMIO. In addition, a multi-granularity strategy is designed to provide high-performance updating and locking for reducing runtime overhead, where strong consistency is preserved with a lockfree metadata log. Experimental results show that the proposed MGSP achieves 1.1 4.21× performance improvement with write and 2.56 3.76× improvement with multi-threads write compared with the underlying file system. For SQLite, MGSP can improve the database performance by 29.4% for Mobibench and 36.5% for TPCC, on average.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Libnvmmio: Reconstructing Software IO Path with Failure-Atomic Memory-Mapped InterfaceJungsik Choi, Jaewan Hong, Youngjin Kwon, Hwansoo HanUSENIX ATC 2020 · 36 citations
  2. Boosting OLTP Performance with Per-Page Logging on NVDIMMBohyun Lee, Seongjae Moon, Jonghyeok Park, Sang-Won LeeSIGMOD 2025 · 3 citations
  3. NV-SQL: Boosting OLTP Performance with Non-Volatile DIMMsMijin An, Jonghyeok Park, Tianzheng Wang, Beomseok Nam et al.VLDB 2023 · 6 citations
  4. In-Page Shadowing and Two-Version Timestamp Ordering for Mobile DBMSsLam-Duy Nguyen, Sang Won Lee, Beomseok NamVLDB 2022 · 2 citations
  5. Boosting File Systems Elegantly: A Transparent NVM Write-ahead Log for Disk File SystemsGuoyu Wang, Xilong Che, Haoyang Wei, Shuo Chen et al.FAST 2025 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines