Web Server Technology Research Based on Zero-copy

Author
WenLiLi
Advisor
QuHaiPeng
School
Ocean University of China
Major
Computer Software and Theory
Classification
TP393.05 Network equipment
Degree
Master's thesis
Year
2011
Downloads
32
Citations
1

Request the full text

Abstract

With the development of modern communications technology, Web systems and more extensive applications, has emerged in the dissemination of information on the scope and quantity of exponential growth. Web server as a Web system information, to deal with the critical node than ever to carry more traffic load, however, the traditional Web server performance bottlenecks in data transmission, throughput, response speed. Solve these bottlenecks, improve Web server performance, is the most important of the Web system. With the high-speed network link technology and the development of hardware and software technology, bandwidth, memory, hard disk performance, CPU performance is no longer the main issues that affect Web server performance information transmission more attention to the data from the host computer or other device to the network interface effective move. Therefore, from the middle of the copy process to accelerate the rate of packet transceiver, reduce communication data to solve the Web server bottleneck problem, its main work is as follows: 1. Study the key technology to improve Web server performance. Similar zero-copy the PF_RING technology and combined network card the NAPI working mechanism can effectively improve the rate of packet transceiver; DMA mode data copy can reduce CPU involvement; the MMAP mechanism can reduce memory copy, save time and space resources; from the link layer cross-layer to the application layer, and serial analysis of packets to transfer data directly between the levels of agreement pointer access queue operation and data copying, packet processing speed can be accelerated. The key technology research practice, to achieve a lightweight, high-performance Web server prototype system-FastMattows. FastMattows run the PF_RING module is loaded, the Linux kernel, the combined NIC NAPI mechanism to accelerate packet capture speed DMA mode; the PF_RING Socket interface by modifying the entire packet is stored in the in PF_RING ring cache, MMAP way to access the cache data, reducing participate in CPU and memory copy; packet split and packaging process to improve the traditional protocol stack to reduce the levels of agreement between copies of data and access to the queue operations, accelerate packet processing speed. The latter part of the thesis, FastMattows performance analysis and simulation, and a summary of the research of this article, that the next step in the work plan. In summary, this study are several ways to improve Web server performance bottlenecks, and to achieve a high-performance Web server prototype system FastMattows laid a foundation for further study of the practical, feature-rich Web server performance.

Table of contents

Summary 5-6 Abstract 6-10 1 Introduction 10-17 1.1 Web Server Introduction nbsp the; 10-11 1.2 Web server works and problems 11-13 1.3 Web server performance bottlenecks research status 13-14 1.4 issues raised and the organizational structure of the paper nbsp 14-17 2 Web server to improving technology research 17-29 2.1 zero-copy technology 17-18 2.2 NIC NAPI mechanism ; 18-19 2.3 DMA MMAP works 19-21 2.4 PF_RING working mechanism 21-24 2.4.1 PF_RING works 21-22 2.4.2 PF_RING 22-23 2.4.3 PF_RING application programming interface 23-24 the Web server network protocol stack Research 24-28 2.5.1 HTTP protocol research the 24-25 2.5.2 CGI working principle 25-27 2.5.3 TCP / IP protocol research 27-28 2.6 Chapter Summary 28-29 FastMattows design, the the 29-37 3.1 FastMattows demand, with the development platform selection 29 3.2 FastMattows system overall design a 29-30 3.3 FastMattows module structure 30-32 the 3.4 FastMattows workflow 32 - 36 3.5 Chapter Summary 36-37 4 FastMattows to achieve, 37-55 4.1 PF_RING module load and modify 37-40 the 4.2 FastMattows protocol implementation 40-48 4.2.1 HTTP protocol nbsp are; 41-44 4.2.2 TCP / IP protocols and the data link layer functions 44-48 4.3 Socket interface functions to achieve 48-50 4.4 CGI functions 50-54 4.5 Chapter Summary 54-55 5 FastMattows performance analysis and simulation experiments a 55-58 5.1 FastMattows performance The Analysis the 55-56 the 5.2 FastMattows The performance simulation experiments 56-57 <br / 5.3 Chapter Summary 57-58 6 Summary and Outlook 58-60 6.1 paper summarizes nbsp are; 58-59 6.2 further research 59-60 Reference the 60-63 Acknowledgements 63-64 biographical 64 degree during achievements 64

Related dissertations

  1. Research of TCP/IP Protocol Stack on Embedded System
    QiZhiQiang ·Yanshan University ·2006 ·Master's thesis
  2. PF_RING research and its application in high-speed acquisition of network flow
  3. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  4. The Research of Intelligent Building Fire Monitoring System Based on ZigBee
    GuoZhenYin ·Hebei University of Technology ·2013 ·Master's thesis
  5. Engine Room Monitoring System Based on the Embedded Web Server
  6. Design of Embedded Construction Safety Video Monitoring System Based on S3C6410
    LiuZhengPing ·Hunan University ·2013 ·Master's thesis
  7. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  8. Data Acquisition System of Cavern Based on Embedded Web Server
  9. Decentralized Self-tuning Relative Delay Guarantee Scheme for Web Server
    GuoGuang ·Beijing Jiaotong University ·2014 ·Master's thesis
  10. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  11. Design and Implementation of an Efficient Method for FCoE Target Software
  12. Design and Implementation of Server End in Network Performance Tester Based on PowerPC Platform
    CaiYu ·Wuhan University of Technology ·2013 ·Master's thesis
  13. Research and Implementation of a High-performance Packet Capture System
    LiuBaoChen ·Shanghai Jiaotong University ·2013 ·Master's thesis
  14. Based on the DSP Web Server Design and Research
  15. Design and Implementation of Embedded Network Control System Based on Linux
    WangZhiJia ·Xiamen University ·2014 ·Master's thesis
  16. The Design and Implementation of Hr System for Company
    ZhouQingHua ·Shandong University ·2013 ·Master's thesis
  17. Optimized Multiprocessor Implementation of LTE-Advanced User-Plane Protocol
  18. The Design and Implementation of Smart Pots Base on the Internet of Things Technology
  19. Design and Implementation of Gateway Based on ARM9and Zigbee
    LiuHongBo ·Hubei University ·2013 ·Master's thesis
  20. Design of Traffic Information Query System Based on Android