A method of dynamic load balancing of traffic based on dpdk
A technology of load balancing and dynamic flow, applied in the field of computer multi-core, it can solve the problems of unbalanced load, heavy load of multi-core processors, and lower CPU processing efficiency, and achieve the effect of avoiding Hash collision and improving the effect of load balancing.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] combine Figure 1 to Figure 7 To illustrate this embodiment, the flow chart of a DPDK-based traffic dynamic load balancing method in this embodiment is as follows figure 1 As shown, the specific steps include:
[0038] Step a, establish two hash tables for storing the mapping relationship between a connection and different CPU cores;
[0039] Step b. After capturing the data packet, input the quintuple information in the data packet and the default Hash Key: static uint8_t rss_intel_key[40]={0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D ,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A,0x6D,0x5A , 0x6D, 0x5A, 0x6D, 0x5A, 0x6D, 0x5A,}, calculate the Hash results through Hash1() and Hash2() respectively, and search Hash Table 1 and Hash Table 2 according to the Hash results obtained by the two Hash calculations, and judge the two Whether there is a mapping relationship between the Hash calculation result ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


