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

Author:

Sun Mingqian1,Xie Guangwei2,Zhang Fan3,Guo Wei3,Fan Xitian4,Li Tianyang3,Chen Li3,Du Jiayu5

Affiliation:

1. Southeast University, Nanjing, China

2. Fudan University, Shanghai, China

3. National Digital Switching System Engineering and Technological R&D Center, Zhengzhou, China

4. Shanghai Hongzhen Information Technology Co.,Ltd., Shanghai, China

5. Purple Mountain Laboratories, Nanjing, China

Abstract

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.96 × speedup and 87.61-99.56% speed-up(percentage improvement) for normal traffic, and 11.73-39.59 × 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.

Publisher

Association for Computing Machinery (ACM)

Reference38 articles.

1. Inc. Xilinx Advanced Micro Devices. [n. d.]. AXI High Bandwidth Memory Controller LogiCORE IP Product Guide (PG276). https://docs.xilinx.com/r/en-US/pg276-axi-hbm.

2. Evaluating regular expression matching engines on network and general purpose processors

3. Benjamin C Brodie, David E Taylor, and Ron K Cytron. 2006. A scalable architecture for high-throughput regular-expression pattern matching. ACM SIGARCH computer architecture news 34, 2 (2006), 191–202.

4. A regular expression matching engine with hybrid memories;Chen Shuhui;Computer Standards & Interfaces,2014

5. Picking pesky parameters: Optimizing regular expression matching in practice;Chen Xinming;IEEE Transactions on Parallel and Distributed Systems,2015

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3