Efficient Verification of Timing-Related Network Functions in High-Speed Hardware
Tianqi Fang, Lisong Xu, Witawas Srisa-an
Abstract
To achieve a line rate in the high-speed environment of modern networks, there is a continuing effort to offload network functions from software to programmable hardware (HW). Although the offloading effort has led to greater performance, it brings difficulty in the verification of timing-related network functions (Time-NFs) as well. Time-NFs use numerical timing values to perform various network tasks. For example, congestion control algorithm BBR uses round-trip time to improve throughput. Errors in Time-NFs could cause packet loss and poor throughput. However, verifying Time-NFs in HW often involves many clock cycles that can result in an exponentially increasing number of test cases. Current verification methods either do not scale or sacrifice soundness for scalability.In this paper, we propose an invariant-based method to improve the verification efficiency without losing soundness. Our method is motivated by an observation that most Time-NFs follow a few fixed patterns to use timing information. Based on these patterns, we develop a set of easy-to-validate invariants to constrain the examination space. According to experiments on real Time-NFs, our method can speed up verification by 7 times on average without losing the verification soundness.
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.
Related papers
- NFReducer: Redundant Logic Elimination for Network Functions with Runtime ConfigurationsBangwen Deng, Wenfei WuINFOCOM 2021 · 1 citation
- P4Inv: Inferring Packet Invariants for Verification of Stateful P4 ProgramsDelong Zhang, Chong Ye, Fei HeINFOCOM 2024 · 3 citations
- Beyond a Centralized Verifier: Scaling Data Plane Checking via Distributed, On-Device VerificationQiao Xiang, Chenyang Huang, Ridi Wen, Yuxin Wang et al.SIGCOMM 2023 · 26 citations
- APKeep: Realtime Verification for Real NetworksPeng Zhang, Xu Liu, Hongkun Yang, Ning Kang et al.NSDI 2020 · 99 citations
- A Simpler and Faster NIC Driver Model for Network FunctionsSolal Pirelli, George CandeaOSDI 2020 · 28 citations
