Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Network data packet parallel processing method based on Intel DPDK

A network data packet and parallel processing technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve problems affecting application performance, high CPU load, performance degradation, etc., to reduce data copying and improve cache hit rate. , the effect of improving processing performance

Active Publication Date: 2016-05-11
STATE GRID CORP OF CHINA +3
View PDF6 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Performance problems in any link will seriously affect the performance of the entire application
Among the three mainstream methods mentioned above, although the PF_RING method has greatly improved the packet capture rate, there are still many packet loss rates, and the CPU load is high, which cannot meet the needs of commercial applications; the traditional DPDK-based method mainly focuses on data The line-speed sending and receiving of packets, when the processing of data packets is added, its performance will drop significantly, and the line-speed receiving, processing and sending of data packets cannot be achieved; although the hardware smart network card method can significantly reduce the host CPU load, but On the one hand, an additional expensive hardware smart network card needs to be configured; on the other hand, the CPU of the host machine cannot be fully utilized, wasting resources, so it is not suitable for ordinary commercial applications

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
  • Network data packet parallel processing method based on Intel DPDK
  • Network data packet parallel processing method based on Intel DPDK

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

[0035] In a high-speed network environment, the number of network data packets processed per second increases significantly, especially when there are many small packets. The processing time of a network data packet for a 2GHZ CPU core is about 1350 CPU cycles. In order to realize real-time processing without packet loss, on the one hand, it is necessary to minimize or even eliminate the additional consumption of CPU cycles during network data packet processing. On the other hand, in a multi-core environment, try to distribute data packets to multiple CPU cores for parallel processing, while reducing or even eliminating unnecessary communication between cores. Based on the above ideas, a networ...

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 discloses a network data packet parallel processing method based on an Intel DPDK (Data Plane Development Kit). The method comprises the following steps: step 1, establishing an Intel DPDK running environment; step 2, creating a memory pool, and creating a RX memory ring for receiving the network data packet and a TX memory ring for transmitting the network data packet; step 3, setting a network data packet scheduling strategy, and preparing to perform network data packet scheduling; step 4, creating multiple worker threads, and performing parallel processing of the network data packet. In the method provided by the invention, performance advantage of a multi-core CPU is used fully, and by lock-free data structure design, parallel network processing framework and high-efficiency network data packet distribution, parallel processing of the network data packet on multiple CPU cores is realized.

Description

technical field [0001] The invention relates to an IntelDPDK-based network data packet parallel processing method, belonging to the technical field of network data packet processing. Background technique [0002] With the development of network communication technology, network bandwidth increases rapidly, 1Gbit and 10Gbit networks are gradually popularized, and 40Gbit networks are widely used in telecom operators and large-scale enterprise-level backbone networks. The exponential growth of network traffic poses new challenges to the performance of network data packet analysis and processing network products such as firewalls, IDS / IPS, and application gateways. Traditional network data packet processing methods face problems such as high packet loss rate, large delay, and high system load in a high-speed network environment, and cannot meet the real-time processing of network data packets in a high-speed network environment. At present, the industry mainly has the following...

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): H04L12/861H04L12/911H04L12/26H04L12/24
CPCH04L41/12H04L41/20H04L41/24H04L43/0817H04L47/70H04L49/90H04L49/9031
Inventor 黄益彬金倩倩纪元韦小刚邓进张骞陈功胜纪鹏宋述停王强
Owner STATE GRID CORP OF CHINA
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
Eureka Blog
Learn More
PatSnap group products