GPU-based parallel string matching algorithm

Author
TangDingChe
Advisor
LiuRenRen , TanJianLong
School
Xiangtan University
Major
Computer Software and Theory
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2009
Downloads
235
Citations
2

Request the full text

Abstract

String matching is a classic computer research question, is a network content analysis is one of the key technologies. With the popularity of the Internet and the development of massive information processing and application requirements for the new string matching technology presents new challenges. In real life, string matching technology is widely used, its main application areas include: intrusion detection, virus detection, information retrieval, information filtering, computational biology, etc. String matching technology research and development are closely related with the real-world applications in recent years, demand for new applications for string matching techniques put forward new demands and challenges. Programmable graphics processor unit (GPU) has become the main force of the absolute calculation. Due to high memory bandwidth driven by the multiple cores, today's GPU as an image and non-image processing to provide an incredible resource. GPU floating-point operations per second (54GLOPS) is almost Intel Core2 Du (o5.6GFLOPS) ten times. As GPU computing with such a huge potential for more and more applications attempt to general-purpose computing tasks to the GPU to do the transplant. Streaming SIMD processors use the GPU as a general purpose computing platform has been widely studied and applied, which makes the GPU CPU can become an effective co-processor to obtain a higher price. This departure from the GPU architecture to study how to give the GPU graphics pipeline pipeline programming methods and Compute Unified Device Architecture NVIDIA CUDA, how to develop a data string matching algorithm parallelism suited to run on the GPU string matching algorithm. The main work includes: First, GPU programming on general-purpose computing methods were studied: study OpenGL, BROOK, CG and other general-purpose computing on the GPU programming methods, and how to develop graphics-based Pipeline for general computing principles. On this basis, further study of the NVIDIA CUDA programming model with parallel threads design methods, and through the design example, summarizes key CUDA parallel algorithm design techniques and a general method. Secondly, was designed for the GPU and string matching algorithm design and implementation: BF algorithm is a string matching algorithm is the most basic algorithm, but it is the serial algorithm, not suitable for the GPU architecture. Based on the data that need to be addressed to increase a certain percentage of redundant information methods, designed for the calculation of data independence CUDA parallel string matching algorithm characteristics. Experimental results show that the parallel CUDA architecture-based string matching algorithm to obtain about 10 times speedup. Finally, we propose a data characters to be matched against the distribution of the chain state transition table storage method for a given memory access cost model based on state transition table gives the chain memory access cost function and demonstrate the use of Huffman coding re-encoding sequence of the visit can make access to the minimum cost.

Table of contents

Abstract 4-5 ABSTRACT 5-10 Chapter 1 Introduction 10-14 1.1 topic background and significance 10 -12 1.1.1 GPU development 10-11 1.1.2 string matching research significance and challenges 11-12 1.2 papers research 12 1.3 papers organizational structure 12-14 Chapter 2 related work 14-26 2.1 GPU architecture 14-15 2.2 GPGPU programming methods 15-19 2.2.1 graphical interface, 15-17 2.2.2 BROOKGPU programming environment 17-18 2.2.3 CG-level programming language 18-19 2.3 NVIDIA CUDA 19-24 2.3.1 CUDA software stack 19-20 2.3.2 Parallel thread system 20-21 2.3.3 CUDA storage system 21-22 2.3.4 CUDA thread execution 22-23 2.3.5 NVCC compiler works 23-24 2.4 CUDA GPGPU with the traditional distinction 24-26 Chapter 3 string matching algorithm 26-34 3.1 string matching the basic concepts 26 3.2 string matching algorithm classification 26-34 3.2.1 prefix-based algorithm [KMP, AC] 26-29 3.2.2 algorithm based on the suffix [BM, Horspool, Wu-Manber] 29-31 3.2.3-bit parallel algorithm [Shift-AND, Shift-OR, BNDM] 31-32 3.2.4 string matching algorithm development 32-34 Chapter 4 GPU-based parallel string matching algorithm 34-43 4.1 research status 34-38 4.1.1 Network Intrusion Detection System (IDS) in the GPU-based multi-pattern matching algorithm 34-35 4.1.2 PixelSnort 35-36 4.1.3 GPU-based DNA sequence comparison: Cmatch algorithm 36-38 4.2 GPU-based string matching algorithm 38-40 4.2.1 pattern string pretreatment 38-39 4.2.2 matching algorithm 39-40 4.3 Experiment Results and analysis 40-41 4.4 Summary 41-43 Chapter 5 string matching algorithm memory optimization 43-52 5.1 abroad Research 43-44 5.2 DFA memory access cost 44-47 5.2.1 access memory access cost model and cost function 44-45 <br / > 5.2.2 chained memory access probability cost function 45-46 5.2.3 optimal chain memory access code 46-47 5.3 coding based GOLOMB Advanced AC algorithm 47-48 5.3.1 Advanced AC matching automaton optimal state encoding 47 5.3.2 Advanced Memory Storage chain AC algorithm 47-48 5.4 Experiment and Analysis 48-51 5.4.1 Testing the storage space size 49-50 5.4.2 for matching speed test 50-51 5.5 Summary 51-52 Summary and Outlook 52-53 References 53-56 < br /> Thanks 56-57 biographical appendix 1, papers published during the study period and research 57

Related dissertations

  1. Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
    FanMinJie ·Yangzhou University ·2013 ·Master's thesis
  2. Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
    FuZuoNa ·Anhui University ·2014 ·Master's thesis
  3. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  5. A Scalable Implementation of Adaptive Directional Lifting Wavelet Based Image Decomposition on CUDA
  6. Parallel distributed processing and application in rendering based on
  7. Three dimensional visualization algorithm and drilling core ray casting volume rendering
  8. Research on Large-scale Unstructured Data Processing of Index and Visualization
    CaoLei ·Tianjin University ·2012 ·Master's thesis
  9. Operation Research and Implement of String Type Data in Column Database
  10. Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
  11. A Task Scheduling System Model Based on Parallel Resource Attribute Selection
  12. Design and Implementation of Vectorized FFTs on the YHFT-Matrix
  13. The Research on Multichannel Parallel Signals Processing of Lidar Ranging System Based on FPGA
  14. Research on the Implementation of High-Speed Image Decompression System Based on Parallel Technology
  15. Research on Joint Parallel Algorithm of H.264Encoders and Decoders
    ZhuXiaoYu ·Central South University ·2013 ·Master's thesis
  16. Research and Application on the High Speed FIR Digital Filter
  17. Comparative study of expression - painting and poetry in the time expression in painting time case
    ZhouZuo ·Central Academy of Fine Arts ·2014 ·Master's thesis
  18. Research on Control Stategies of Three-phase Grid-connected Photovoltaic Inverter
    WangRui ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Research on Parallel Issues for PV Inverter
    LiLei ·Liaoning University of Technology ·2014 ·Master's thesis
  20. Hydrodynamic Optimization Research of Forced Circulation Hot Water Boiler
    WangJinFei ·Harbin Institute of Technology ·2012 ·Master's thesis