Method and system for enhancing performance of WEB servers on basis of zero copy
A WEB server and performance technology, applied in the computer field, can solve the problems of multi-system time and space resources, occupying large CPU resources, occupation, etc., to save system space and resources, improve system performance, and improve the effect of receiving and sending rates
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.
[0034] A method for improving the performance of a WEB server based on zero copy in this embodiment is to load the PF_RING module in the Linux kernel, and the network card loaded with the PF_RING module adopts the NAPI method based on device polling to capture data packets, and uses DMA to transfer the data packets Stored in the ring buffer, the PF_RING module directly transmits the data packet to the application layer through the MMAP mechanism.
[0035] Preferably, the NAPI method adopts the combination of an interrupt mechanism and a polling mechanism. When the amount of data is low, the interrupt mechanism is used to receive data, and when the amount of data is high, the polling mechanism is used to receive data, such as figure 1 As shown, including the process of the network card capturing data...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com