期刊文献+

基于GPU的AC模式匹配改进算法 被引量:1

Improved AC pattern matching algorithm based on GPU
下载PDF
导出
摘要 字符串匹配算法的应用非常广泛,在信息检索、信息安全等领域都起着关键的作用。近年来,由于GPU通用计算的高速发展,且GPU具有很强的并行计算能力和很高的存储器访问带宽,利用GPU来加速字符串匹配算法吸引了越来越多的关注。提出的改进的AC模式匹配算法,在对前人工作的基础上,进一步消除了output表的存储,将纹理存储器中的查表操作转换为数值比较操作,与改进前算法相比,速度提高了80%以上;进一步的,引入了多个可变参数,提高AC算法的有效数据匹配率,并优化线程块的大小,优化后的算法与采用一种特殊匹配方式的高效的PFAC算法相比,速度提高了9%以上。 String matching is a widely used algorithm which plays a pivotal role in areas such as information retrieval, information security, etc.. In recent years, due to the rapid development of general-purpose GPU computing, fast parallel computing ability and high bandwidth memory access of GPU, using GPU to accelerate string matching algorithm has attracted more and more attention. On the basis of the previous work, the improved AC pattern matching algorithm which is proposed in this paper, further eliminates the storage requirement of the output table, converts the look-up operations in texture memory to numerical comparison operations. Compared to the previous algorithm which doesn't adopt this improvement,the speed is accelerated by over 80%. Moreover, several variables are introduced to enhance effective data matching rate and optimize thread block size. Compared to an efficient algorithm-PFAC, which uses a special matching mode, the optimized algorithm is more than 9% faster.
作者 汪宏 王鹏
出处 《计算机工程与应用》 CSCD 北大核心 2015年第18期7-12,共6页 Computer Engineering and Applications
基金 上海市科学技术委员会科研计划项目(No.13DZ1108600) 中国科学院微小卫星重点实验室开放基金资助项目(No.KFKT2013SYS5)
关键词 图形处理器(GPU)计算 模式匹配 AHO-CORASICK算法 统一计算架构(CUDA)编程模型 Graphic Process Unit(GPU)computing pattern matching Aho-Corasick algorithm Compute Unified Device Architecture(CUDA)programming model
  • 相关文献

参考文献16

  • 1NVIDIA.CUDA C programming guide v5.5[R/OL].2013-05. http://www.nvidia.com.
  • 2NVIDIA.CUDA C best practices guide v5.5[R/OL].2013-05. http ://www.nvidia.com.
  • 3Aho A V, Corasick M J.Efficient string matching: an aidto bibliographic search[J].Communications of the ACM, 1975,18(6) : 333-340.
  • 4Vasiliadis G, Antonatos S.Gnort: high performance network intrusion detection using graphics processors[C]//llth Inter- national Symposium on Recent Advances in Intrusion Detection( RAID ), 2008,5230 : 116-134.
  • 5Vasiliadis G, Polychronakis M.Regular expression matching on graphics hardware for intrusion detection[C]//12th Inter- national Symposium on Recent Advances in Intrusion Detection(RAID), 2009,5758 : 265-283.
  • 6Vasiliadis G, Polychronakis M, Ioannidis S.Parallelization and characterization of pattern matching using gpus[R/OL]. 2011 .http ://dcs.ics.forth.gr/Activities/papers/gpu-pattern. iiswc 11 .pdf.
  • 7陈虎,彭江锋,施少怀.gAC:基于GPU的高性能AC算法[J].计算机工程与应用,2012,48(12):43-48. 被引量:2
  • 8Peng J F, Chen H, Shi S H.The GPU-based string matching system in advanced AC algorithm[C]//10th IEEE Interna- tional Conference on Computer and Information Tech- nology,2010: 1158-1163.
  • 9Zha X Y, Sahni S.GPU-to-GPU and Host-to-Host multi- pattern string matching on a GPU[J].IEEE Transactions on Computers,2013,62(6) : 1156-1169.
  • 10Zha X Y, Sahni S.Multipattern string matching on a GPU[C]//IEEE Symposium on Computers and Commu- nications(ISCC), 2011 : 277-282.

共引文献1

同被引文献6

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部