Multi-core CPU load balancing method based on ring and system thereof

A load balancing and multi-core technology, applied in the field of multi-core CPUs, can solve problems such as network packet loss and affecting access network speed, and achieve the effect of multi-core CPU load balancing and network card traffic division finely

Active Publication Date: 2010-09-22
BEIJINGNETENTSEC
View PDF0 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] There are multiple network cards and multiple CPUs in a multi-core CPU system. Usually, one network card corresponds to only one CPU. At this time, the smallest load balancing unit is the netwo

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-core CPU load balancing method based on ring and system thereof
  • Multi-core CPU load balancing method based on ring and system thereof
  • Multi-core CPU load balancing method based on ring and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] figure 1 It is a block diagram of a ring-based multi-core CPU load balancing system according to an embodiment of the present invention. The system includes a first CPU 111 , a second CPU 112 , a third CPU 113 , an equalization module 120 , a first network card 130 , and a second network card 140 . Wherein, the first network card 130 includes a first ring 131 , a second ring 132 , and a third ring 133 ; the second network card 140 includes a fourth ring 141 , a fifth ring 142 , a sixth ring 143 , and a seventh ring 144 . figure 1 Among them, the first CPU 111 is bound to the second ring 132 and the fourth ring 141 , the second CPU 112 is bound to the first ring 131 and the sixth ring 143 , and the third CPU 113 is bound to the third ring 133 , the fifth ring 142 and the seventh ring 144 .

[0016] For convenience of description, figure 1 It only schematically describes the number of CPUs as three, the number of network cards as two, and the number of rings as seven, a...

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 multi-core CPU load balancing method based on ring and a system thereof. The method comprises the following steps: detecting the load balancing conditions of all CPUs in the multi-core CPU in real time and judging whether the multi-core CPU is balanced; evaluating the loading conditions of all rings under the condition that of the multi-core CPU is not balanced; and adjusting binding relationship among the ring and the CPUs by using the ring as a unit. The method uses the ring as a least unit to adjust the CPU load degree, the division of the flow rate of a network card is finer, and further the multi-core CPU load is more balanced. The method and the system thereof of the invention can be widely applied in the multi-core CPU.

Description

technical field [0001] The present invention relates to a multi-core CPU (Central Processing Unit, central processing unit), and in particular to network load balancing of a multi-core CPU. Background technique [0002] The current network has become very popular, and the rapid development of the Internet has made network access more and more frequent. Therefore, users have higher and higher requirements for network bandwidth and network access speed. Network cards in network equipment have developed from 10M network cards, 100M network cards to Gigabit network cards with the user's requirements for network access speed. [0003] With the increase in the business volume of each core part of the existing network and the rapid growth of access and data traffic, the requirements for data processing capabilities and computing intensity have also been greatly enhanced, making it impossible for a single server device to bear. In this case, if the existing equipment is discarded t...

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
IPC IPC(8): G06F9/50
Inventor 陈鑫王庆官米嘉梁志勇
Owner BEIJINGNETENTSEC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products