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

Hardware shunt method of IP report

An IP message and hardware technology, applied in the field of server network IP message transmission hardware shunt, can solve the problems of poor performance, achieve the effect of reducing resource competition, improving DMA performance, and reducing memory data movement overhead

Active Publication Date: 2009-09-23
WUXI CITY CLOUD COMPUTING CENT
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to overcome the shortcoming of poor performance in the heavy load situation of the traditional shunting method, and adopt hardware on the network card to realize IP packet shunting and improve system performance

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
  • Hardware shunt method of IP report
  • Hardware shunt method of IP report

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The query mode DMA that the present invention proposes abandons interrupt completely, and adopts multi-channel, makes full use of IO bus, can greatly improve the DMA performance of the system, as figure 1 As shown, the network card includes a port data acquisition module, a DMA channel scheduling module, a DMA channel descriptor module, a flow control register and a DMA engine, and the purpose of hardware data transmission is realized through the following steps.

[0024] A, the network card driver adjusts the proportion of IP packets processed by each thread through the shunt control register according to the load of each CPU in the current system, and provides a set of DMA registers for each thread, and each DMA register includes a buffer buffer start address, buffer size, hardware write pointer, and software read pointer; the network card driver modifies the management mechanism of the main memory buffer according to the needs, and divides the main memory buffer accor...

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 hardware shunt method of an IP report. In the technical scheme of the invention, a received IP report is shunted by a piece of network card hardware; the source address and the target address of an IP report title are extracted when the IP report is received by a network card; Hash algorithm is then employed to calculate tread to which the IP report belongs; and a DMA channel scheduling module starts up a DMA engine according to tread number to transmit the report to a main storage buffer area to which the tread belongs; in order to support hardware shunt strategy of the IP report, an upper-layer software ensures each tread to have a special main storage buffer area; the network card starts up the threads of a plurality of IP packages to correspond to the treads of host processing IP packages one to one; the treads of the host processing IP packages directly acquires data from a memory buffer area for processing; therefore, the transmission of intermediate data does not need a CPU, thereby reducing the CPU load. The hardware tread number supported by the method is as high as 1024 and even as higher as 4096 or 8192. The best configuration is that each CPU is corresponding to one tread, so that each tread operates independently without mutual interference; moreover, the best performance is achieved due to the least system resource sharing.

Description

technical field [0001] The invention relates to a server network IP message transmission hardware distribution method Background technique [0002] In the multi-channel multi-core server environment of the high-speed network access system, in order to make full use of the processing capability of each processor core, different IP packet streams are often assigned to different processor cores for processing, and each processor core processes and runs One thread processes packets. [0003] The traditional method is that the network card transmits all received IP packets to the same area of ​​the main memory, and the upper layer software has a scheduling thread to assign different IP packet streams to different processors according to the information in the IP packet header. nuclear. In the traditional method, the memory data movement overhead, the operating system switching overhead, and the upper-layer software overhead are very large, especially when the communication load...

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
IPC IPC(8): H04L12/56G06F9/50G06F13/28H04L12/861
Inventor 刘朝辉刘新春贺志强李永成窦晓光
Owner WUXI CITY CLOUD COMPUTING CENT
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