Lune

SIGMOD2023Top-tier venue

Virtual-Memory Assisted Buffer Management

Viktor Leis, Adnan Alhomssi, Tobias Ziegler, Yannick Loeck, Christian Dietrich

Abstract

Most database management systems cache pages from storage in a main memory buffer pool. To do this, they either rely on a hash table that translates page identifiers into pointers, or on pointer swizzling which avoids this translation. In this work, we propose vmcache, a buffer manager design that instead uses hardware-supported virtual memory to translate page identifiers to virtual memory addresses. In contrast to existing mmap-based approaches, the DBMS retains control over page faulting and eviction. Our design is portable across modern operating systems, supports arbitrary graph data, enables variable-sized pages, and is easy to implement. One downside of relying on virtual memory is that with fast storage devices the existing operating system primitives for manipulating the page table can become a performance bottleneck. As a second contribution, we therefore propose exmap, which implements scalable page table manipulation on Linux. Together, vmcache and exmap provide flexible, efficient, and scalable buffer management on multi-core CPUs and fast storage devices.

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.

10 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

  • Why Files If You Have a DBMS? cites Rethinking Logging, Checkpoints, and Recovery for High-Performance Storage Engines
  • Optimizing Memory-mapped I/O for Fast Storage Devices cites Don't shoot down TLB shootdowns!
  • StreamCache: Revisiting Page Cache for File Scanning on Fast Storage Devices cites Optimizing Memory-mapped I/O for Fast Storage Devices
  • StreamCache: Revisiting Page Cache for File Scanning on Fast Storage Devices cites LLFree: Scalable and Optionally-Persistent Page-Frame Allocation
  • Cloud-Native Database Systems and Unikernels: Reimagining OS Abstractions for Modern Hardware cites Why Files If You Have a DBMS?
  • Cloud-Native Database Systems and Unikernels: Reimagining OS Abstractions for Modern Hardware cites LLFree: Scalable and Optionally-Persistent Page-Frame Allocation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. LLFree: Scalable and Optionally-Persistent Page-Frame AllocationLars Wrenger, Florian Rommel, Alexander Halbuer, Christian Dietrich et al.USENIX ATC 2023 · 17 citations
  2. Cloud-Native Database Systems and Unikernels: Reimagining OS Abstractions for Modern HardwareViktor Leis, Christian DietrichVLDB 2024 · 12 citations
  3. ExtMem: Enabling Application-Aware Virtual Memory Management for Data-Intensive ApplicationsSepehr Jalalian, Shaurya Patel, Milad Rezaei Hajidehi, Margo I. Seltzer et al.USENIX ATC 2024 · 12 citations
  4. StreamCache: Revisiting Page Cache for File Scanning on Fast Storage DevicesZhiyue Li, Guangyan ZhangUSENIX ATC 2024 · 9 citations
  5. Why Files If You Have a DBMS?Lam-Duy Nguyen, Viktor LeisICDE 2024 · 7 citations

Builds on8

  1. Viper: An Efficient Hybrid PMem-DRAM Key-Value StoreLawrence Benson, Hendrik Makait, Tilmann RablVLDB 2021 · 86 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. Rethinking Logging, Checkpoints, and Recovery for High-Performance Storage EnginesMichael Haubenschild, Caetano Sauer, Thomas Neumann, Viktor LeisSIGMOD 2020 · 43 citations
  4. Spitfire: A Three-Tier Buffer Manager for Volatile and Non-Volatile MemoryXinjing Zhou, Joy Arulraj, Andrew Pavlo, David E. CohenSIGMOD 2021 · 42 citations
  5. Don't shoot down TLB shootdowns!Nadav Amit, Amy Tai, Michael WeiEuroSys 2020 · 32 citations

Related papers

  1. Predictive Translation: High-Performance Buffer Management Without the Trade-OffsMichael Zinsmeister, Lam-Duy Nguyen, Viktor Leis, Thomas NeumannSIGMOD 2026 · 3 citations
  2. DaxVM: Stressing the Limits of Memory as a File InterfaceChloe Alverti, Vasileios Karakostas, Nikhita Kunati, Georgios I. Goumas et al.MICRO 2022 · 9 citations
  3. CARAT: a case for virtual memory through compiler- and runtime-based address translationBrian Suchy, Simone Campanoni, Nikos Hardavellas, Peter A. DindaPLDI 2020 · 16 citations
  4. EMT: An OS Framework for New Memory Translation ArchitecturesSiyuan Chai, Jiyuan Zhang, Jongyul Kim, Alan Wang et al.OSDI 2025 · 1 citation
  5. Practical DB-OS Co-Design with Privileged Kernel BypassXinjing Zhou, Viktor Leis, Jinming Hu, Xiangyao Yu et al.SIGMOD 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines