P4Rex: Accelerating regular expression matching with programmable switches

被引:0
作者
Lin, Jing [1 ]
Lin, Weiwei [1 ]
Lin, Hang [1 ]
Zhu, Longlong [1 ]
Zhang, Dong [1 ,2 ]
Wu, Chunming [3 ]
机构
[1] Fuzhou Univ, Coll Comp & Data Sci, Fuzhou, Peoples R China
[2] Fuzhou Univ, Zhicheng Coll, Fuzhou, Peoples R China
[3] Zhejiang Univ, Coll Comp Sci & Technol, Hangzhou, Peoples R China
基金
国家重点研发计划;
关键词
Programmable data plane; Pattern matching; Software-defined networking; PARTICLE SWARM;
D O I
10.1016/j.comnet.2024.110662
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Regular expression matching is pivotal in numerous network applications. With the ever-increasing scale of data center traffic, deploying regular expression matching modules on traditional servers struggles to meet throughput demands. Emerging programmable switches have brought new prospects for high-speed pattern matching. However, deploying regular expression matching onto programmable switches presents the challenge of space explosion incurred by compiling regular expressions into a Deterministic Finite Automata (DFA). In this paper, we introduce P4Rex, a regular expression matching system designed for programmable switches. P4Rex synergistically leverages two following techniques: an efficient regular expression grouping algorithm that partitions regular expressions into different groups to reduce memory consumption, and DFA compression technology to achieve transition sharing. Experimental results demonstrate that P4Rex exhibits an average improvement of 17% and maximum improvement of 30% on memory consumption compared to prior regular expression grouping schemes and saves more than 10x memory consumption compared to deploying DFA directly on programmable switch.
引用
收藏
页数:11
相关论文
共 40 条
  • [1] Akem A. T.-J., 2023, IEEE INT C COMP COMM
  • [2] [Anonymous], 2009, P 7 IEEE ACM INT C H
  • [3] [Anonymous], 2023, Pktgen-DPDK GitHub repository
  • [4] B. Networks, 2020, Tofino: World's fastest P4-programmable ethernet switch ASICs
  • [5] A Modified Binary Particle Swarm Optimization for Knapsack Problems
    Bansal, Jagdish Chand
    Deep, Kusum
    [J]. APPLIED MATHEMATICS AND COMPUTATION, 2012, 218 (22) : 11042 - 11061
  • [6] Becchi Michela, 2015, 2015 IEEE Conference on Computer Communications (INFOCOM). Proceedings, P540, DOI 10.1109/INFOCOM.2015.7218421
  • [7] Becchi M., 2023, Regular expression processor
  • [8] A-DFA: A Time- and Space-Efficient DFA Compression Algorithm for Fast Regular Expression Evaluation
    Becchi, Michela
    Crowley, Patrick
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2013, 10 (01)
  • [9] Programming Protocol-Independent Packet Processors
    Bosshart, Pat
    Daly, Dan
    Gibb, Glen
    Izzard, Martin
    McKeown, Nick
    Rexford, Jennifer
    Schlesinger, Cole
    Talayco, Dan
    Vahdat, Amin
    Varghese, George
    Walker, David
    [J]. ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2014, 44 (03) : 87 - 95
  • [10] Cai LW, 2017, IEEE INT CONF ELECTR, P556, DOI 10.1109/ICEIEC.2017.8076627