Optimization of String Matching Algorithm Based on Computer Architecture
- Author
- DaiZhengHua
- Advisor
- FengShengZhong
- School
- Institute of Computing Technology
- Major
- Computer System Architecture
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 112
- Citations
- 0
Abstract
String matching algorithm is a fundamental problem in Bioinformatics and Information retrieval. Despite of a big amount of efforts spent by researchers on designing efficient string matching algorithm, improving the string matching efficiency remains of primary importance, which is due to the drastic growth of gene data and web content and consequently the more and more critical demand on the performance of string matching.This thesis aims at addressing the problem of how to optimize string matching algorithm with respect to the characteristics of computer architecture, whose primary aim is to explore ILP and improve the performance of data accessing through cache. The main work is listed as below:(1) Research on exploiting and implementing data parallelization of dynamic programming and based on SIMD instruction set.Dynamic programming is the basis of approximate string matching and sequence alignment. Two most popular kinds of such algorithms are presented in this thesis: the one is represented by Smith-Waterman algorithm whose computing complexity is O(n2); the other is represented by Zuker algorithm whose computing complexity is O(n3). We analyze the data dependency and data Parallelism of these two kinds of dynamic programming. Then we exploit data parallelization of Smith-Waterman algorithm based on the thinking of Prefix Computation, and implement it with SIMD instruction set. With the help of the auxiliary array, we organize the way of accessing the data of the Zuker algorithm, which can gain the speedup ratio near the theoretical value when the input size is big.(2) Research on high performance shift-or algorithm based on combining character set. Shift-or algorithm is widely used in information retrieving and filtering. The basic shift-oralgorithm treats the set of ASCII code as its character set, so it transfers its state when reading an 8-bit data. With respect to this point, we combine the states of NFA, set up the NFA on the basic element, which is read to transfer the state of NFA, and improve its size to that of short int. So the frequency of state transfer is reduced and the computing efficiency is enhanced.(3) Research on high performance and low memory cost key-word expression matching algorithm from bit parallelization.Key-word expression matching algorithm is a significant sort of string matching
Table of contents
Statement the
thesis Copyright power of attorney 2-3
Summary 3-4
ABSTRACT 4-6
directory 6-8
Figure directories the Table catalog nbsp in 8-9
; 9-10
Chapter Introduction 10-18 < br /> 1.1 Background 10-11
1.2 string matching algorithm 11-14
1.2.1 basic concept of string matching algorithms 11-13
the 1.2.2 string matching algorithm the 13-14 1.3 architecture
algorithm and algorithm optimization 14-15
1.4-oriented architecture string matching algorithm optimization challenges the 15-16 1.5 contribution of this paper
16
1.6 paper tissue 16-18
string matching algorithm based on SIMD instruction set optimize Research 18-31
2.1 Smith,-Waterman algorithm to optimize status quo nbsp string matching algorithm based on the instruction set of the Smith-Waterman 18-19
2.2; 19-21 < br /> 2.3 SSE2 instruction set-based Smith-Waterman algorithm the calculated
2.3.1 precursor, 21-26 21-23
the 2.3.2 SWSSE2 algorithm design, 23-25 ??
2.3.3 SWSSE2 algorithm 25-26
-2.3.4 SWSSE2 pilot results 26
2.4 based on SIMD instruction set secondary structure prediction the algorithm optimization 26-29
the 2.4.1 secondary structure prediction algorithms data parallelism mining 27-28
2.4.2 test results and performance analysis 28 -29
2.5 Discussion and Summary 29-31
Based on the combination of character sets, high-performance shift-or algorithm research 31-38
3.1-bit parallel the algorithm Research the 31-33 3.1.1 nondeterministic automata-based algorithm
31
3.1.2 shift-or algorithm 31-33
the 3.2 improved shift-or algorithm: D (Double) shift-or algorithm 33-35
3.3 test results 35-36
3.4 algorithm analysis 36
3.5 Summary 36-38
Chapter matching algorithm based on the four-Russian technology optimization Keywords expression 38-48
4.1 oriented web content analysis algorithm complexity analysis 38
4.2 Keywords expression matching algorithm Research 38-43
4.2.1 Keywords expression matching definitions 39 < br /> 4.2.2 Research 39-43
4.2.3 43
4.3 use of bit operations improved Keywords expression matching algorithm 43-47 < br /> 4.3.1 Four-Russians 43-44
4.3.2 pretreatment 44-46
4.3.3 for each data stream initialization 46
4.3.4 matching process 46
4.3.5 Algorithm Analysis 46-47
4.4 Summary 47-48
Chapter V Conclusion 48-49
5.1 work summarizes the 5.2 Research Prospect 48
to References 48-49
49-54 the
Appendix 54-56
SSE2 instruction set programming 54-56
Acknowledgements 56-57
of resume 57
Related dissertations
- Implementation of String Matching Algorithm Based on GPU
- The Design and Implementation of Vector Memory Unit of Multi-Width SIMD DSP
- The Design and Implementation of High-performance fixed-point Arithmetic Unit for SIMD DSP
- Design and Implemtation of BP Component and Shuffle Unit in YHFT-Matrix Processor
- Research and Application of Efficient String Matching Algorithm in Intrusion Detection System
- Research on Benefit Evaluation Techniques in Automatic Vectorization
- Research on DSP Automatic Vectorization and Optimization
- Research on Profile-Guided SIMD Vectorization Identification and Optimization
- Research of SIMD Vectorization Algorithm and Regrouping Technology
- Design of Multi-core Parallel Computing System for Backprojection Imaging
- Research of SIMD Vectorization Optimization Based on Memory Access
- Design and Optimization of Hash Algorithms Based on Multi-core CPUs
- Research and Design of Floatins-Point Accelerator
- The Implementation and Optimization for Lte Pusch Receiver Based on the General Purpose Processor
- Research and Implementation on Channel Estimation Algorithms in LTE Based on General Purposed Processor
- Gpp-Based Design and Implementation of LTE Dwonlink Receiver Parallel Strategy and Mimo Detection
- Avs Several Main Module Implementation and Optimization
- Implementation and Optimization of AVS Interframe Decoding Algorithm
- Optimization of Video Encoding Based on MMX
- Mimo Detecting Research and Implementation Based on General Purpose Processor