P4runpro: Enabling Runtime Programmability for RMT Programmable Switches

被引:0
|
作者
Yang, Yifan [1 ]
He, Lin [1 ,2 ]
Zhou, Jiasheng [3 ]
Shi, Xiaoyi [1 ]
Cao, Jiamin [4 ]
Liu, Ying [1 ,2 ]
机构
[1] Tsinghua Univ, Beijing, Peoples R China
[2] Zhongguancun Lab, Beijing, Peoples R China
[3] Fuzhou Univ, Fuzhou, Peoples R China
[4] Alibaba Cloud, Singapore, Singapore
基金
中国国家自然科学基金; 北京市自然科学基金;
关键词
Runtime programmable switches; P4; RMT; PACKET FILTER;
D O I
10.1145/3651890.3672230
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Programmable switches have revolutionized network operations by enabling the flexible customization of packet processing logic using language like P4. However, changing the programs running on the switch requires disturbing traffic and suspending other unrelated programs. In this paper, we present P4runpro, enabling runtime data plane updates with dynamic resource allocation. The P4runpro data plane abstracts hardware resources and defines dynamically reconfigurable atomic operations that form packet processing logic. P4runpro provides runtime programming interfaces called P4runpro primitives for the operator to write high-level programs. We have designed the P4runpro compiler to automatically and consistently link the P4runpro programs to the running data plane. We implement our prototype on a Tofino switch. We implement 15 example runtime programs using P4runpro to demonstrate its generality and expressiveness. Our evaluation results show that compared to the state-of-the-art, P4runpro can respond within hundreds of milliseconds, achieve an average of 60% to 80% dynamic resource utilization, concurrently run approximate to 0.6K to approximate to 2.8K programs, and introduce lower overhead. Our case studies illustrate the benefit of runtime programming and prove the same functionality between P4runpro and conventional P4 programs.
引用
收藏
页码:921 / 937
页数:17
相关论文
共 28 条
  • [1] P4Tune: Enabling Programmability in Non-Programmable Networks
    Kfoury, Elie
    Crichigno, Jorge
    Bou-Harb, Elias
    [J]. IEEE COMMUNICATIONS MAGAZINE, 2023, 61 (06) : 132 - 138
  • [2] Fix with P6: Verifying Programmable Switches at Runtime
    Shukla, Apoorv
    Hudemann, Kevin
    Vagi, Zsolt
    Huegerich, Lily
    Smaragdakis, Georgios
    Hecker, Artur
    Schmid, Stefan
    Feldmann, Anja
    [J]. IEEE CONFERENCE ON COMPUTER COMMUNICATIONS (IEEE INFOCOM 2021), 2021,
  • [3] In-situ Programmable Switching using rP4: Towards Runtime Data Plane Programmability
    Feng, Yong
    Song, Haoyu
    Li, Jiahao
    Chen, Zhikang
    Xu, Wenquan
    Liu, Bin
    [J]. PROCEEDINGS OF THE THE 20TH ACM WORKSHOP ON HOT TOPICS IN NETWORKS, HOTNETS 2021, 2021, : 69 - 76
  • [4] Runtime Verification of P4 Switches with Reinforcement Learning
    Shukla, Apoory
    Hudemann, Kevin Nico
    Hecker, Artur
    Schmid, Stefan
    [J]. NETAI'19: PROCEEDINGS OF THE 2019 ACM SIGCOMM WORKSHOP ON NETWORK MEETS AI & ML, 2019, : 1 - 7
  • [5] Exploring Data Plane Updates on P4 Switches with P4Runtime
    Stubbe, Henning
    Gallenmueller, Sebastian
    Simon, Manuel
    Hauser, Eric
    Scholz, Dominik
    Carle, Georg
    [J]. COMPUTER COMMUNICATIONS, 2024, 225 : 44 - 53
  • [6] On DGA Detection and Classification Using P4 Programmable Switches
    AlSabeh, Ali
    Friday, Kurt
    Kfoury, Elie
    Crichigno, Jorge
    Bou-Harb, Elias
    [J]. COMPUTERS & SECURITY, 2024, 145
  • [7] Keeping up to Date with P4Runtime: An Analysis of Data Plane Updates on P4 Switches
    Stubbe, Henning
    Gallenmueller, Sebastian
    Simon, Manuel
    Hauser, Eric
    Scholz, Dominik
    Carle, Georg
    [J]. 2023 IFIP NETWORKING CONFERENCE, IFIP NETWORKING, 2023,
  • [8] P4Neighbor: Efficient Link Failure Recovery With Programmable Switches
    Xu, Jiarui
    Xie, Sihao
    Zhao, Jin
    [J]. IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2021, 18 (01): : 388 - 401
  • [9] A Survey on Rerouting Techniques with P4 Programmable Data Plane Switches
    Mazloum, Ali
    Kfoury, Elie
    Gomez, Jose
    Crichigno, Jorge
    [J]. COMPUTER NETWORKS, 2023, 230
  • [10] P4SFC: Service Function Chain Offloading with Programmable Switches
    Ma, Junte
    Xie, Sihao
    Zhao, Jin
    [J]. 2020 IEEE 39TH INTERNATIONAL PERFORMANCE COMPUTING AND COMMUNICATIONS CONFERENCE (IPCCC), 2020,