XRP: In-Kernel Storage Functions with eBPF
Yuhong Zhong, Haoyu Li, Yu Jian Wu, Ioannis Zarkadas, Jeffrey Tao, Evan Mesterhazy, Michael Makris, Junfeng Yang, Amy Tai, Ryan Stutsman, Asaf Cidon
摘要
With the emergence of microsecond-scale NVMe storage devices, the Linux kernel storage stack overhead has become significant, almost doubling access times. We present XRP, a framework that allows applications to execute user-defined storage functions, such as index lookups or aggregations, from an eBPF hook in the NVMe driver, safely bypassing most of the kernel's storage stack. To preserve file system semantics, XRP propagates a small amount of kernel state to its NVMe driver hook where the user-registered eBPF functions are called. We show how two key-value stores, BPF-KV, a simple B + -tree key-value store, and WiredTiger, a popular log-structured merge tree storage engine, can leverage XRP to significantly improve throughput and latency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 48 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 Electrode: Accelerating Distributed Protocols with eBPF
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter Systems
- Electrode: Accelerating Distributed Protocols with eBPF 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- Electrode: Accelerating Distributed Protocols with eBPF 引用了 The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter Systems
- λ-IO: A Unified IO Stack for Computational Storage 引用了 RecSSD: near data processing for solid state drive based recommendation inference
引用它的顶会 Paper48
- Electrode: Accelerating Distributed Protocols with eBPFYang Zhou, Zezhou Wang, Sowmya Dharanipragada, Minlan YuNSDI 2023 · 78 次引用
- λ-IO: A Unified IO Stack for Computational StorageZhe Yang, Youyou Lu, Xiaojian Liao, Youmin Chen 等FAST 2023 · 54 次引用
- DINT: Fast In-Kernel Distributed Transactions with eBPFYang Zhou, Xingyu Xiang, Matthew Kiley, Sowmya Dharanipragada 等NSDI 2024 · 40 次引用
- P2CACHE: Exploring Tiered Memory for In-Kernel File Systems CachingZhen Lin, Lingfeng Xiang, Jia Rao, Hui LuUSENIX ATC 2023 · 25 次引用
- Finding Correctness Bugs in eBPF Verifier with Structured and Sanitized ProgramHao Sun, Yiru Xu, Jianzhong Liu, Yuheng Shen 等EuroSys 2024 · 24 次引用
它引用的 Paper12
- Caladan: Mitigating Interference at Microsecond TimescalesJoshua Fried, Zhenyuan Ruan, Amy Ousterhout, Adam BelayOSDI 2020 · 213 次引用
- POLARDB Meets Computational Storage: Efficiently Support Analytical Workloads in Cloud-Native Relational DatabaseWei Cao, Yang Liu, Zhushi Cheng, Ning Zheng 等FAST 2020 · 140 次引用
- RecSSD: near data processing for solid state drive based recommendation inferenceMark Wilkening, Udit Gupta, Samuel Hsia, Caroline Trippel 等ASPLOS 2021 · 100 次引用
- SplinterDB: Closing the Bandwidth Gap for NVMe Key-Value StoresAlexander Conway, Abhishek Gupta, Vijay Chidambaram, Martin Farach-Colton 等USENIX ATC 2020 · 90 次引用
- The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter SystemsIrene Zhang, Amanda Raybuck, Pratyush Patel, Kirk Olynyk 等SOSP 2021 · 83 次引用
相关 Paper
- Selective On-Device Execution of Data-Dependent Read I/OsChanyoung Park, Minu Chung, Hyungon MoonFAST 2025 · 2 次引用
- EXO: Accelerating Storage Paravirtualization with eBPFShi Qiu, Li Wang, Yiming ZhangSC 2024 · 2 次引用
- Resystance: Unleashing Hidden Performance of Compaction in LSM-Trees Via eBPFHongsu Byun, Seungjae Lee, Honghyeon Yoo, Myoungjoon Kim 等ICDE 2026
- BypassD: Enabling fast userspace access to shared SSDsSujay Yadalam, Chloe Alverti, Vasileios Karakostas, Jayneel Gandhi 等ASPLOS 2024 · 5 次引用
- BPF-DB: A Kernel-Embedded Transactional Database Management System For eBPF ApplicationsMatthew Butrovich, Samuel Arch, Wan Shen Lim, William Zhang 等SIGMOD 2025 · 3 次引用
