Troubleshooting Programmable Data Planes via Real-Time Table Information Recording
- 19 February 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Networking
- Vol. 33 (4) , 1646-1659
Abstract
While the flexibility of programmable switches brings opportunities, it also introduces security risks. Hence, it is vital to conduct effective troubleshooting in the programmable switch to mitigate frequent network failures. However, troubleshooting programmable switch failures is challenging due to their enhanced flexibility and functionality compared to regular switches, posing increased difficulty in debugging, particularly with limited debugging tools and information. To address this problem, we propose an efficient troubleshooting method that records real-time information about packets in the data plane, including the tables involved in packet processing. Unfortunately, due to hardware limitations, it is infeasible to record all tables’ information in the data plane. Thus, the key is to find the table set reflecting the execution path a packet goes through while minimizing the resource overhead. We first represent P4 programs as a probabilistic transition directed acyclic graph (DAG) and employ information entropy to quantify the information within a set of tracked tables. Then, we adopt a two-step approach and design algorithms to find both optimal and approximately optimal table record plans. The evaluation results show the efficacy of the proposed method, including achieving the same path recovery rate as the related works with less than one-third of the resource consumption.Keywords
Funding Information
- National Key Research and Development Program of China (2022YFB2901502)
- Key Program of Natural Science Foundation of Jiangsu (BK20243053)
- National Natural Science Foundation of China (62325205, 62172204)
- TaiShan Industrial Experts Program (tscx202312005)
- Nanjing University-China Mobile Communications Group Company Ltd. Joint Institute
This publication has 23 references indexed in Scilit:
- Melody: Toward Resource-Efficient Packet Header Vector Encoding on Programmable Switches2023
- A Comprehensive P4-based Monitoring Framework for L4S leveraging In-band Network Telemetry2023
- Rapid Detection and Localization of Gray Failures in Data Centers via In-band Network Telemetry2020
- KeySight: Troubleshooting Programmable Switches via Scalable High-Coverage Behavior Tracking2018
- P4DB: On-the-fly debugging of the programmable data plane2017
- Packet-Level Telemetry in Large Datacenter NetworksACM SIGCOMM Computer Communication Review, 2015
- P4ACM SIGCOMM Computer Communication Review, 2014
- NetPilotACM SIGCOMM Computer Communication Review, 2012
- Z3: An Efficient SMT Solver2008
- A Mathematical Theory of CommunicationBell System Technical Journal, 1948