Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-protocol-stack load balancing method and multi-protocol-stack load balancing device

A load balancing and multi-protocol stack technology, applied in the field of communication, can solve problems such as protocol stack overload, achieve load balancing, reduce data distribution overhead, and improve protocol processing capabilities

Active Publication Date: 2015-05-20
HUAWEI TECH CO LTD
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, usually the data packets sent through the firewall gateway have the same IP (Internet Protocol, network protocol). If the RSS distribution of the network card is only based on the source, destination IP and protocol triplet for hash (hash) distribution, these through The data packets of the same gateway are likely to be allocated to the same RSS network card receiving queue, which may cause the protocol stack connected to the queue to be overloaded.
Therefore, simple hash distribution based on triples / quintuples of data packets has the disadvantage of not being able to perform flexible load balancing distribution by sensing the real load situation of the protocol stack.

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
  • Multi-protocol-stack load balancing method and multi-protocol-stack load balancing device
  • Multi-protocol-stack load balancing method and multi-protocol-stack load balancing device
  • Multi-protocol-stack load balancing method and multi-protocol-stack load balancing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0040] see first figure 2 , figure 2 is a schematic structural diagram of a multi-protocol stack load balancing device according to the first embodiment of the present invention. Such as figure 2 As shown, the multi-protocol stack load balancing device 10 includes: a protocol stack module 12, a data distribution module 13, a load balancing module 14, a network card 16 and a network card driver 17, wherein the protocol stack module 12 includes a plurality of protocol stacks 15, and the network card 16 Including RSS network card receiving and sending queue 18 and matching flow table 19, RSS network card receiving and sending queue 18 includes RSS network card receiving queue and RSS network card sending queue.

[0041] In this embodiment, the application 11 calls the API to notify the data distribution module 13 to create the first socket. The da...

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

Disclosed in the present invention are a multiple protocol stack load balancing method and apparatus. The method comprises: creating a first socket in response to an application request, and deploying the first socket on all protocol stacks; receiving data packets requesting connection; judging the protocol type of the data packets requesting connection, and creating a second socket to establish a session connection if the protocol type is TCP; choosing one protocol stack for the second socket on the basis of the load condition of each protocol stack, creating a matching flow table on a network card on the basis of a shunt policy of the network card when the data packets of the second socket cannot be shunted, through a default shunt rule of the network card, to an RSS network card reception queue bound to the chosen protocol stack, and upon the reception of the data packets, shunting the received data packets of the second socket to the RSS network card reception queue; and completing data packets distribution between the second socket and the chosen protocol stack. By doing so, the present invention enables protocol stack load to balance and reduces the data distribution overhead of CPU in an environment of multiple protocol stacks by matching and combining load awareness of protocol stack and application with RSS network card reception / transmission queues and flow table.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a multi-protocol stack load balancing method and device. Background technique [0002] With the rapid development of cloud computing, the computing work is more and more concentrated in the data center, and the terminal uses the network to quickly send the requested tasks to the data center, so the terminal's demand for computing power is decreasing, and the demand for The demand for network capacity is increasing. However, the protocol stack, as a bridge between applications and physical networks, has not been developed rapidly, and has gradually become a bottleneck between the two. It has become inevitable to combine multiple protocol stacks to handle single or multiple ports. At this time, a splitting algorithm should be used to forward the data packets belonging to the same connection to different protocol stacks. Since all protocol stacks share a distribution module...

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): H04L29/08H04L12/803
CPCH04L47/125H04L67/1001H04L69/161
Inventor 文刘飞
Owner HUAWEI TECH CO LTD