OXDP: Offloading XDP to SmartNIC for Accelerating Packet Processing

被引:3
|
作者
Wang, Feng [1 ]
Zhao, Gongming [1 ]
Zhang, Qianyu [1 ]
Xu, Hongli [1 ]
Yue, Wei [2 ]
Xie, Liguang [2 ]
机构
[1] Univ Sci & Technol China, Sch Comp Sci & Technol, Hefei, Anhui, Peoples R China
[2] Futurewei Technol, Santa Clara, CA USA
基金
美国国家科学基金会;
关键词
XDP; Hardware Offloading; SmartNIC; Virtual Network;
D O I
10.1109/ICPADS56603.2022.00103
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Traditional kernel network processing suffers from high delay and overhead, which has become the bottleneck of high-speed networks. A natural method to accelerate packet processing is to bypass the kernel network stack and process packets in user space directly, e.g., DPDK. However, due to many network functions are implemented in the kernel network stack, bypassing the stack means that we need to redesign the required functions elsewhere, leading to poor compatibility. One promising technology to address this problem is called eXpress Data Path (XDP), which can support high-performance packet processing while preserving the kernel stack. However, existing solutions mainly run XDP in software mode, resulting in relatively poor packet processing performance. Fortunately, with the development of programmable hardware, running XDP in hardware mode is a more promising approach. Thus, in this paper, we design and implement OXDP, the first-of-its-kind work on accelerating packet processing by offloading XDP to SmartNICs. Since today's SmartNICs are still subject to some limitations regarding the rigid runtime environment, it is non-trivial to offload XDP to SmartNICs. To address this issue, OXDP performs best-effort offloading based on the primitive packet operations, thus maximizing the use of SmartNIC's resources. Specifically, OXDP splits the forwarding function into two parts, one part offloading on SmartNIC with hardware XDP and the other part deploying on host. We evaluate the efficiency of OXDP with comprehensive experiments. Evaluation results show that the forwarding rate of OXDP can reach 18.7 Mpps, which improves 30x compared with the single-core performance of software XDP.
引用
收藏
页码:754 / 761
页数:8
相关论文
共 50 条
  • [1] XDP-Accelerated Packet Processing on SCION Endhosts
    Gartner, Marten
    Wagner, Johann
    Koppehel, Martin
    Hausheer, David
    PROCEEDINGS OF THE IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM 2022, 2022,
  • [2] Unleashing SmartNIC Packet Processing Performance in P4
    Xing, Jiarong
    Qiu, Yiming
    Hsu, Kuo-Feng
    Sui, Songyuan
    Manaa, Khalid
    Shabtai, Omer
    Piasetzky, Yonatan
    Kadosh, Matty
    Krishnamurthy, Arvind
    Ng, T. S. Eugene
    Chen, Ang
    PROCEEDINGS OF THE 2023 ACM SIGCOMM 2023 CONFERENCE, SIGCOMM 2023, 2023, : 1028 - 1042
  • [3] Fast Packet Processing with eBPF and XDP: Concepts, Code, Challenges, and Applications
    Vieira, Marcos A. M.
    Castanho, Matheus S.
    Pacifico, Racyus D. G.
    Santos, Elerson R. S.
    Camara Junior, Eduardo P. M.
    Vieira, Luiz F. M.
    ACM COMPUTING SURVEYS, 2020, 53 (01)
  • [4] Are Kernel Drivers Ready For Accelerated Packet Processing using AF_XDP?
    Mostafa, Jalal
    Chilingaryan, Suren
    Kopmann, Andreas
    2023 IEEE CONFERENCE ON NETWORK FUNCTION VIRTUALIZATION AND SOFTWARE DEFINED NETWORKS, NFV-SDN, 2023, : 117 - 122
  • [5] Automated SmartNIC Offloading Insights for Network Functions
    Qiu, Yiming
    Xing, Jiarong
    Hsu, Kuo-Feng
    Kang, Qiao
    Liu, Ming
    Narayana, Srinivas
    Chen, Ang
    PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, SOSP 2021, 2021, : 772 - 787
  • [6] DOE: Database Offloading Engine for Accelerating SQL Processing
    Lu, Wenyan
    Chen, Yan
    Wu, Jingya
    Zhang, Yu
    Li, Xiaowei
    Yan, Guihai
    2022 IEEE 38TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING WORKSHOPS (ICDEW 2022), 2022, : 129 - 134
  • [7] DOE: database offloading engine for accelerating SQL processing
    Kong, Hao
    Lu, Wenyan
    Chen, Yan
    Wu, Jingya
    Zhang, Yu
    Yan, Guihai
    Li, Xiaowei
    DISTRIBUTED AND PARALLEL DATABASES, 2023, 41 (03) : 273 - 297
  • [8] DOE: database offloading engine for accelerating SQL processing
    Hao Kong
    Wenyan Lu
    Yan Chen
    Jingya Wu
    Yu Zhang
    Guihai Yan
    Xiaowei Li
    Distributed and Parallel Databases, 2023, 41 : 273 - 297
  • [9] Accelerating packet processing in a Xen environment With OpenDataPlane
    Rabia, Tarek
    Braham, Othmen
    Pujolle, Guy
    IEEE 30TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS IEEE AINA 2016, 2016, : 408 - 413
  • [10] Accelerating QUIC with AF_XDP
    Huang, Tianyi
    Zhao, Shizhen
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2023, PT III, 2024, 14489 : 89 - 100