Perfect Hashing Based Parallel Algorithms for Multiple String Matching on Graphic Processing Units

Cheng-Hung Lin, Jin Cheng Li, Chen Hsiung Liu, Shih Chieh Chang

Research output: Contribution to journalArticle

10 Citations (Scopus)

Abstract

Multiple string matching has a wide range of applications such as network intrusion detection systems, spam filters, information retrieval systems, and bioinformatics. To accelerate multiple string matching, many hardware approaches are proposed to accelerate string matching. Among the hardware approaches, memory architectures have been widely adopted because of their flexibility and scalability. A conventional memory architecture compiles multiple string patterns into a state machine and performs string matching by traversing the corresponding state transition table. Due to the ever-increasing number of attack patterns, the memory used for storing the state transition table increased tremendously. Therefore, memory reduction has become a crucial issue in optimizing memory architectures. In this paper, we propose two parallel string matching algorithms which adopt perfect hashing to compact a state transition table. Different from most state-of-the-art approaches implemented on specific hardware such as TCAM, FPGA, or ASIC, our proposed approaches are easily implemented on commodity DRAM and extremely suitable to be implemented on GPUS. The proposed algorithms reduce up to 99.5 percent memory requirements for storing the state transition table compared to the traditional two-dimensional memory architecture. By studying existing approaches, our results obtain significant improvements in memory efficiency.

Original languageEnglish
Article number7864442
Pages (from-to)2639-2650
Number of pages12
JournalIEEE Transactions on Parallel and Distributed Systems
Volume28
Issue number9
DOIs
Publication statusPublished - 2017 Sep 1

Keywords

  • Perfect hashing
  • deterministic finite automaton
  • string matching

ASJC Scopus subject areas

  • Signal Processing
  • Hardware and Architecture
  • Computational Theory and Mathematics

Fingerprint Dive into the research topics of 'Perfect Hashing Based Parallel Algorithms for Multiple String Matching on Graphic Processing Units'. Together they form a unique fingerprint.

  • Cite this