Research on Efficient Network Packet Transmission Mechanism Based on Zero-Copy

Author
ZhaoYanBai
Advisor
YangWu
School
Harbin Engineering University
Major
Applied Computer Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2012
Downloads
81
Citations
0

Request the full text

Abstract

Efficient network packet transmission technology has applications in many fileds ofcomputer application technology, such as high-performance computer communicationsystems, high-performance router design, high-speed network firewall, especially inhigh-speed networks under real-time intrusion detection, it has been become a hot anddifficult research area. And how to achieve real-time environment in Gigabit packet captureand increase the reduction rate of the protocol stack is the key to improve the ability ofintrusion detection. This technology is extremely effective in improving the efficiency ofresource use computers to effectively improve the throughput of the network packettransmission. Invisible to save a lot of hardware and management resources. Therefore,efficient network packet transmission technology has important theoretical research value.In this paper, efficient network packet transmission technology focused on thefollowing two questions: The first question is how the existing system based on zero-copyfurther improves its performance. The basic idea of zero-copy is the implementation toprevent CPU in the transmission from the card to the user-state program, the coretechnology is the DMA data transfer and memory mapping. However, in the design of theexisting zero-copy, because the user-level programs can not directly control the card layer,caused many data synchronization problems between user-level programs and kernel modeprogram, Therefore, to improve the performance of the existing zero-copy limited. thispaper puts forward a realization plan of zero-copy based on NIC register mapping after thein-depth analysis of the defect of the existing zero-copy, the control of the card willtransferred from the kernel to user mode, so that the zero-copy system performance hasbeen improved significantly.The second problem is how to provides a highly efficient zero-copy based protocolreduction program. Currently based on zero-copy protocol stack in user mode are almostalways written in a separate user-level protocol stack, and some designs have emerged inorder to maximize the performance of multi-processor server, will use parallel processing ofprotocol stack design. However, due to user mode stack poor stability and cannot competewith the kernel processor in the high-speed network environment and other reasons causesof its performance bottlenecks. This paper, protocol stack in user mode will be replace bythe kernel stack, on the one hand to enhance the system stability, on the other handsignificantly improve the performance of the protocol stack.

Table of contents

Summary 5-6 Abstract 6-10 Chapter 1 Introduction 10-13 1.1 Background and Significance topics 10 - 11 1.2 dissertation research 11-12 1.3 nbsp paper tissue structure ; 12-13 reported in Chapter 2, the status message efficient network transmission technology research 13-27 2.1 efficient network packet transmission technology overview 13-16 2.1.1 kernel stack structure 13-14 2.1.2 core Protocol transmission technology stack analysis 14-15 2.1.3 efficient network packet transmission technology challenges 15-16 2.2 LIBPCAP packet capture mechanism 16-19 2.2.1 LIBPCAP packet capture principle 16-17 2.2.2 LIBPCAP improvement program 17-19 2.3 zero-copy technology research 19 -26 2.3.1 zero-Copy technology Overview 19 2.3.2 DMA technology 19-22 2.3.3 memory Mapping technology 22 - 23 2.3.4 solve NAPI interrupt annihilation technique 23-26 2.4 Summary 26-27 Chapter 3, based on efficient zero-copy packet network capture technology 27-38 3.1 Introduction ; 3.2 related research nbsp 27 27-32 3.2.1 implementation of zero-copy analysis 27-29 3.2.2 zero-copy address translation analysis 29-30 3.2.3 analysis of existing zero-copy buffer management 30-31 3.2. 4 existing zero-copy techniques defects 31-32 3.3 NIC registers mapped based zero-copy packet capture technology 32-34 3.3.1 register map -based card proposed program 32-33 3.3.2 NIC register mapping scheme achieved based 33-34 3.4 experimental results and analysis 34-37 <br / > 3.4.1 experimental environment 34-35 3.4.2 experimental Procedure 35 3.4.3 comparison of experimental results 35-37 3.5 Summary 37-38 Chapter 4, based on zero-copy packet network protocol reduction technology 38-50 4.1 Introduction 38 4.2 users state protocol stack technology 38-41 4.2.1 user mode protocol stack technology research 38-39 4.2.2 userland stack parallel analysis 39 - 40 4.2.3 user mode protocol stack packet scheduling 40-41 4.2.4 userland stack defects 41 4.3 based zero-copy and system restore protocol stack technology 41-46 4.3.1 the basic idea 41-42 4.3.2 design 42-44 buffer scheduling 4.3.3 kernel and userland 44-46 4.4 experimental results and analysis 46-49 4.4.1 experimental environment 46-47 4.4.2 experimental Procedure 47 4.4.3 comparison of experimental results 47-49 4.5 Summary 49-50 Conclusion 50-51 References 51-55 Thanks 55

Related dissertations

  1. Research of Network Content Monitoring Based on Parallel Protocol Analysis
    YanJun ·Harbin Engineering University ·2011 ·Master's thesis
  2. Research on Surface Defects Visual Inspection System for Metal Components
    NieZhenYu ·Central South University ·2013 ·Master's thesis
  3. Design and Implementation of an Efficient Method for FCoE Target Software
  4. Research on Acceleration Technology of IPSec VPN Base on GPU
  5. Design and Implementation of Server End in Network Performance Tester Based on PowerPC Platform
    CaiYu ·Wuhan University of Technology ·2013 ·Master's thesis
  6. Research and Implementation of a High-performance Packet Capture System
    LiuBaoChen ·Shanghai Jiaotong University ·2013 ·Master's thesis
  7. Study on Several Methods for Digital Video/Image Restoration
    HuoXing ·Hefei University of Technology ·2013 ·Doctoral dissertation
  8. Study of Visual Tracking Algorithm Based on CUDA
    ZhangPing ·Beijing Jiaotong University ·2014 ·Master's thesis
  9. The Research on Optimization of Parallel Data Query Based on Multi-processor
  10. Research of Wavefront Reconstruction System for Adaptive Optics Based on Multi-core DSP
    WuMin ·Xi'an Optics and Fine Mechanics ·2013 ·Master's thesis
  11. TS101 high speed real time parallel signal processing system based on design and research
  12. Optimized Multiprocessor Implementation of LTE-Advanced User-Plane Protocol
  13. Research on Special Audio Real-time Retrieval Algorithm and Its Implementation in the Fixed-point DSP
  14. A Study on Practical Technology about Static Security Check of Large Grid's Dispatching Plan
  15. Design and Implementation of Multi-computers Parallel Processing Fabric Defect Detection System
    LinSiShui ·Huaqiao University ·2013 ·Master's thesis
  16. The Design of Synthetic Aperture Radiometer Simulation System on GPU Platform
  17. Research on Fast Mosaic and Points Cloud Building Based on UAV Images in a Cluster Environment
  18. The Study of Cluster-based Synthetic Aperture Radiometer Signal-level Simulation
  19. The Design of Bank Insurance Storehouse Safety Inspection System
  20. Research on Isolated Multi-Channel Data Acquisition and Control Equipment