...
首页> 外文期刊>IEEE Transactions on Computers >Accelerating Pattern Matching Using a Novel Parallel Algorithm on GPUs
【24h】

Accelerating Pattern Matching Using a Novel Parallel Algorithm on GPUs

机译:在GPU上使用新颖的并行算法加速模式匹配

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:图形处理单元(GPU)因其具有成本效益和巨大的海量数据并行计算能力而受到了广泛的关注。在本文中,我们提出了一种新颖的并行算法,用于GPU上的精确模式匹配。传统的精确模式匹配算法通过遍历称为Aho-Corasick机器的特殊状态机来同时匹配多个模式。考虑到GPU的特殊并行体系结构,我们首先提出一种高效的状态机,在其上执行非常高效的并行算法。此外,还引入了几种在GPU上进行优化的技术,包括减少输入缓冲区的全局内存事务,减少过渡表查找的延迟,消除输出表访问,避免共享内存的库冲突,合并对全局内存的写入以及增强数据通过外围组件互连快速传输。我们使用来自Snort V2.8的攻击模式和来自DEFCON的输入流来评估所提出算法的性能。实验结果表明,在NVIDIA GPU上执行的拟议算法可实现高达143.16-Gbps的吞吐量,比在带有OpenMP的3.06-GHz四核CPU上实现的Aho-Corasick算法快14.74倍。所提出算法的库可通过Google Code公开访问。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号