Gigaflow: Pipeline-Aware Sub-Traversal Caching for Modern SmartNICs
Annus Zulfiqar, Ali Imran, Venkat Kunaparaju, Ben Pfaff, Gianni Antichi, Muhammad Shahbaz
Abstract
The success of modern public/edge clouds hinges heavily on the performance of their end-host network stacks if they are to support the emerging and diverse tenants' workloads (e.g., distributed training in the cloud to fast inference at the edge). Virtual Switches (vSwitches) are vital components of this stack, providing a unified interface to enforce high-level policies on incoming packets and route them to physical interfaces, containers, or virtual machines. As performance demands escalate, there has been a shift toward offloading vSwitch processing to SmartNICs to alleviate CPU load and improve efficiency. However, existing solutions struggle to handle the growing flow rule space within the NIC, leading to high miss rates and poor scalability.
In this paper, we introduce Gigaflow, a novel caching system tailored for deployment on SmartNICs to accelerate vSwitch packet processing. Our core insight is that by harnessing the inherent pipeline-aware locality within programmable vSwitch pipelines-defining policies (e.g., L2, L3, and ACL) and their execution order (e.g., using P4 and Open-Flow)-we can create cache rules for shared segments (subtraversals) within the pipeline, rather than caching entire flows. These shared segments can be reused across multiple flows, resulting in higher cache efficiency and greater rule-space coverage. Our evaluations show that Gigaflow achieves up to a 51% improvement in cache hit rate (average 25% improvement) over traditional caching solutions (i.e., Megaflow), while capturing up to 450× more rule space within the limited memory of today's SmartNICs-all while operating at line speed.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1de22918-3238-4798-987f-c952581edbc3Cited by top-tier papers1
Ask how each one uses itBuilds on6
- ATP: In-network Aggregation for Multi-tenant LearningChonLam Lao, Yanfang Le, Kshiteej Mahajan, Yixi Chen et al.NSDI 2021 · 359 citations
- A Computational Approach to Packet ClassificationAlon Rashelbach, Ori Rottenstreich, Mark SilbersteinSIGCOMM 2020 · 65 citations
- revisiting the open vSwitch dataplane ten years laterWilliam Tu, Yi-Hung Wei, Gianni Antichi, Ben PfaffSIGCOMM 2021 · 63 citations
- Achelous: Enabling Programmability, Elasticity, and Reliability in Hyperscale Cloud NetworksChengkun Wei, Xing Li, Ye Yang, Xiaochong Jiang et al.SIGCOMM 2023 · 25 citations
- Scaling Open vSwitch with a Computational CacheAlon Rashelbach, Ori Rottenstreich, Mark SilbersteinNSDI 2022 · 23 citations
Related papers
- Nezha: SmartNIC-based Virtual Switch Load SharingXing Li, Enge Song, Bowen Yang, Tian Pan et al.SIGCOMM 2025 · 3 citations
- SmartNIC Performance Isolation with FairNICStewart Grant, Anil Yelam, Maxwell Bland, Alex C. SnoerenSIGCOMM 2020 · 62 citations
- SuperFE: A Scalable and Flexible Feature Extractor for ML-based Traffic Analysis ApplicationsMenghao Zhang, Guanyu Li, Cheng Guo, Renyu Yang et al.EuroSys 2025 · 4 citations
- Hoda: a High-performance Open vSwitch Dataplane with Multiple Specialized Data PathsHeng Pan, Peng He, Zhenyu Li, Pan Zhang et al.EuroSys 2024 · 6 citations
- SmartNS: Enabling Line-rate and Flexible Network Stack with SmartNICXuzheng Chen, Jie Zhang, Baolin Zhu, Xueying Zhu et al.EuroSys 2026
