期刊文献+

字符串匹配算法的实现:CPU vs.GPU vs.FPGA 被引量:1

Hands-on Experience with a String Matching: CPU vs. GPU vs. FPGA
下载PDF
导出
摘要 针对字符串匹配算法在各平台实现的性能问题,将算法在CPU、GPU及FPGA上做了测试对比。GPU具有计算单元多的特点,使得GPU对计算密集型应用有较大的效率提升;而FPGA具有级强的灵活性、可编程性及大量的逻辑运算单元,在处理字符串匹配时的处理速度快。通过对3种实现方式在Snort规则库下做的分析,其结果表明,FPGA的处理速度最快,相比GPU的处理速度提升了10倍。而CPU的串行处理速度最慢,且FPGA的资源消耗最多,GPU次之,CPU的资源消耗最少,且实现最简单。 A comparison is made of the performance of string matching algorithm on CPU, GPU and FPGA platforms. GPU has more computing unit, greatly enhancing the efficiency for compute-intensive applications; while the programmable FPGA has great flexibility and a large number of logic unit, thus faster string matching. The anal- ysis in the three implementations base on the snort shows that FPGA is the fastest ( 10 times faster than GPU) with CPU as the slowest; and that FPGA has the greatest resources consumption, followed by GPU, while CPU is the least and with simplest realization.
出处 《电子科技》 2014年第12期5-8,共4页 Electronic Science and Technology
基金 国家自然科学基金资助项目(60976020) 西安邮电大学研究生创新基金资助项目(ZL2013-16)
关键词 字符串匹配 GPU FPGA CUDA 并行处理 string matching GPU FPGA CUDA parallel processing
  • 相关文献

参考文献9

  • 1LEFOHN A,KNISS J ,OWENS J. Implementing efficient parallel data structures on GPUs [J]. GPU Gems,2005(2) :521 -545.
  • 2PHARR M, FERNANDO R. GPU gems 2 :programming tech- niques for high - performance graphics and general - purpose computation [ M ]. New York : Addison - Wesley Profession- al,2005.
  • 3LIN K J, HUANG Y H, LIN C Y. Efficient parallel knuth - morris - pratt algorithm for multi - GPUs with CUDA: Ad- vances in Intelligent Systems and Applications - Volume 2 [ M]. Berlin Heidelberg:Springer,2013.
  • 4ZHA X, SAHNI S. GPU - to - GPU and host - to - host mul- tipattern string matching on a GPU [ J]. IEEE Transactions on Computers ,2013,62 (6) : 1156 - 1169.
  • 5李伟男,鄂跃鹏,葛敬国,钱华林.多模式匹配算法及硬件实现[J].软件学报,2006,17(12):2403-2415. 被引量:42
  • 6AHMED G F, KI-IARE N. Hardware based string matching algorithms:A survey [ J]. International Journal of Computer Applications ,2014,88 ( 11 ) : 16 - 19.
  • 7杨海涛,苏涛,巫幪.基于FPGA的SDRAM控制器的设计和实现[J].电子科技,2007,20(1):8-12. 被引量:25
  • 8OWENS J D, LUEBKE D, GOVINDARAJU N, et al. A survey of general- purpose computation on graphics hardware I J]. Computer Graphics Forum,2007,26( 1 ) :80 - ! 13.
  • 9罗大光,郝玉洁,刘乃琦.一种非常快速的字符串匹配算法[J].电子科技大学学报,2005,34(6):802-805. 被引量:6

二级参考文献5

  • 1Knuth D E, Morris J H, Pratt V R. Fast pattern matching in strings [J]. SIAM Journal on Computing, 1977, 6(1):323-350.
  • 2Boyer R S,Moore J S. A fast string searching algorithm [J]. Commun ACM, 1977, 20(10):762-772.
  • 3Karp R M, Rabin M O. Efficient randomized pattern-matching algorithms [J]. IBM J. Res., 1987, 31(2):249-260.
  • 4Sunday D M, A very fast substring search algorithm [J]. Communications of the ACM, 1990, 33(8): 132-142.
  • 5王永成,沈州,许一震.改进的多模式匹配算法[J].计算机研究与发展,2002,39(1):55-60. 被引量:52

共引文献70

同被引文献2

引证文献1

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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