Supercharge Your Innovation With Domain-Expert AI Agents!

Software traffic control method and system based on zero copy and Linux kernel

A zero-copy, kernel technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of high implementation complexity, high bandwidth resource occupation, low forwarding performance, etc., and achieve the effect of solving contradictions and efficient flow control

Active Publication Date: 2015-01-28
SURFILTER NETWORK TECH
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the introduction of the concepts of "big data" and "cloud computing", various mobile access, application resources, and cloud services are also emerging. The demand for bandwidth continues to expand, and the occupation of bandwidth resources is also increasing. , will seriously consume the bandwidth resources of the enterprise, thus affecting the normal business data transmission
[0003] In this case, software flow control is becoming more and more important. Currently, there are two mainstream software flow control implementation methods: one method is based on the Traffic Control (Traffic Control, hereinafter referred to as TC) component provided by the Linux kernel, The advantage of this method is that the Linux kernel and TC components provide rich functional support, and new functions can be developed quickly according to user needs. The disadvantage is that all data packets need to be forwarded by the Linux kernel, and the forwarding performance is low.
Another method is based on zero-copy technology. The user-mode program can directly read data packets from the network card and implement the flow control algorithm. The advantage of this method is high forwarding performance. The disadvantage is that users need to re-develop the flow control framework by themselves to implement Looks complicated

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
  • Software traffic control method and system based on zero copy and Linux kernel
  • Software traffic control method and system based on zero copy and Linux kernel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the objectives, technical solutions and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.

[0020] figure 1 It is a flowchart of a software flow control method based on zero copy and Linux kernel provided by an embodiment of the present invention. Such as figure 1 As shown, the software flow control method based on zero copy and Linux kernel includes:

[0021] Step S101: Obtain the data packet on the network card in a zero copy mode;

[0022] Step S102: After the user mode program receives the data packet, it judges whether the data packet needs flow control. If flow control is needed, step S103 is executed, and if flow control is not needed, step S105 is executed;

[0023] Step S103: Mar...

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 the technical field of software traffic control, in particular to a software traffic control method and system based on zero copy and the Linux kernel. The method comprises the steps of acquiring a data packet on a network card with the zero copy method, judging whether traffic control needs to be conducted on the data packet, marking the data packet with a traffic control queue number if traffic control needs to be conducted on the data packet, sending the data packet marked with the traffic control queue number to a virtual network card of the Linux kernel, converting the received data packet marked with the traffic control queue number into a kernel marked data packet, and conducting traffic control on the data packet to generate a traffic controlled data packet. According to the software traffic control method and system based on zero copy and the Linux kernel, the advantages of zero copy and the advantages of the Linux kernel on traffic control (TC) are combined, the kernel and the zero copy mechanism are connected through the virtual network card, the contradiction between transmission performance and traffic control is solved, and high-efficiency traffic control under the high-flow condition is achieved.

Description

Technical field [0001] The invention relates to the technical field of software flow control, in particular to a software flow control method and system based on zero copy and Linux kernel. Background technique [0002] With the introduction of the concepts of "big data" and "cloud computing", various mobile access, application resources, and cloud services are constantly emerging. The demand for bandwidth continues to expand, and the occupation of bandwidth resources is also increasing. If not restricted , It will seriously consume the bandwidth resources of the enterprise, thus affecting the normal business data transmission. [0003] In this situation, software flow control has become more and more important. There are currently two mainstream software flow control implementation methods: one method is based on the traffic control (Traffic Control, hereinafter referred to as TC) component provided by the Linux kernel. The advantage of this method is that the Linux kernel and TC...

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/801H04L12/863
Inventor 刘永强吕恩泳沈智杰景晓军唐新民
Owner SURFILTER NETWORK TECH
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