Fast Software Cache Design for Network Appliances
Dong Zhou, Huacheng Yu, Michael Kaminsky, David G. Andersen
Abstract
The high packet rates handled by network appliances and similar software-based packet processing applications place a challenging load on caches such as flow caches. In these environments, both hit rate and cache hit latency are critical to throughput. Much recent work, however, has focused exclusively on one of these two desiderata, missing opportunities to further improve overall system throughput. This paper introduces Bounded Linear Probing (BLP), a new cache design optimized for network appliances. BLP works well across different workloads and cache sizes by balancing between hit rate and lookup latency. To accompany BLP, we also present a new, lightweight cache eviction policy called Probabilistic Bubble LRU that achieves near-optimal cache hit rate (assuming the algorithm is offline) without using any extra space. We make three main contributions: a theoretical analysis of BLP, a comparison between existing and proposed cache designs using microbenchmarks, and an end-to-end evaluation of BLP in the popular Open vSwitch (OvS) system. Our end-to-end experiments show that BLP is effective in practice: replacing the microflow cache in OvS with BLP improves throughput by up to 15%.
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 e73f7160-4f25-4395-b5fc-4b640347eee2Cited by top-tier papers1
Ask how each one uses itRelated papers
- cache_ext: Customizing the Page Cache with eBPFTal Zussman, Ioannis Zarkadas, Jeremy Carin, Andrew Cheng et al.SOSP 2025 · 8 citations
- P4LRU: Towards An LRU Cache Entirely in Programmable Data PlaneYikai Zhao, Wenrui Liu, Fenghao Dong, Tong Yang et al.SIGCOMM 2023 · 18 citations
- DLHT: A Non-blocking Resizable Hashtable with Fast Deletes and Memory-awarenessAntonios Katsarakis, Vasilis Gavrielatos, Nikos NtarmosHPDC 2024 · 3 citations
- GL-Cache: Group-level learning for efficient and high-performance cachingJuncheng Yang, Ziming Mao, Yao Yue, K. V. RashmiFAST 2023 · 60 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
