Domain specific run time optimization for software data planes
Sebastiano Miano, Alireza Sanaee, Fulvio Risso, Gábor Rétvári, Gianni Antichi
摘要
State-of-the-art approaches to design, develop and optimize software packet-processing programs are based on static compilation: the compiler's input is a description of the forwarding plane semantics and the output is a binary that can accommodate any control plane configuration or input traffic.
In this paper, we demonstrate that tracking control plane actions and packet-level traffic dynamics at run time opens up new opportunities for code specialization. We present Morpheus, a system working alongside static compilers that continuously optimizes the targeted networking code. We introduce a number of new techniques, from static code analysis to adaptive code instrumentation, and we implement a toolbox of domain specific optimizations that are not restricted to a specific data plane framework or programming language. We apply Morpheus to several eBPF and DPDK programs including Katran, Facebook's production-grade load balancer. We compare Morpheus against state-of-the-art optimization frameworks and show that it can bring up to 2x throughput improvement, while halving the 99th percentile latency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LemonNFV: Consolidating Heterogeneous Network Functions at Line Speed 引用了 Contention-Aware Performance Prediction For Virtualized Network Functions
- LemonNFV: Consolidating Heterogeneous Network Functions at Line Speed 引用了 PacketMill: toward per-Core 100-Gbps networking
- Don't Forget the I/O When Allocating Your LLC 引用了 Contention-Aware Performance Prediction For Virtualized Network Functions
- Unleashing SmartNIC Packet Processing Performance in P4 引用了 Synthesizing Runtime Programmable Switch Updates
- OSMOSIS: Enabling Multi-Tenancy in Datacenter SmartNICs 引用了 PacketMill: toward per-Core 100-Gbps networking
- PacketMill: toward per-Core 100-Gbps networking 引用了 A High-Speed Load-Balancer Design with Guaranteed Per-Connection-Consistency
引用它的顶会 Paper8
- Unleashing SmartNIC Packet Processing Performance in P4Jiarong Xing, Yiming Qiu, Kuo-Feng Hsu, Songyuan Sui 等SIGCOMM 2023 · 29 次引用
- LemonNFV: Consolidating Heterogeneous Network Functions at Line SpeedHao Li, Yihan Dang, Guangda Sun, Guyue Liu 等NSDI 2023 · 21 次引用
- OSMOSIS: Enabling Multi-Tenancy in Datacenter SmartNICsMikhail Khalilov, Marcin Chrapek, Siyuan Shen, Alessandro Vezzu 等USENIX ATC 2024 · 14 次引用
- eNetSTL: Towards an In-kernel Library for High-Performance eBPF-based Network FunctionsBin Yang, Dian Shen, Junxue Zhang, Hanlin Yang 等EuroSys 2025 · 9 次引用
- Synthesizing Runtime Programmable Switch UpdatesYiming Qiu, Ryan Beckett, Ang ChenNSDI 2023 · 8 次引用
它引用的 Paper7
- A High-Speed Load-Balancer Design with Guaranteed Per-Connection-ConsistencyTom Barbette, Chen Tang, Haoran Yao, Dejan Kostic 等NSDI 2020 · 100 次引用
- Contention-Aware Performance Prediction For Virtualized Network FunctionsAntonis Manousis, Rahul Anand Sharma, Vyas Sekar, Justine SherrySIGCOMM 2020 · 57 次引用
- PacketMill: toward per-Core 100-Gbps networkingAlireza Farshin, Tom Barbette, Amir Roozbeh, Gerald Q. Maguire Jr. 等ASPLOS 2021 · 46 次引用
- VeGen: a vectorizer generator for SIMD and beyondYishen Chen, Charith Mendis, Michael Carbin, Saman P. AmarasingheASPLOS 2021 · 43 次引用
- Don't Forget the I/O When Allocating Your LLCYifan Yuan, Mohammad Alian, Yipeng Wang, Ren Wang 等ISCA 2021 · 37 次引用
相关 Paper
- Synthesizing safe and efficient kernel extensions for packet processingQiongwen Xu, Michael D. Wong, Tanvi Wagle, Srinivas Narayana 等SIGCOMM 2021 · 30 次引用
- Faster Software Packet Processing on FPGA NICs with eBPF Program WarpingMarco Bonola, Giacomo Belocchi, Angelo Tulumello, Marco Spaziani Brunella 等USENIX ATC 2022 · 4 次引用
- Phaedrus: Predicting Dynamic Application Behavior with Lightweight Generative Models and LLMsBodhisatwa Chatterjee, Neeraj Jadhav, Santosh PandeOOPSLA 2026
- EPSO: A Caching-Based Efficient Superoptimizer for BPF BytecodeQian Zhu, Yuxuan Liu, Ziyuan Zhu, Shangqing Liu 等ASE 2025
- CATO: End-to-End Optimization of ML-Based Traffic Analysis PipelinesGerry Wan, Shinan Liu, Francesco Bronzino, Nick Feamster 等NSDI 2025 · 16 次引用
