A method and device for realizing load sharing
A kind of load sharing and type technology, applied in the field of data communication, can solve the problem of uneven load sharing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0152] image 3 is a flowchart of the method of the first embodiment of the present invention, such as figure 2 as shown,
[0153] Step 300, adopting a preset ratio of 1:1, and performing traffic sampling in the second load sharing method;
[0154] In this step, the default ratio is set to 1:1 to indicate that the quality requirements of the second load sharing method are high. In addition, in this embodiment, the implementation is identified by adding the flow keyword virtual private network function number (VPN ID) to DIP. For example, traffic data that needs to be processed by the second load sharing method.
[0155] Step 301, write the sampled traffic data into the cache, analyze the types of sampled traffic and obtain the first ratio of the sampled traffic to various types of traffic;
[0156] Step 302, calculating the second ratio of the bandwidth of each link in the link to the total bandwidth of all links for traffic distribution;
[0157] Step 303, distribute var...
Embodiment 2
[0166] The number of links for traffic load sharing is 3, and the link bandwidth ratio of the 3 links is 1:2:1;
[0167] The traffic of the message is IP traffic, based on SIP changes from 10.10.10.0 to 10.10.10.254, a total of 255 kinds of traffic;
[0168] The first load sharing method is the method of CRC32mod logical linknum link number of the source IP, here, here physical linknum=3 logical linknum=1+2+1=4, after the above modulus, it is determined to divide into three links.
[0169] Assume that the first preset duration is 10 minutes, and the load sharing threshold (deviation between the maximum link load and the minimum link load) is 0.05;
[0170] Within the first preset time period, the traffic numbers of the three links under the first load sharing method are respectively 6200000, 12800000 and 6400000;
[0171] After dividing the load-sharing traffic of each link by the link bandwidth, the traffic-bandwidth ratios are (62 / 64), 1, and 1, respectively.
[0172] The ...
Embodiment 3
[0175] The number of links for traffic load sharing is 3, and the link bandwidth ratio of the 3 links is 1:2:1;
[0176] The traffic of the message is IP traffic, based on the change of SIP, there are 10 kinds of traffic from 10.10.10.0 to 10.10.10.9;
[0177] There are 10 types of traffic from 20.20.20.0 to 20.20.20.9 based on DIP changes;
[0178] Based on the change of the TCP source interface (sport) from 0 to 9, the destination interface (dport) 0 to 9 changes a total of 10*10*10*10=10000 kinds of traffic;
[0179] Each flow is assumed to have the same traffic size.
[0180] The first load sharing method is CRC32 (keywords include sip, dip, sport, dport) mod linknum, where physical linknum=3, logical linknum=1+2+1=4, and the traffic is distributed to three links
[0181] Assume that the first preset duration is 10 minutes, and the load sharing threshold is 0.01;
[0182] Within the first preset time period, the traffic numbers of the three links under the first load s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


