Research of Packet Classification Technology Based on Multi-core NPU

Author
LiuWenZuo
Advisor
XuanLei , ChenShuZuo
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2011
Downloads
16
Citations
0

Request the full text

Abstract

Packet classification technique plays a more important role in varies of network equipments and applications.For instant,fire wall,network information detection,next generaion routers,security gateway and so on.The performance has tremendous impact on the quality of service.With the network speed becomes more and more quick,the need of efficient packet classification algorithms also becomes more urgent. Currently,researchers have already developed several hardware and software algorithms.And these algorithms can satisfy some application scene.Since the complexity of IP packet classification problem in theory, Existing hardware and software algorithms have their own shortcomings exist,there is not an ideal algorithm that satisfy requiement in all cases till now.and there are not many researches based on multi-core NPU.The needs for efficient packet classification algorithms are very urgent in pratical application.This paper presents a multi-core-NPU based MCN-EGT algorithm,which is also based on exiting single-thread EGT algorithm,it uses multiple thread to accelerate the speed of classification. Multiple thread can hide memory access latency,and can parallel some steps in packet classification, so as to achieve the effect of accelerating.The main improvements include initial classification to the rules and packets ,and hide the update time of the rules.And this paper describe the algorithm in detail in pre-processing,matching and updating stages.This paper also proposed a packet classification algorithm based on function distribution.It takes 5-tuple(source and destination IP, source and destination port, protocol)for intance,devide its 104 bits into 13 parts by byte,and take multi-threaded execution in the pre-processing, matching and updating stages,so as to maximize the use of multi-core parallelism.And threr is little association between threads,therefore,the communication and synchronization cost is also small.Finally,we tested the MCN-EGT algorithm and packet classification algorithm based on function distribution.The test results show that the MCN-EGT algorithm is 2-3 times better than the EGT algorithm.The match performance of packet classification algorithm based on function distribution is better than that of MCN-EGT algorithm.In the update speed aspect,MCN-EGT algorithm performed best,and the packet classification algorithm based on function distribution followed. The scalabilit of packet classification algorithm based on function distribution is best of the three,and it can change the length with the field.This paper studies the problem of packet classification status and shortcomings,and proposes two algorithm based on multi-core NPU.Their performance are improved over the previous algorithm.But there is still much to be optimized,improved and researched.Further work will focus on further improving the performance.

Table of contents

Abstract 8-9 ABSTRACT 9-11 first chapter 11-15 1.1 application background 11-12 < br /> 1.2 development Status 12-13 1.3 research purposes and working 13-14 1.4 thesis organization 14-15 second Chapter related research 15-23 2.1 Technical Overview packet classification 15-18 2.1.1 problem Description 15-16 2.1.2 actual use of the rule base is characterized 16 2.1.3 commonly used to classify the fields 16-17 2.1.4 packet Classification algorithm evaluation 17-18 2.1.5 packet Classification algorithm design principles 18 2.2 hardware-based packet classification algorithms 18-19 2.3 software-based packet classification algorithm 19-22 2.3.1 and special data structure based caching algorithms 19-20 2.3.2 based on computational geometry algorithms 20 -21 2.3.3 algorithm based on heuristic rules 21-22 2.4 Summary 22-23 Chapter NPU- based multicore packet classification algorithm 23-39 3.1 multicore NPU fetch their algorithm considers 23-24 3.2 EGT algorithm 24-27 3.2.1 Grid- of-Trie 24-25 3.2.2 Extended Grid-of-Trie 25-27 3.3 MCN-EGT algorithm improvements 27-30 < br /> 3.3.1 of the rules and packets initial classification 27-29 3.3.2 hiding rules update 29-30 3.3.3 performance Analysis 30 3.4 MCN-EGT algorithm processes 30-38 3.4.1 preprocessing stage 30-31 3.4.2 matching stage 31-32 3.4.3 update phase 32-38 3.5 Summary 38-39 fourth chapter is based on the distribution function of packet classification 39-51 4.1 algorithm thought 39 4.2 algorithm is described in detail 39-46 4.2.1 preprocessing stage 40-44 < br /> 4.2.2 matching stage 44 4.2.3 update phase 44-46 4.3 multithreaded algorithm acceleration 46-50 4.3.1 preprocessing stage 46-47 4.3.2 matching stage 47-49 4.3.3 update phase 49-50 4.4 performance Analysis 50 4.5 Summary 50-51 Chapter V implementation and Testing 51-57 5.1 test platform 51-52 5.2 MCN-EGT algorithm testing 52-54 5.3 feature-based distributed packet classification algorithm testing 54-56 5.4 Summary 56-57 Conclusion 57-59 Thanks 59-61 References 61-64 authors obtained during the study period academic achievement 64

Related dissertations

  1. Statistical Waveform Packet Classification for Network Gateway
    LiuYiMing ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Stateful Packet Classification for Gateway
    JinZuoMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on Packet Classification Algorithms for Packet Filter Firewall
    GaoZengZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  4. Research and Application of an Efficient Packet Classification Algorithm Based on Multi-level Search
    ChenSheng ·Hunan University ·2013 ·Master's thesis
  5. The Research on IP Address Lookup and Packet Classification Algorithm
    XiongShuai ·Hunan University ·2013 ·Master's thesis
  6. The Researches and Applications on High Performance Packet Classification Technology
    BiXiaAn ·Hunan University ·2012 ·Doctoral dissertation
  7. Research on Storage and Power Efficiency Packet Classification Algorithm Based on TCAM
    TianLe ·PLA Information Engineering University ·2013 ·Master's thesis
  8. Design and Implementation of IP QoS on Multi-core Network Processor
    LiHaiYan ·South China University of Technology ·2012 ·Master's thesis
  9. Research on Adjustable Ultrasonic Power Supply for Transducer
  10. Research on Key Technologies in Mobile Ad Hoc Networks
    ChenZuo ·University of Science and Technology of China ·2007 ·Doctoral dissertation
  11. Research on the Key Technologies of Quality of Service in WCDMA Core Networks
    PengKai ·Huazhong University of Science and Technology ·2006 ·Doctoral dissertation
  12. High - speed packet classification co-processor and network platform
  13. Research on High Performance IP Route Lookup and Packet Classification
    ZhengKai ·Tsinghua University ·2006 ·Doctoral dissertation
  14. Research on Models, Algorithms and Implementations of Traffic Control Based on Network Processor
    ZhengBo ·Tsinghua University ·2006 ·Doctoral dissertation
  15. Research on High Speed IP Routing Lookup and Packet Classification Algorithms
  16. Studies on CQS in High-Speed Network Elements
    DuDeChao ·Zhejiang University ·2003 ·Doctoral dissertation
  17. The Study on High-speed Algorithms of Packet Classification and Its Implement Techniques
  18. High Speed Network Protocol Identification Research Based on Content Analysis
  19. Next Generation Internet packet identification and searching technology research
  20. Research on High Speed Packet Lookup Rule Matching Algorithm