Unleashing SmartNIC Packet Processing Performance in P4

被引:8
作者
Xing, Jiarong [1 ]
Qiu, Yiming [1 ]
Hsu, Kuo-Feng [2 ]
Sui, Songyuan [1 ]
Manaa, Khalid [3 ]
Shabtai, Omer [3 ]
Piasetzky, Yonatan [3 ]
Kadosh, Matty [3 ]
Krishnamurthy, Arvind [4 ]
Ng, T. S. Eugene [1 ]
Chen, Ang [1 ]
机构
[1] Rice Univ, Houston, TX 77251 USA
[2] Meta, Menlo Pk, CA USA
[3] Nvidia, Santa Clara, CA USA
[4] Univ Washington, Seattle, WA 98195 USA
来源
PROCEEDINGS OF THE 2023 ACM SIGCOMM 2023 CONFERENCE, SIGCOMM 2023 | 2023年
关键词
SmartNICs; P4; Runtime Program Optimization;
D O I
10.1145/3603269.3604882
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
SmartNICs are on the rise as a packet processing platform, with the trend towards a uniform P4 programming model. However, unleashing SmartNIC packet processing performance in P4 is a formidable task. Traditional SmartNIC optimizations rely on low-level program tuning, but P4 abstractions operate at one level above. At the same time, today's P4 optimizations primarily focus on resource packing rather than performance tuning. We develop Pipeleon, an automated performance optimization framework for P4 programmable SmartNICs. We introduce techniques that are tailored to the performance characteristics of SmartNICs, and further leverage dynamic workload patterns for profile-guided optimization. Pipeleon pinpoints program hotspots at the P4 level and computes runtime optimization plans to specialize the program layout based on the latest profile. We have prototyped Pipeleon and applied it to optimize two popular P4 SmartNICs-Nvidia BlueField2 and Netronome Agilio CX-as well as a software SmartNIC emulator extended based on BMv2. Our results show that Pipeleon significantly improves SmartNIC packet processing performance in realistic scenarios.
引用
收藏
页码:1028 / 1042
页数:15
相关论文
共 68 条
  • [61] Wintermeyer Patrick, 2020, P HOTNETS
  • [62] Xing JR, 2022, PROCEEDINGS OF THE 19TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI '22), P651
  • [63] Xing Jiarong, 2021, P HOTNETS
  • [64] Automated SmartNIC Offloading Insights for Network Functions
    Qiu, Yiming
    Xing, Jiarong
    Hsu, Kuo-Feng
    Kang, Qiao
    Liu, Ming
    Narayana, Srinivas
    Chen, Ang
    [J]. PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, SOSP 2021, 2021, : 772 - 787
  • [65] Zeng CL, 2022, PROCEEDINGS OF THE 19TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI '22), P1345
  • [66] Zhang C, 2018, IEEE SYMP COMP COMMU, P84, DOI 10.1109/ISCC.2018.8538450
  • [67] Gallium: Automated Software Middlebox Offloading to Programmable Switches
    Zhang, Kaiyuan
    Zhuo, Danyang
    Krishnamurthy, Arvind
    [J]. SIGCOMM '20: PROCEEDINGS OF THE 2020 ANNUAL CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION ON THE APPLICATIONS, TECHNOLOGIES, ARCHITECTURES, AND PROTOCOLS FOR COMPUTER COMMUNICATION, 2020, : 283 - 295
  • [68] Zhao ZP, 2020, PROCEEDINGS OF THE 14TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDI '20), P1083