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

Method for dynamically balancing received load under network card binding state

A load balancing and network card technology, applied in data exchange networks, digital transmission systems, electrical components, etc., to achieve the effect of receiving load balancing

Active Publication Date: 2012-04-25
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is achieved in the following manner. In order to solve the problem of receiving load balance under the network card binding state, it is necessary to make statistics on the data traffic received by each slave, and perform regular detection of the traffic. When the traffic is unbalanced, send arp reply packets to the client to make some clients change the mac address corresponding to the server ip in their arp cache, and change the traffic distribution from the client to each network card of the server to achieve dynamic receiving load balancing

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
  • Method for dynamically balancing received load under network card binding state
  • Method for dynamically balancing received load under network card binding state
  • Method for dynamically balancing received load under network card binding state

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The method of the present invention is described in detail below with reference to the accompanying drawings.

[0013] In order to facilitate statistics on traffic, the following data structures need to be defined:

[0014] c) The data structure rlb_client_recv_info that records traffic received from each client includes the following members:

[0015] ip_src / *client ip address* /

[0016] ip_dst / *server ip address* /

[0017] mac_src / * client mac address * /

[0018] load / *Data traffic received in a detection cycle* /

[0019] slave / *The network card assigned to this client to receive data* /

[0020] The traffic information of the same slave client is organized in the form of a two-way linked list, so each bond has the same number of linked lists as its slaves to record the traffic information received from all clients.

[0021] d) Record the array rlb_slave_recv_info of each slave traffic in a period, and the traffic of each slave is obtained by accumulating the...

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 a method for dynamically balancing received load under a network card binding state. The method aims at solving the problem of balance of received load when a network card is in the binding state. In the method, data flow received by each slave is needed to be counted, and the data flow is detected in definite time; when the received data flow is detected to be unbalanced, some clients is enabled to change mac addresses corresponding to server ip in arp cache in a mode of sending arp reply packages, and the data flow distribution from the clients to each network card of the server is changed so as to realize dynamic balance of received load. In the invention, ip package traffic received by each slave in bonding is counted and analyzed in the definite time, and arpreply packages are sent to the clients when the slave flow is not balanced so as to change the mac addresses corresponding to the server ip in the arp cache and realize dynamic balance of received flow of the network card bound on the server.

Description

technical field [0001] The invention relates to the field of computer systems and communication technologies, in particular to a method for dynamic load balancing in a network card binding state. technical background [0002] There are usually multiple network cards installed on the server. In order to improve the transmission bandwidth and link redundancy, the network card binding technology is usually used to bind multiple network cards into a virtual device and set a unified IP to provide external services. In the Linux system, the kernel itself has a built-in network card binding function, with 6 binding modes, and the Adaptive load balancing (alb) mode is widely used because it has no special requirements for the switch and can achieve the balance of sending and receiving. [0003] In the bonding module of the linux kernel, in Adaptive load balancing (alb) mode, the sending device is selected by making statistics on the amount of data sent, so the effect of sending bal...

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): H04L29/08H04L12/56H04L12/803
Inventor 张会健
Owner LANGCHAO ELECTRONIC INFORMATION IND 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