PAC-k: A Parallel Aho-Corasick String Matching Approach on Graphic Processing Units Using Non-Overlapped Threads

ThienLuan HO, Seung-Rohk OH, HyunJin KIM

  • Full Text Views

    0

  • Cite this

Summary :

A parallel Aho-Corasick (AC) approach, named PAC-k, is proposed for string matching in deep packet inspection (DPI). The proposed approach adopts graphic processing units (GPUs) to perform the string matching in parallel for high throughput. In parallel string matching, the boundary detection problem happens when a pattern is matched across chunks. The PAC-k approach solves the boundary detection problem because the number of characters to be scanned by a thread can reach the longest pattern length. An input string is divided into multiple sub-chunks with k characters. By adopting the new starting position in each sub-chunk for the failure transition, the required number of threads is reduced by a factor of k. Therefore, the overhead of terminating and reassigning threads is also decreased. In order to avoid the unnecessary overlapped scanning with multiple threads, a checking procedure is proposed that decides whether a new starting position is in the sub-chunk. In the experiments with target patterns from Snort and realistic input strings from DEFCON, throughputs are enhanced greatly compared to those of previous AC-based string matching approaches.

Publication
IEICE TRANSACTIONS on Communications Vol.E99-B No.7 pp.1523-1531
Publication Date
2016/07/01
Publicized
Online ISSN
1745-1345
DOI
10.1587/transcom.2015EBP3411
Type of Manuscript
PAPER
Category
Network Management/Operation

Authors

ThienLuan HO
  Dankook University
Seung-Rohk OH
  Dankook University
HyunJin KIM
  Dankook University

Keyword

FlyerIEICE has prepared a flyer regarding multilingual services. Please use the one in your native language.