Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data transmission method and system between DPDK user mode and linux kernel network protocol stack

A technology of a data transmission system and a data transmission method, which is applied in the computer field, can solve problems such as poor performance, high soft interrupts, kernel packet loss performance bottlenecks, etc., and achieve the effect of improving performance and breaking through performance bottlenecks

Active Publication Date: 2020-05-12
深圳市任子行科技开发有限公司 +1
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When a single physical network port corresponds to a virtual network port, the KNI module of DPDK creates a kernel thread to receive data packets. Under heavy traffic conditions, the Linux kernel protocol stack has a relatively high soft interrupt for receiving packets on a single CPU, and kernel packet loss causes performance bottlenecks.
So that the performance of this method is not as good as that of the linux kernel directly driving the network card, and the performance of data packets entering and leaving the kernel

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
  • Data transmission method and system between DPDK user mode and linux kernel network protocol stack
  • Data transmission method and system between DPDK user mode and linux kernel network protocol stack

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the associated drawings. Typical embodiments of the invention are shown in the drawings. However, the present invention can be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of the present invention will be thorough and complete.

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.

[0023] The general idea of ​​the present invention is: create N virtual network ports for each physical network port, bind a kernel...

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 data transmission method and system between a DPDK user mode and a linux kernel network protocol stack. The method comprises the following steps: creating N virtual network ports bound with each physical network port for each physical network port by utilizing the KNI module of the DPDK, independently binding a kernel thread for each virtual network port, creating a bondport in a polling manner by utilizing a linux system command, and binding the N virtual network ports to the same bond port; after the DPDK receives the network data packet through the physical network port, distributing the received data packet to N virtual network ports bound with the physical network port in a KNI interface polling mode; the kernel protocol stack sends the processed data packets needing to be sent to the bond port to the N virtual network ports of the bond port in a polling mode, and the DPDK reads the data packets from the virtual network ports through the KNI interface and then sends the data packets to the physical network port; Therefore, the load is balanced, the linux kernel directly drives the network card, the performance bottleneck is broken through and the performance that the data packet enters and exits the kernel is improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a data transmission method and system between a DPDK user state and a Linux kernel network protocol stack. Background technique [0002] As a zero-copy user mode NIC driver, DPDK has high performance. In practical applications, there are often some specific data packets that need to be processed by the linux kernel mode network protocol stack. The transmission between the DPDK user-mode network data packet and the kernel-mode network protocol stack is through the KNI module. Usually, a physical network port is created as a virtual network port, and the transmission is performed between the virtual network port and the kernel protocol stack. [0003] When a single physical network port corresponds to a virtual network port, the KNI module of DPDK creates a kernel thread to receive data packets. Under heavy traffic conditions, the Linux kernel protocol stack has a relatively high soft int...

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/803H04L29/12
CPCH04L47/125H04L61/5007
Inventor 吕恩泳程海龙张宇刘永强沈智杰景晓军
Owner 深圳市任子行科技开发有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More