arrow
Return

Accelerating Pattern Matching Using a Novel Parallel Algorithm on GPUs

delete2013-10-01
delete68
PRE
AI
C
Cheng-Hung Lin *
C
Chen-Hsiung Liu
L
Lung-Sheng Chien
S
Shih-Chieh Chang
DOI:10.1109/TC.2012.254delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Graphics processing units (GPUs) have attracted a lot of attention due to their cost-effective and enormous power for massive data parallel computing. In this paper, we propose a novel parallel algorithm for exact pattern matching on GPUs. A traditional exact pattern matching algorithm matches multiple patterns simultaneously by traversing a special state machine called an Aho-Corasick machine. Considering the particular parallel architecture of GPUs, in this paper, we first propose an efficient state machine on which we perform very efficient parallel algorithms. Also, several techniques are introduced to do optimization on GPUs, including reducing global memory transactions of input buffer, reducing latency of transition table lookup, eliminating output table accesses, avoiding bank-conflict of shared memory, coalescing writes to global memory, and enhancing data transmission via peripheral component interconnect express. We evaluate the performance of the proposed algorithm using attack patterns from Snort V2.8 and input streams from DEFCON. The experimental results show that the proposed algorithm performed on NVIDIA GPUs achieves up to 143.16-Gbps throughput, 14.74 times faster than the Aho-Corasick algorithm implemented on a 3.06-GHz quad-core CPU with the OpenMP. The library of the proposed algorithm is publically accessible through Google Code.
Keywords:
Graphics processing units
pattern matching
parallel algorithm
Aho-Corasick
errShare
errSave
Pattern Matching in YARA: Improved Aho-Corasick Algorithm
err2021-01-01
err6
errOAAI
errRegeciova, Dominika; Kolar, Dusan; Milkovic, Marek
errShare
errSave
A GPU-accelerated parallel K-means algorithm
err2019-05-01
err30
PREAI
errCuomo, S.; De Angelis, V.; Farina, G.; Marcellino, L.; Toraldo, G.
errShare
errSave

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.4K
Citations:
1.1W

Organization

N
National Tsing Hua University
Scholars:
1.0K
Papers: 348
Citations: 9.3K
N
National Taiwan Normal University
Scholars:
307
Papers: 143
Citations: 2.2K
Cited Papers

Cited Papers

Increased peroxisome proliferation is associated with early yeast replicative ageing
err2022-02-27
err0
PREAI
errRachayeeta Deb; Suchetana Ghose; Shirisha Nagotu
errShare
errSave
Gnatostomíase no Brasil: relato de caso
err2009-08-01
err0
errOAAI
errChristiane Maria de Castro Dani; Karina Frias Mota; Paola Vizcaichipi Sanchotene; Juan Piñeiro Maceira; Cláudia Pires Amaral Maia
errShare
errSave
Numerical Simulations of the Orbits of the Galilean Satellites
err2002-10-01
err0
PREAI
errSusanna Musotto; Ferenc Varadi; William Moore; Gerald Schubert
errShare
errSave
researcher View more