Method for fast catching Ethernet card on Linux system
An Ethernet and network card technology, applied in the field of computer communication, can solve the problems of limited data packet cache queue length, large CPU resource consumption, and difficulty in ensuring no packet loss, so as to reduce the overhead of cache application and release, reduce scheduling overhead, The effect of reducing the number of copies
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] A kind of method that the present invention provides for fast packet capture of Ethernet card, concrete steps are:
[0031] 1) Map the Ethernet card DMA receiving buffer area to the user area to reduce the number of copies of data packets in the kernel area and from the kernel to the user area.
[0032] 2) Registering a hybrid device is used to map the DMA receiving buffer area of the Ethernet card to the user area and provide setting and control of the receiving state of the network card.
[0033] 3) Close the interrupt and use the active query method to receive data packets, reducing the system overhead caused by the scheduling of interrupt processing.
[0034] 4) Start a thread for each network card to capture packets, so as to quickly capture packets for multiple network cards at the same time.
[0035] 5) Allocate a specified number of data packet buffers when the program starts to realize data packet caching and reduce the packet loss rate caused by uneven pack...
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