Processing method and system of multi-core processor load balancing

A multi-core processor and load balancing technology, applied in the field of communication, can solve the problems of high complexity and poor adaptability of multi-core processor load balancing, to solve high complexity and poor adaptability, enhance flexibility and performance, and improve user experience Effect

Inactive Publication Date: 2011-04-06
ZTE CORP
View PDF3 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a multi-core processor load balancing processing solution to at least solve the problems of high complexity and poor adaptability of the multi-core processor load balancing method in the above-mentioned related art

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
  • Processing method and system of multi-core processor load balancing
  • Processing method and system of multi-core processor load balancing
  • Processing method and system of multi-core processor load balancing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] In this embodiment, a load balancing HASH hash factor configuration is added to a network communication device implemented by using a multi-core processor, and a simple-to-use and easy-to-implement HASH distribution method is adopted, so that the device developed using a multi-core processor can achieve load balancing. Effect.

[0052] Specifically, in this embodiment, the multi-core processor complies with the dynamic adjustment system for sharing may include: an operation and maintenance system, a multi-core processor component, and a load condition collector, wherein the multi-core processor component includes a distributor, and the distributor may include a message feature Extractor, HASH unit, HASH factor and packet distribution unit. Each module is described in detail below.

[0053] Operation and maintenance system, software and interface for users to operate equipment.

[0054] The multi-core processor component is used to realize access and processing functio...

Embodiment 2

[0065] Figure 4 It is a schematic flow chart of message distribution according to the second preferred embodiment of the present invention. The multi-core processor load sharing system in this preferred embodiment includes:

[0066] The operation and maintenance system is a set of software used to run on a PC or server, which is connected to the device through the network to configure, monitor and manage the device.

[0067] Multi-core processor devices (communication network devices developed using multi-core processors) are used for forwarding or processing data packets.

[0068] The distributor is responsible for distributing messages to each core within the multi-core processor.

[0069] The message feature extractor is used to extract the feature field of the message from the message content. For example, IP address, protocol type, etc., these feature fields are used as identifiers of packet flows.

[0070] The HASH unit is configured to calculate the HASH result of t...

Embodiment 3

[0080] This embodiment provides a method for achieving multi-core load balancing by dynamically adjusting the HASH factor, including two processes of initial setting and dynamic modification of the HASH factor. Figure 5 It is a schematic flow chart of the pre-selection of HASH factors according to the third preferred embodiment of the present invention, such as Figure 5 As shown, the initial setting of the HASH factor includes the following steps:

[0081] Step S502, message input model setting. In many cases, the network traffic model connected to a certain network device may be known. For example, for a router of an enterprise, the allocation of IP address network segments within the enterprise must be known. Another example is the GGSN gateway of the GSM network, which is responsible for the distribution of IP addresses of mobile phone users, so the range of IP addresses of users can be predicted. In these cases, the user inputs a model of network traffic, and the field...

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 discloses a processing method and a system of multi-core processor load balancing. The method comprises the following steps: a multi-core processor obtains the identification information of an input message; the identification information and a selected HASH factor are subject to the HASH operation by the multi-core processor to obtain the HASH value corresponding to the identification information, and transmits the output message to the core corresponding to the HASH value; and the selected HASH factor is adjusted according to the load condition of each core in the multi-core processor. The method and system of the invention can enhance the flexibility and the performance of the multi-core processor, and enhance the user experience.

Description

technical field [0001] The present invention relates to the communication field, in particular to a processing method and system for load balancing of multi-core processors. Background technique [0002] Multi-core processors are widely used in many fields such as network communication equipment, and how to make full use of the processing capabilities of each core of the multi-core processor has become a key issue. If a certain core is overloaded, it is likely to become the bottleneck of the entire system, resulting in a decrease in the performance of the entire system. In communication equipment, in order to ensure the order of messages in each data stream and save the information of the data stream, it is often necessary to distribute the data of the same data stream to the same core of the multi-core processor for processing. Due to the number of streams and the method of distinguishing 1. The degree of discreteness of flow identification may be very different in differe...

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): G06F9/50
Inventor 刘志远冯刚单丽杰
Owner ZTE CORP
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