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 条
  • [1] Field-programmable gate arrays
    Marchal, P
    COMMUNICATIONS OF THE ACM, 1999, 42 (04) : 57 - 59
  • [2] FIELD-PROGRAMMABLE GATE ARRAYS
    JAY, C
    MICROPROCESSORS AND MICROSYSTEMS, 1993, 17 (07) : 370 - 370
  • [3] Field-programmable gate arrays
    Bhatia, D
    VLSI DESIGN, 1996, 4 (04) : R1 - R2
  • [4] Accelerating unstructured finite volume computations on field-programmable gate arrays
    Nagy, Zoltan
    Nemes, Csaba
    Hiba, Antal
    Csik, Arpad
    Kiss, Andras
    Ruszinko, Miklos
    Szolgay, Peter
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2014, 26 (03): : 615 - 643
  • [5] Reconfigurable Computing. Accelerating Computation with Field-Programmable Gate Arrays
    Orozco, Edusmildo
    SCALABLE COMPUTING-PRACTICE AND EXPERIENCE, 2007, 8 (04): : 437 - 438
  • [6] FIELD-PROGRAMMABLE GATE ARRAYS - INTRODUCTION
    TRIMBERGER, S
    IEEE DESIGN & TEST OF COMPUTERS, 1992, 9 (03): : 3 - 5
  • [7] The future of field-programmable gate arrays
    Alfke, P
    PROCEEDINGS OF THE FIFTH WORKSHOP ON ELECTRONICS FOR LHC EXPERIMENTS, 1999, : 36 - 40
  • [8] ANTIFUSE FIELD-PROGRAMMABLE GATE ARRAYS
    GREENE, J
    HAMDY, E
    BEAL, S
    PROCEEDINGS OF THE IEEE, 1993, 81 (07) : 1042 - 1056
  • [9] ARCHITECTURE OF FIELD-PROGRAMMABLE GATE ARRAYS
    ROSE, J
    ELGAMAL, A
    SANGIOVANNIVINCENTELLI, A
    PROCEEDINGS OF THE IEEE, 1993, 81 (07) : 1013 - 1029
  • [10] SYNTHESIS METHODS FOR FIELD-PROGRAMMABLE GATE ARRAYS
    SANGIOVANNIVINCENTELLI, A
    ELGAMAL, A
    ROSE, J
    PROCEEDINGS OF THE IEEE, 1993, 81 (07) : 1057 - 1083