Research on High Performance Packet Classification Based on FPGA
- Author
- YeManGu
- Advisor
- HuoHongWei
- School
- Xi'an University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TN791 Logic circuits
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 99
- Citations
- 1
Abstract
With the continuous development of the Internet, the Internet Service Providers hope that networks can provide more and better services, such as Qos, firewall, VPN, etc. Although there are many kinds of the services, all of these services require the routers can classify the packets, and the corresponding technology of rule lookup is Packet Classification.This paper introduces some existing algorithms, and then we put forward a high-speed algorithm for packet classification which bases on HiCuts(Hierarchical Intelligent Cuttings) and RFC(Recursive flow classification), and suits to implement by FPGA. Under the condition of limited space, we also provide an optimized method for building tree according to the rules’ characteristic. Furthermore, we design two parallel methods to improve the lookup efficiency, which are pipeline and mater-slave. The experimental result shows that it’s much ascendant than HiCuts in space under the same condition, and the speed of classification can arrive at 3Mpps. Last, we part the complex system into several sub-modules and design their functions. We also design the hardware architecture which is implemented by FPGA.
Table of contents
Abstract 3-4
ABSTRACT 4-7
first chapter 7-11
1.1 Background 7
1.2 Research 7-8
1.3 Problem Description 8-11
Chapter II algorithm and performance analysis of 11-33
2.1 The basic data structure algorithms 11-15
2.1.1 Linear lookup (Linear Search) 11
2.1.2 one-dimensional tree structure (Radix trie) 11-12
2.1.3 hierarchical tree structure (Hierarchical Tries) 12-13
2.1.4 collection of pruning trees (Set-Pruning Tries) 13-14
2.1.5 grille tree structure (Grid-of-tries) 14-15
2.2 based on computational geometry algorithms 15-19
2.2.1 cross product (Crossproducting).; 15-16
2.2.2 AQT (Area-based quadtree) 16-17
2.2.3 FIS-tree (Fat Inverted The Segment Tree) 17-19
2.3 Heuristic Algorithm 19-28
2.3.1 TSS (Tuple space search) 19-21
2.3.2 Tuple Pruning Algorithm 21-22
2.3.3 RFC (Recursive Flow Classification) 22-25
2.3.4 HiCuts (Hierarchical Intelligent Cuttings) 25-28
2.4 hardware algorithm 28-30
2.4.1 TCAM 28-29
2.4.2-bit bitmap intersection (Bitmap-intersection) 29-30
2.5 various algorithms performance analysis and comparison 30-31
2.6 Summary 31-33
improved HICUTS algorithm 33-45
3.1 algorithm description 33
3.2 data structure design 33-36
3.2.1 Decision Tree 33-35
3.2.2 tree node structure 35
3.2.3 leaf nodes of the rule set 35-36
3.3 algorithm optimization 36-37
3.3.1 to remove the redundant nodes 36-37
3.3.2 leaf node rule set Sort 37
3.3.3 rules stored in the form 37
3.4 deal with wildcard rules 37-40
3.5 Find 40-42
3.5.1 pipelining 40-41
3.5.2 master-slave parallel 41-42
3.5.3 Find Performance Analysis 42
3.6 Performance Evaluation 42
3.7 algorithm simulation and data analysis 42-44
3.7.1 test environment 42
3.7.2 testing rules 42-43
3.7.3 test results 43-44
3.8 Summary 44-45
FPGA implementation of Chapter IV algorithm 45-55
4.1 FPGA About 45-46
4.2 FPGA development process 46-47
4.3 FPGA system design 47-48
4.4 The algorithm of the module division 48-52
4.4.1 top-level module definition 49
4.4.2 achievements modules 49-51
4.4.3 through with rules processing module 51
4.4.4 update module 51
4.4.5 Find module 51-52
4.5 storage mapping 52-53
4.5.1-chip outside the RAM 52
within
4.5.2-chip RAM 52-53
4.6 FPGA architecture 53-54
4.7 Summary 54-55
Chapter Summary and Outlook 55-57
thank 57-59
References 59-61
research 61
Related dissertations
- Research on Packet Classification Algorithms for Packet Filter Firewall
- The Development of Legal Interception Based on Decision Trees Algorithm
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Statistical Waveform Packet Classification for Network Gateway
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research