Lune

USENIX ATC2020Top-tier venue

Libnvmmio: Reconstructing Software IO Path with Failure-Atomic Memory-Mapped Interface

Jungsik Choi, Jaewan Hong, Youngjin Kwon, Hwansoo Han

Abstract

Fast non-volatile memory (NVM) technology changes the landscape of file systems. A series of research efforts to overcome the traditional file system designs that limit NVM performance. This research has proposed NVM-optimized file systems to leverage the favorable features of byte-addressability, low-latency, and high scalability. The work tailors the file system stack to reduce the software overhead in using fast NVM. As a further step, NVM IO systems use the memory-mapped interface to fully capture the performance of NVM. However, the memory-mapped interface makes it difficult to manage the consistency semantics of NVM, as application developers need to consider the low-level details. In this work, we propose Libnvmmio, an extended user-level memory-mapped IO, which provides failure-atomicity and frees developers from the crash-consistency headaches. Libnvmmio reconstructs a common data IO path with memory-mapped IO, providing better performance and scalability than the state-of-the-art NVM file systems. On a number of microbenchmarks, Libnvmmio gains up to 2.2× better throughput and 13× better scalability than file accesses via system calls to underlying file systems. For SQLite, Libnvmmio improves the performance of Mobibench and TPC-C by up to 93% and 27%, respectively. For MongoDB, it gains up to 42% throughput increase on write-intensive YCSB workloads.

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.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficiently detecting concurrency bugs in persistent memory programs cites Persistent State Machines for Recoverable In-memory Storage Systems with NVRam
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Persistent State Machines for Recoverable In-memory Storage Systems with NVRamWen Zhang, Scott Shenker, Irene ZhangOSDI 2020 · 18 citations
  2. Efficiently detecting concurrency bugs in persistent memory programsZhangyu Chen, Yu Hua, Yongle Zhang, Luochangqi DingASPLOS 2022 · 11 citations
  3. libcrpm: improving the checkpoint performance of NVMFeng Ren, Kang Chen, Yongwei WuDAC 2022 · 2 citations

Builds on1

  1. A Case for Hardware-Based Demand PagingGyusun Lee, Wenjing Jin, Wonsuk Song, Jeonghun Gong et al.ISCA 2020 · 23 citations

Related papers

  1. Multi-Granularity Shadow Paging with NVM Write Optimization for Crash-Consistent Memory-Mapped I/OHongchao Du, Qiao Li, Riwei Pan, Tei-Wei Kuo et al.HPCA 2023 · 4 citations
  2. Optimizing Memory-mapped I/O for Fast Storage DevicesAnastasios Papagiannis, Giorgos Xanthakis, Giorgos Saloustros, Manolis Marazakis et al.USENIX ATC 2020 · 68 citations
  3. Crash Consistent Non-Volatile Memory ExpressXiaojian Liao, Youyou Lu, Zhe Yang, Jiwu ShuSOSP 2021 · 11 citations
  4. Simurgh: a fully decentralized and secure NVMM user space file systemNafiseh Moti, Frederic Schimmelpfennig, Reza Salkhordeh, David Klopp et al.SC 2021 · 11 citations
  5. DaxVM: Stressing the Limits of Memory as a File InterfaceChloe Alverti, Vasileios Karakostas, Nikhita Kunati, Georgios I. Goumas et al.MICRO 2022 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines