Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Zero-copy data capture technology based on rt8169 gigabit net card and Linux operating system

A data capture and operating system technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve the problems of insufficient development of memory bandwidth and access delay, and the gap increases, achieving high efficiency and improving transmission efficiency Effect

Inactive Publication Date: 2010-10-27
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, relatively speaking, memory bandwidth and access latency are not developing fast enough, and the gap between them and CPU performance is constantly increasing. Therefore, with the development of related technologies out of step, the improvement of CPU frequency alone cannot completely solve the problem of high-speed network bandwidth. problems with broadband

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Zero-copy data capture technology based on rt8169 gigabit net card and Linux operating system
  • Zero-copy data capture technology based on rt8169 gigabit net card and Linux operating system
  • Zero-copy data capture technology based on rt8169 gigabit net card and Linux operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The technical scheme of the present invention will be described in detail below, a kind of zero-copy data capture technology design based on rt8169 gigabit network card and Linux operating system is as follows:

[0016] A. The modified network card driver workflow:

[0017] 1. After the data packet arrives, the network card will issue a hard interrupt.

[0018] 2. The network card driver returns the nodes in the rx_free ring to the data_buf buffer list in the interrupt processing function, and at the same time sets the descriptor in the description structure corresponding to the structure on the ring as unused.

[0019] 3. Obtain a structure in the data_buf buffer list, and fill the data packet into the structure.

[0020] 4. Hang the structure into the rx_busy ring, and set the descriptor in the description structure corresponding to the structure on the ring as used.

[0021] 5. Finally, the application is signaled that a new data packet is available.

[0022] B. A...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a zero-copy data capture technology based on an rt8169 gigabit net card and a Linux operating system, which is characterized in positioning data capture in the Internet backbone network and support gigabit-class network data capture. In the technical scheme, a computer can be linked in a target network in parallel through the gigabit net card to capture data flowing through the target network, and the data capture in the gigabit network can be realized through modifying the net card drive and using the zero-copy technique. Since the technology realizes the zero copy of the network data packet from the kernel to the space of the user through construction of the Linux kernel module and modification of the rt8169 gigabit net card driving program, thereby lowering the complexity of the ordinary data collection, improving the data packet capture capability, reducing the cost of the system, and achieving the purpose of low cost. The technology is realized through three modules, the modified net card driving program, the constructed kernel module and the user process interface module. The modules cooperate with each other in operation to realize the high-speed transmission of the data packet from the net card to the user program.

Description

technical field [0001] The invention relates to a zero-copy data capture technology based on an rt8169 gigabit network card and a Linux operating system. This technology can be applied in distributed real-time control system, network failure analysis, intrusion detection system, network monitoring system, computer forensics system and other fields, and it is one of the key technologies. Background technique [0002] With the popularity of the network, security issues are threatening every network user. Therefore, it is very necessary to monitor the computer network, and the capture and analysis of network data packets is particularly important. Network packet capture is widely used in distributed real-time control systems, network fault analysis, intrusion detection systems, network monitoring systems, computer forensics systems and other fields, and is one of the key technologies. With the continuous increase of network bandwidth, the demand for monitoring high-speed netw...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L9/36H04L12/26
Inventor 周世杰秦志光陆庆梁元诚陈卫屏陈献庆张宏卓
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products