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

Traffic distribution method, device, computer equipment and storage medium

A traffic distribution and network traffic technology, applied in the computer field, can solve problems such as system performance degradation, the mismatch between the number of network card hardware queues and the number of parallel processing CORE, and the increase of CORE load, so as to avoid excessive load.

Active Publication Date: 2022-05-10
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor has found that each hardware queue of each network card corresponds to a processing CORE. When the number of network card hardware queues is small and the number of CPU COREs is large, there are too many idle cpu resources; NIC_B with a small number of queues. At this time, the number of COREs occupied by traffic processing is based on NIC_A. At this time, the traffic of NIC_A and NIC_B will be hashed to the same CORE, which will increase the load of these COREs, and some COREs only process the traffic of NIC_A. , traffic cannot be evenly hashed to different CPU COREs, resulting in failure to improve overall system performance
Moreover, the experiment also found that when the number of network card hardware queues is configured too much, the system performance will decrease instead.
Therefore, the above situation will lead to the need to solve the problem that the number of network card hardware queues does not match the number of parallel processing COREs, and the traffic cannot be evenly hashed to multiple COREs, resulting in system performance degradation.

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
  • Traffic distribution method, device, computer equipment and storage medium
  • Traffic distribution method, device, computer equipment and storage medium
  • Traffic distribution method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0063] Those skilled in the art can understand that the "terminal" and "terminal equipment" used here not only include wireless signal receiver equipment, which only has wireless signal receiver equipment without transmission capabilities, but also include receiving and transmitting hardware. A device having receiving and transmitting hardware capable of performing bi-directional communication over a bi-directional communication link. Such equipment may include: cellular or other communication equipment, which has a single-line display or a multi-line display or a cellular or other communication equipment without a multi-line display; PCS (Personal Communications Service, personal communication system), which can combine voice, data Processing, facsimile and / or data communication capabilities; PDA (Personal Digital Assistant, Personal Digital Assistant), which may include radio frequency receiver, pager, Internet / Intranet access, web browser, notepad, calendar and / or GPS (Globa...

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 embodiment of the present invention discloses a traffic distribution method, device, computer equipment and storage medium, comprising the following steps: acquiring a receiving end adjustment value of a network traffic data packet to be processed; performing a hash operation on the receiving end adjustment value obtaining the hash value of the network traffic data packet; searching for a target queue corresponding to the hash value in a plurality of preset queues according to the hash value and adding the network traffic data packet to the target queue , wherein the value of the hash value is within the value range of the number of the plurality of queues. The hash value of the network data packet is obtained by hashing the mediation value of the receiving end, and the target queue is searched in the preset multiple queues by using the hash value, which can ensure that the network traffic data packets are evenly distributed among the multiple queues. , to avoid the problem of system processing performance degradation caused by excessive load or idle of processor cores.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computers, and in particular, to a flow distribution method, device, computer equipment, and storage medium. Background technique [0002] RSS (receive side scaling) is a load distribution method proposed by Microsoft. By calculating the network layer and transport layer 2 / 3 / 4 tuple HASH value in the network data message, the least significant bit (LSB) of the HASH value is taken. It is used to index the indirect addressing table RETA (Redirection Table), and the saved index value in the indirect addressing table RETA is used to allocate data packets to different CPU COREs for receiving and processing. At this stage, RSS has basically been implemented in hardware. Through this technology, network traffic can be offloaded to multiple CPU COREs, reducing the occupancy rate of a single CPU in the operating system. [0003] In order to achieve high-performance processing of network ...

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 Patents(China)
IPC IPC(8): H04L45/7453H04L45/745H04L45/00H04L69/22H04L47/125
CPCH04L45/7453H04L45/745H04L45/54H04L69/22H04L47/125
Inventor 吴焕政孟庆超马肖男
Owner CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
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