An efficient sparse matrix format for accelerating regular expression matching on field-programmable gate arrays

被引:1
|
作者
Jiang, Lei [1 ,3 ]
Tan, Jianlong [2 ]
Tang, Qiu [2 ]
机构
[1] Chinese Acad Sci, Inst Comp Technol, Beijing, Peoples R China
[2] Chinese Acad Sci, Inst Informat Engn, Beijing, Peoples R China
[3] Univ Chinese Acad Sci, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
regular expression; DFA; sparse matrix; FPGA;
D O I
10.1002/sec.780
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Regular expression matching is widely used in many programming languages and applications. A regular expression is transformed into a deterministic finite automata (DFA) for processing. However, the DFA requires large memory resources because of the state blowup problem. Many algorithms have been proposed to compress the DFA storage and generally store the compressed DFA in sparse matrix format. For field-programmable gate array (FPGA)-based implementations, operations on sparse matrix consume multiple clock cycles, thus reducing the flexibility and performance of applications. To accelerate the regular expression matching, we present a compact sparse matrix format for storing the compressed DFA transition table on the FPGA. Taking advantage of the special properties of sparse matrices generated by DFAs, we can accomplish one access within a single clock cycle. Furthermore, we develop a regular expression matching engine on a Xilinx (Xilinx Inc. Location: 2100 Logic Dr, San Jose, CA 95124-3400, USA) Virtex-6 FPGA chip using this sparse matrix format. Compared with previous solutions, this regular expression matching engine has more flexibility while keeping high compression ratio. The results show that this regular expression matching engine saves 94% of memory space compared with the original DFA structure while keeping a fast matching speed. By running multiple engines in parallel, our design achieves a throughput up to 29Gbps. Copyright (c) 2013 John Wiley & Sons, Ltd.
引用
收藏
页码:13 / 24
页数:12
相关论文
共 50 条
  • [31] Field-programmable analog arrays: A floating-gate approach
    Hall, TS
    Hasler, P
    Anderson, DV
    FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS, PROCEEDINGS: RECONFIGURABLE COMPUTING IS GOING MAINSTREAM, 2002, 2438 : 424 - 433
  • [32] TOTAL-DOSE HARDNESS OF FIELD-PROGRAMMABLE GATE ARRAYS
    LUM, GK
    MAY, RJ
    ROBINETTE, LE
    IEEE TRANSACTIONS ON NUCLEAR SCIENCE, 1994, 41 (06) : 2487 - 2493
  • [33] AUTOMATIC IMPLEMENTATION OF FIR FILTERS ON FIELD-PROGRAMMABLE GATE ARRAYS
    MOHANAKRISHNAN, S
    EVANS, JB
    IEEE SIGNAL PROCESSING LETTERS, 1995, 2 (03) : 51 - 53
  • [34] Field-programmable gate arrays in a low power vision system
    Suresh, P.
    Saravanakumar, U.
    Iwendi, Celestine
    Mohan, Senthilkumar
    Srivastava, Gautam
    COMPUTERS & ELECTRICAL ENGINEERING, 2021, 90
  • [35] Introducing field-programmable gate arrays in genotype phasing and imputation
    Wienbrandt, Lars
    Ellinghaus, David
    BIOINFORMATICS ADVANCES, 2024, 4 (01):
  • [36] Guest editor's introduction - Field-programmable gate arrays
    Lombardi, F
    IEEE DESIGN & TEST OF COMPUTERS, 1998, 15 (01): : 8 - 9
  • [38] Biometric sensors rapid prototyping on field-programmable gate arrays
    Conti, Vincenzo
    Militello, Carmelo
    Sorbello, Filippo
    Vitabile, Salvatore
    KNOWLEDGE ENGINEERING REVIEW, 2015, 30 (02): : 201 - 219
  • [39] Azimuthal integration and crystallographic algorithms on field-programmable gate arrays
    Matej, Z.
    Skovhede, K.
    Johnsen, C.
    Barczyk, A.
    Weninger, C.
    Salnikov, A.
    Vinter, B.
    ACTA CRYSTALLOGRAPHICA A-FOUNDATION AND ADVANCES, 2021, 77 : C1185 - C1185
  • [40] Peptide Mass Fingerprinting Using Field-Programmable Gate Arrays
    Bogdan, Istvan A.
    Coca, Daniel
    Beynon, Rob J.
    IEEE TRANSACTIONS ON BIOMEDICAL CIRCUITS AND SYSTEMS, 2009, 3 (03) : 142 - 149