P4DB: On-the-fly Debugging of the Programmable Data Plane

被引:0
|
作者
Zhang, Cheng [1 ,2 ,3 ]
Bi, Jun [1 ,2 ,3 ]
Zhou, Yu [1 ,2 ,3 ]
Wu, Jianping [1 ,2 ,3 ]
Liu, Bingyang [4 ]
Li, Zhaogeng [1 ,2 ,3 ]
Dogar, Abdul Basit [1 ,2 ,3 ]
Wang, Yangyang [1 ,2 ,3 ]
机构
[1] Tsinghua Univ, Inst Network Sci & Cyberspace, Beijing, Peoples R China
[2] Tsinghua Univ, Dept Comp Sci, Beijing, Peoples R China
[3] TNList, Beijing, Peoples R China
[4] Huawei Technol Co Ltd, Shenzhen, Peoples R China
基金
美国国家科学基金会; 国家重点研发计划;
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
While extending network programmability to a larger degree, P4 also raises the risks of incurring runtime bugs after the deployment of P4 programs. These runtime bugs, if not handled promptly and properly, can ruin the functionality and performance of networks. Unfortunately, the absence of runtime debuggers makes troubleshooting of P4 program bugs challenging and intricate for operators. This paper is devoted to the on-the-fly debugging of runtime bugs in P4-enabled networks. We propose P4DB, a general debugging platform that empowers operators to debug P4 programs in three levels of visibility by provisioning operator-friendly primitives. By P4DB, operators can use the watch primitive to quickly narrow the debugging scope from network level or device level to table level, then use the break and next primitives to decompose the match-action table into three steps and troubleshoot the runtime bugs step by step. We implemented a prototype of P4DB and evaluated the performance in terms of the data plane, control plane and control channel. On P4-specific programmable data plane, P4DB merely introduces a small throughput penalty (1.3%similar to 13.8%) and imposes a little-increased delay (0.6%similar to 11.9%).
引用
收藏
页数:10
相关论文
共 50 条
  • [21] p4v: Practical Verification for Programmable Data Planes
    Liu, Jed
    Hallahan, William
    Schlesinger, Cole
    Sharif, Milad
    Lee, Jeongkeun
    Soule, Robert
    Wang, Han
    Cascaval, Calin
    McKeown, Nick
    Foster, Nate
    PROCEEDINGS OF THE 2018 CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION (SIGCOMM '18), 2018, : 490 - 503
  • [22] HOL4P4: Semantics for a Verified Data Plane
    Alshnakat, Anoud
    Lundberg, Didrik
    Guanciale, Roberto
    Dam, Mads
    Palmskog, Karl
    PROCEEDINGS OF THE 5TH INTERNATIONAL WORKSHOP ON P4 IN EUROPE, EUROP4 2022, 2022, : 39 - 45
  • [23] P2C: Understanding Output Data Files via On-the-Fly Transformation from Producer to Consumer Executions
    Kwon, Yonghwi
    Peng, Fei
    Kim, Dohyeong
    Kim, Kyungtae
    Zhang, Xiangyu
    Xu, Dongyan
    Yegneswaran, Vinod
    Qian, John
    22ND ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2015), 2015,
  • [24] P4toNFV: Offloading from P4 switches to NFV in programmable data planes
    Pekar, Adrian
    Makara, Laszlo A.
    Lai, Yuan-Cheng
    Lin, Ying-Dar
    Seah, Winston
    INTERNATIONAL JOURNAL OF COMMUNICATION SYSTEMS, 2024, 37 (05)
  • [25] Exploring Data Plane Updates on P4 Switches with P4Runtime
    Stubbe, Henning
    Gallenmueller, Sebastian
    Simon, Manuel
    Hauser, Eric
    Scholz, Dominik
    Carle, Georg
    COMPUTER COMMUNICATIONS, 2024, 225 : 44 - 53
  • [26] DWT in P4: Periodicity Detection in the Data Plane
    Huaytalla, Briggette R.
    Jacobs, Arthur S.
    Silva, Marcus V. B.
    Carvalho, Fabricio B.
    Ferreira, Ronaldo A.
    Willinger, Walter
    Granville, Lisandro Z.
    2022 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM 2022), 2022, : 6343 - 6348
  • [27] Improving TCP Fairness in Non-programmable Networks using P4-programmable Data Planes
    Gomez, Jose
    Kfoury, Elie F.
    Crichigno, Jorge
    Srivastava, Gautam
    2024 IEEE INTERNATIONAL BLACK SEA CONFERENCE ON COMMUNICATIONS AND NETWORKING, BLACKSEACOM 2024, 2024, : 102 - 107
  • [28] P4-CoDel: Active Queue Management in Programmable Data Planes
    Kundel, Ralf
    Blendin, Jeremias
    Viernickel, Tobias
    Koldehofe, Boris
    Steinmetz, Ralf
    2018 IEEE CONFERENCE ON NETWORK FUNCTION VIRTUALIZATION AND SOFTWARE DEFINED NETWORKS (NFV-SDN), 2018,
  • [29] Hybrid P4 Programmable Pipelines for 5G gNodeB and User Plane Functions
    Singh, Suneet Kumar
    Rothenberg, Christian Esteve
    Langlet, Jonatan
    Kassler, Andreas
    Voros, Peter
    Laki, Sandor
    Pongracz, Gergely
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2023, 22 (12) : 6921 - 6937
  • [30] In-situ Programmable Switching using rP4: Towards Runtime Data Plane Programmability
    Feng, Yong
    Song, Haoyu
    Li, Jiahao
    Chen, Zhikang
    Xu, Wenquan
    Liu, Bin
    PROCEEDINGS OF THE THE 20TH ACM WORKSHOP ON HOT TOPICS IN NETWORKS, HOTNETS 2021, 2021, : 69 - 76