PTME: A Regular Expression Matching Engine Based on Speculation and Enumerative Computation on FPGA

被引:0
作者
Sun, Mingqian [1 ]
Xie, Guangwei [2 ]
Zhang, Fan [3 ]
Gho, Wei [3 ]
Fan, Xitian [4 ]
Li, Tianyang [3 ]
Chen, Li [3 ]
Du, Jiayu [5 ]
机构
[1] Southeast Univ, Sch Cyber Sci & Engn, 2 Southeast Univ Rd, Nanjing 211102, Peoples R China
[2] Fudan Univ, Sch Comp Sci, 220 Han Dan Rd, Shanghai 056004, Peoples R China
[3] Natl Digital Switching Syst Engn & Technol Res Ctr, 7 Jian Xue Rd, Zhengzhou 450011, Henan, Peoples R China
[4] Shanghai HONGZHEN Informat Sci & Technol Corp, 1588 Lian Hang Rd, Shanghai 201112, Peoples R China
[5] Purple Mt Labs, 9 Mozhou East Rd, Nanjing 211111, Jiangsu, Peoples R China
关键词
Regular expression matching; DFA; speculation and enumerative compu-tation; FPGA;
D O I
10.1145/3655626
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Fast regular expression matching is an essential task for deep packet inspection. In previous works, the regular expression matching engine on FPGA struggled to achieve an ideal balance between resource consumption and throughput. Speculation and enumerative computation exploits the statistical properties of deterministic finite automata, allowing for more efficient pattern matching. Existing related designs mostly revolve around vector instructions and multiple processors/cores or SIMD instruction sets, with a lack of implementation on FPGA platforms. We design a parallelized two-character matching engine on FPGA for efficiently fast filtering off fields with no pattern features. We transform the state transitions with sequential dependencies to the existing problem of elements in one set, enabling the proposed design to achieve high throughput with low resource consumption and support dynamic updates. Results show that compared with the traditional DFA matching, with a maximum resource consumption of 25% for on-chip FFs (74323/1045440) and LUTs (123902/522720), there is an improvement in throughput of 8.08-229.96x speedup and 87.61-99.56% speed-up(percentage improvement) for normal traffic, and 11.73-39.59x speedup and 91.47-97.47% speed-up(percentage improvement) for traffic with high-frequency match hits. Compared with the state-of-the-art similar implementation, our circuit on a single FPGA chip is superior to existing multi-core designs.
引用
收藏
页数:28
相关论文
共 34 条
  • [1] PiDFA: A Practical Multi-stride Regular Expression Matching Engine Based On FPGA
    Yang, Jiajia
    Jiang, Lei
    Tang, Qiu
    Dai, Qiong
    Tan, Jianlong
    2016 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2016,
  • [2] High Performance Regular Expression Matching on FPGA
    Yang, Jiajia
    Jiang, Lei
    Bai, Xu
    Dai, Qiong
    COLLABORATIVE COMPUTING: NETWORKING, APPLICATIONS AND WORKSHARING, COLLABORATECOM 2017, 2018, 252 : 541 - 553
  • [3] Regular Expression Matching Algorithm Based on FPGA Circuit
    Guo Chengqing
    Xu Junfeng
    MECHATRONICS ENGINEERING, COMPUTING AND INFORMATION TECHNOLOGY, 2014, 556-562 : 1730 - 1736
  • [4] A Flexible and Compact Regular Expression Matching Engine Using Partial Reconfiguration for FPGA
    Wakaba, Yoichi
    Nagayama, Shinobu
    Wakabayashi, Shin'ichi
    Inagi, Masato
    16TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2013), 2013, : 293 - 296
  • [5] NFA Based Regular Expression Matching on FPGA
    Sert, Kamil
    Bazlamacci, Cuneyt F.
    PROCEEDINGS OF THE 2021 IEEE INTERNATIONAL CONFERENCE ON COMPUTER, INFORMATION, AND TELECOMMUNICATION SYSTEMS (IEEE CITS 2021), 2021, : 144 - 148
  • [6] A High-Performance Round-Robin Regular Expression Matching Architecture Based on FPGA
    Yang, Jiajia
    Jiang, Lei
    Bai, Xu
    Peng, Huailiang
    Dai, Qiong
    2018 IEEE SYMPOSIUM ON COMPUTERS AND COMMUNICATIONS (ISCC), 2018, : 38 - 44
  • [7] Fault Tolerance Mechanisms for FPGA-Based Regular Expression Matching
    Marcos T. Leipnitz
    Gabriel L. Nazar
    Journal of Electronic Testing, 2018, 34 : 487 - 506
  • [8] Fault Tolerance Mechanisms for FPGA-Based Regular Expression Matching
    Leipnitz, Marcos T.
    Nazar, Gabriel L.
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2018, 34 (04): : 487 - 506
  • [9] FPGA-accelerated algorithm for the regular expression matching system
    Russek, P.
    Wiatr, K.
    INTERNATIONAL JOURNAL OF ELECTRONICS, 2015, 102 (01) : 71 - 88
  • [10] FREME: A pattern partition based engine for fast and scalable regular expression matching in practice
    Wang, Kai
    Li, Jun
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2015, 55 : 154 - 169