首页 | 本学科首页   官方微博 | 高级检索  
     

字符串匹配算法的实现:CPU vs.GPU vs.FPGA
引用本文:李璋,杜慧敏,王涌钢.字符串匹配算法的实现:CPU vs.GPU vs.FPGA[J].电子科技,2014,27(12):5-8.
作者姓名:李璋  杜慧敏  王涌钢
作者单位:(西安邮电大学 电子工程学院,陕西 西安 710061)
基金项目:国家自然科学基金资助项目,西安邮电大学研究生创新基金资助项目
摘    要:针对字符串匹配算法在各平台实现的性能问题,将算法在CPU、GPU及FPGA上做了测试对比。GPU具有计算单元多的特点,使得GPU对计算密集型应用有较大的效率提升;而FPGA具有级强的灵活性、可编程性及大量的逻辑运算单元,在处理字符串匹配时的处理速度快。通过对3种实现方式在Snort规则库下做的分析,其结果表明,FPGA的处理速度最快,相比GPU的处理速度提升了10倍。而CPU的串行处理速度最慢,且FPGA的资源消耗最多,GPU次之,CPU的资源消耗最少,且实现最简单。

关 键 词:字符串匹配  GPU  FPGA  CUDA  并行处理  

Hands-on Experience with a String Matching: CPU vs.GPU vs.FPGA
LI Zhang , DU Huimin , WANG Yonggang.Hands-on Experience with a String Matching: CPU vs.GPU vs.FPGA[J].Electronic Science and Technology,2014,27(12):5-8.
Authors:LI Zhang  DU Huimin  WANG Yonggang
Affiliation:(School of Electronic Engineering,Xi'an University of Posts & Telecommunications,Xi'an 710061,China)
Abstract: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.
Keywords:string matching  GPU  FPGA  CUDA  parallel processing
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《电子科技》浏览原始摘要信息
点击此处可从《电子科技》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号