Practical DB-OS Co-Design with Privileged Kernel Bypass
Xinjing Zhou, Viktor Leis, Jinming Hu, Xiangyao Yu, Michael Stonebraker
摘要
This paper revisits the longstanding challenge of coordinating database systems with general-purpose OS interfaces, such as POSIX, which often lack tailored support for DB requirements. Existing approaches to this DB-OS co-design struggle with limited design space, security risks, and compatibility issues. To overcome these hurdles, we propose a new co-design approach leveraging virtualization to elevate the privilege level of DB processes. Our method enables database systems to fully exploit hardware capabilities via virtualization, while minimizing the need for extensive modifications to the host OS kernel, thereby maintaining compatibility. We demonstrate the effectiveness of our approach through two novel virtual memory mechanisms tailored for database workloads: (1) an efficient snapshotting mechanism that captures memory snapshots at millisecond intervals for in-memory databases and HTAP workloads, and (2) a streamlined in-kernel buffer pool design. We introduce Libdbos , a lightweight guest kernel implementing these mechanisms. Our evaluations highlight significant improvements in latency and efficiency compared to existing snapshotting and buffer pool designs, underscoring the potential of the approach.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- uCache: A Customizable Unikernel-based IO Cache 引用了 Unikraft: fast, specialized unikernels the easy way
- uCache: A Customizable Unikernel-based IO Cache 引用了 XRP: In-Kernel Storage Functions with eBPF
- Tux: Efficient Drop-in Networking for Database Systems 引用了 BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing
- Tux: Efficient Drop-in Networking for Database Systems 引用了 The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter Systems
- XRP: In-Kernel Storage Functions with eBPF 引用了 BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing
- XRP: In-Kernel Storage Functions with eBPF 引用了 The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter Systems
- Predictive Translation: High-Performance Buffer Management Without the Trade-Offs 引用了 What Modern NVMe Storage Can Do, And How To Exploit It: High-Performance I/O for High-Performance Storage Engines
引用它的顶会 Paper3
- Predictive Translation: High-Performance Buffer Management Without the Trade-OffsMichael Zinsmeister, Lam-Duy Nguyen, Viktor Leis, Thomas NeumannSIGMOD 2026 · 3 次引用
- uCache: A Customizable Unikernel-based IO CacheIlya Meignan-Masson, Masanori Misono, Viktor Leis, Pramod BhatotiaFAST 2026 · 1 次引用
- Tux: Efficient Drop-in Networking for Database SystemsXinjing Zhou, Viktor Leis, Xiangyao Yu, Michael StonebrakerVLDB 2026 · 1 次引用
它引用的 Paper15
- Unikraft: fast, specialized unikernels the easy waySimon Kuenzer, Vlad-Andrei Badoiu, Hugo Lefeuvre, Sharan Santhanam 等EuroSys 2021 · 116 次引用
- XRP: In-Kernel Storage Functions with eBPFYuhong Zhong, Haoyu Li, Yu Jian Wu, Ioannis Zarkadas 等OSDI 2022 · 100 次引用
- The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter SystemsIrene Zhang, Amanda Raybuck, Pratyush Patel, Kirk Olynyk 等SOSP 2021 · 83 次引用
- What Modern NVMe Storage Can Do, And How To Exploit It: High-Performance I/O for High-Performance Storage EnginesGabriel Haas, Viktor LeisVLDB 2023 · 83 次引用
- BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack ProcessingYoann Ghigoff, Julien Sopena, Kahina Lazri, Antoine Blin 等NSDI 2021 · 79 次引用
相关 Paper
- Cloud-Native Database Systems and Unikernels: Reimagining OS Abstractions for Modern HardwareViktor Leis, Christian DietrichVLDB 2024 · 12 次引用
- Translytical Processing via DB-OS Co-designed Buffer: Cross-Engine Isolation and Tunable Update Visibility for HTAPDongkwang Kim, Keonwook Park, Cheolmin Choi, Hyungsoo JungSIGMOD 2026
- Virtual-Memory Assisted Buffer ManagementViktor Leis, Adnan Alhomssi, Tobias Ziegler, Yannick Loeck 等SIGMOD 2023 · 37 次引用
- Rapid Data Ingestion through DB-OS Co-designKyungmin Lim, Minseok Yoon, Kihwan Kim, Alan David Fekete 等SIGMOD 2025 · 1 次引用
- Low-Latency Transaction Scheduling via Userspace Interrupts: Why Wait or Yield When You Can Preempt?Kaisong Huang, Jiatang Zhou, Zhuoyue Zhao, Dong Xie 等SIGMOD 2025 · 8 次引用
