Accelerating Pattern Matching Using a Novel Parallel Algorithm on GPUs

dc.contributor國立臺灣師範大學科技應用與人力資源發展學系zh_tw
dc.contributor.authorCheng-Hung Linen_US
dc.contributor.authorhen-Hsiung Liuen_US
dc.contributor.authorLung-Sheng Chienen_US
dc.contributor.authorShih-Chieh Changen_US
dc.date.accessioned2014-10-30T09:35:08Z
dc.date.available2014-10-30T09:35:08Z
dc.date.issued2012-01-01zh_TW
dc.description.abstractGraphics 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 (PCIe). 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.en_US
dc.description.urihttp://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=6338923zh_TW
dc.identifierntnulib_tp_E0213_01_005zh_TW
dc.identifier.issn0018-9340zh_TW
dc.identifier.urihttp://rportal.lib.ntnu.edu.tw/handle/20.500.12235/36374
dc.languageenzh_TW
dc.relationIEEE Transactions on Computers, 99, 1.en_US
dc.relation.urihttp://dx.doi.org/10.1109/TC.2012.254zh_TW
dc.subject.otherAho-Corasicken_US
dc.subject.othergraphics processing unitsen_US
dc.subject.otherparallel algorithmen_US
dc.subject.otherpattern matchingen_US
dc.titleAccelerating Pattern Matching Using a Novel Parallel Algorithm on GPUsen_US

Files

Collections