HyperCom: Enabling High Performance and Composable Data Structures for Software Network Functions with eBPF
Bin Yang, Dian Shen, Hanlin Yang, Lunqi Zhao, Jianrui Liu, Jiantao Cheng, Beilun Wang
Abstract
The extended Berkeley Packet Filter (eBPF) has become a crucial component for modern network infrastructure, where the data structures, play a fundamental role. However, directly implementing these data structures with eBPF poses two main challenges: (1) unable to implement a full set of required functions due to limited programmability; (2) degraded performance caused by a restricted instruction set and runtime environment. This paper presents HyperCom, a framework that enables high-performance, comprehensive and flexible data structures with eBPF. At its core, HyperCom decouples one single data structure into two separate yet composable parts: base-complex but structurally stable across different network functions, and extension-simple yet functionally dynamic, capturing individual network functions, and applies right techniques to implement each of them. Specifically, HyperCom designs non-invasive and invasive extensions to support a flexible combination of base and extension. This approach achieves high performance by employing advanced hardware instructions for the base part, while providing flexibility by leveraging eBPF to fully implement the simplified extension part despite limited programmability. Furthermore, HyperCom leverages RUST to implement base to ensure safety. Evaluations on real-world network functions show that HyperCom-based ones outperform their eBPF-based counterparts by up to 2.5 ×in terms of packet processing rate, without compromising flexibility.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 12f847c6-4de7-4c6b-9412-9e334dc1f108Related papers
- eNetSTL: Towards an In-kernel Library for High-Performance eBPF-based Network FunctionsBin Yang, Dian Shen, Junxue Zhang, Hanlin Yang et al.EuroSys 2025 · 9 citations
- hXDP: Efficient Software Packet Processing on FPGA NICsMarco Spaziani Brunella, Giacomo Belocchi, Marco Bonola, Salvatore Pontarelli et al.OSDI 2020 · 25 citations
- Synthesizing safe and efficient kernel extensions for packet processingQiongwen Xu, Michael D. Wong, Tanvi Wagle, Srinivas Narayana et al.SIGCOMM 2021 · 30 citations
- Don't Stall Me Now: Hiding Memory Latency in eBPFFarbod Shahinfar, Marco Molè, Aurojit Panda, Gianni AntichiSIGCOMM 2026
- Extending Applications Safely and EfficientlyYusheng Zheng, Tong Yu, Yiwei Yang, Yanpeng Hu et al.OSDI 2025 · 7 citations
