Intel e1000 zero copy method

A transmission method and technology of internal data, applied in the direction of instruments, electrical digital data processing, electrical components, etc., can solve problems such as inability to meet processing requirements

Inactive Publication Date: 2008-05-14
莱克斯科技(北京)有限公司
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the kernel adopts NAPI, MMAP and other mechanisms to greatly improve the receiving performance from the network card to the kernel, it still cannot meet the processing requirements of thousands of M network packets, especially small packets.

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
  • Intel e1000 zero copy method
  • Intel e1000 zero copy method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0133] figure 1 It is a specific implementation of the system framework structure of the present invention. Compared with the existing technology, the most prominent difference between this technology is that it uses a shared ring buffer, so that the upper-level user application program does not need to go through the system kernel and other channels to directly read data from the driver's data buffer. No need to pass multiple data copies.

[0134] figure 2 Is the shared data buffer diagram. Inside the buffer, each node stores a message. In order to read and write, the relative index record is needed to record the position which can be read and written at present. At the same time, in order to judge whether the current index position can really be read and written, a relevant status flag is needed to judge whether the current node can be read or written. In fact, the network card driver first applies for memory for DMA mapping. When the network card receives the message,...

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 transmitting method of the data communication in a computer and is a method of direct communication through the user applying procedure and network card hardware driving procedure. The kernel and the applying layer procedure commonly share one ring-shaped memory buffering district, the memory buffering district is divided into a number of slots (can also be regarded as array which can buffer store a number of messages), and each slot buffer stores one message. The network card driving adopts a DMA method to write message into a buffering district; and the applying layer space reads data from the buffering district. When a socket connector is used for controlling the connector using zero copying mechanism, e1000 receiving message driving starts to write date into the ring-shaped buffering district, the up layer applying can directly visit the data in the ring-shaped buffering district after the socket mechanism binding the connector and getting the mapped memory.

Description

technical field [0001] The invention relates to a transmission method for internal data communication of a computer, which is a method for direct data communication through a user application program and a network card hardware driver program. Background technique [0002] In practical applications, the network management program often needs to receive the original packets of the network card for analysis. However, the traditional packet capture mechanism is often unable to meet the requirements of large-traffic network flows, thus becoming the bottleneck of system processing. On the Linux system, packets have been copied multiple times from the NIC to the application layer, and involve switching between kernel mode and user mode, which reduces the ability of applications to capture packets. Although the kernel adopts NAPI, MMAP and other mechanisms to greatly improve the receiving performance from the network card to the kernel, it still cannot meet the processing requirem...

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): G06F13/12G06F12/02H04L29/06
Inventor 尹志超
Owner 莱克斯科技(北京)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products