Electrode: Accelerating Distributed Protocols with eBPF
Yang Zhou, Zezhou Wang, Sowmya Dharanipragada, Minlan Yu
摘要
Implementing distributed protocols under a standard Linux kernel networking stack enjoys the benefits of load-aware CPU scaling, high compatibility, and robust security and isolation. However, it suffers from low performance because of excessive user-kernel crossings and kernel networking stack traversing. We present Electrode with a set of eBPF-based performance optimizations designed for distributed protocols. These optimizations get executed in the kernel before the networking stack but achieve similar functionalities as were implemented in user space (e.g., message broadcasting, collecting quorum of acknowledgments), thus avoiding the overheads incurred by user-kernel crossings and kernel networking stack traversing. We show that when applied to a classic Multi-Paxos state machine replication protocol, Electrode improves its throughput by up to 128.4% and latency by up to 41.7%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 XRP: In-Kernel Storage Functions with eBPF
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter Systems
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 SPRIGHT: extracting the server from serverless computing! high-performance eBPF-based event-driven, shared-memory processing
- Merlin: Multi-tier Optimization of eBPF Code for Performance and Compactness 引用了 XRP: In-Kernel Storage Functions with eBPF
- NetEdit: An Orchestration Platform for eBPF Network Functions at Scale 引用了 BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing
- NetEdit: An Orchestration Platform for eBPF Network Functions at Scale 引用了 XRP: In-Kernel Storage Functions with eBPF
- eTran: Extensible Kernel Transport with eBPF 引用了 DINT: Fast In-Kernel Distributed Transactions with eBPF
- eTran: Extensible Kernel Transport with eBPF 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- eTran: Extensible Kernel Transport with eBPF 引用了 BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing
- eTran: Extensible Kernel Transport with eBPF 引用了 XRP: In-Kernel Storage Functions with eBPF
- eTran: Extensible Kernel Transport with eBPF 引用了 The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter Systems
- eTran: Extensible Kernel Transport with eBPF 引用了 SPRIGHT: extracting the server from serverless computing! high-performance eBPF-based event-driven, shared-memory processing
- XRP: In-Kernel Storage Functions with eBPF 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- 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
- Rex: Closing the language-verifier gap with safe and usable kernel extensions 引用了 DINT: Fast In-Kernel Distributed Transactions with eBPF
- Rex: Closing the language-verifier gap with safe and usable kernel extensions 引用了 XRP: In-Kernel Storage Functions with eBPF
引用它的顶会 Paper17
- DINT: Fast In-Kernel Distributed Transactions with eBPFYang Zhou, Xingyu Xiang, Matthew Kiley, Sowmya Dharanipragada 等NSDI 2024 · 40 次引用
- eTran: Extensible Kernel Transport with eBPFZhongjie Chen, Qingkai Meng, ChonLam Lao, Yifan Liu 等NSDI 2025 · 17 次引用
- Merlin: Multi-tier Optimization of eBPF Code for Performance and CompactnessJinsong Mao, Hailun Ding, Juan Zhai, Shiqing MaASPLOS 2024 · 15 次引用
- NetEdit: An Orchestration Platform for eBPF Network Functions at ScaleTheophilus A. Benson, Prashanth Kannan, Prankur Gupta, Balasubramanian Madhavan 等SIGCOMM 2024 · 11 次引用
- Rex: Closing the language-verifier gap with safe and usable kernel extensionsJinghao Jia, Ruowen Qin, Milo Craun, Egor Lukiyanov 等USENIX ATC 2025 · 11 次引用
它引用的 Paper14
- Caladan: Mitigating Interference at Microsecond TimescalesJoshua Fried, Zhenyuan Ruan, Amy Ousterhout, Adam BelayOSDI 2020 · 213 次引用
- XRP: In-Kernel Storage Functions with eBPFYuhong Zhong, Haoyu Li, Yu Jian Wu, Ioannis Zarkadas 等OSDI 2022 · 100 次引用
- SPRIGHT: extracting the server from serverless computing! high-performance eBPF-based event-driven, shared-memory processingShixiong Qi, Leslie Monis, Ziteng Zeng, Ian-Chin Wang 等SIGCOMM 2022 · 85 次引用
- The Demikernel Datapath OS Architecture for Microsecond-scale Datacenter SystemsIrene Zhang, Amanda Raybuck, Pratyush Patel, Kirk Olynyk 等SOSP 2021 · 83 次引用
- BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack ProcessingYoann Ghigoff, Julien Sopena, Kahina Lazri, Antoine Blin 等NSDI 2021 · 79 次引用
相关 Paper
- Tux: Efficient Drop-in Networking for Database SystemsXinjing Zhou, Viktor Leis, Xiangyao Yu, Michael StonebrakerVLDB 2026 · 1 次引用
- Tigger: A Database Proxy That Bounces With User-BypassMatthew Butrovich, Karthik Ramanathan, John Rollinson, Wan Shen Lim 等VLDB 2023 · 17 次引用
- Don't Stall Me Now: Hiding Memory Latency in eBPFFarbod Shahinfar, Marco Molè, Aurojit Panda, Gianni AntichiSIGCOMM 2026
- ONCache: A Cache-Based Low-Overhead Container Overlay NetworkShengkai Lin, Shizhen Zhao, Peirui Cao, Xinchi Han 等NSDI 2025
- BPF-DB: A Kernel-Embedded Transactional Database Management System For eBPF ApplicationsMatthew Butrovich, Samuel Arch, Wan Shen Lim, William Zhang 等SIGMOD 2025 · 3 次引用
