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

A load balancing method and device for a multi-core processor

A multi-core processor and load balancing technology, applied in the computer field, can solve problems such as reducing process execution efficiency and insufficient utilization of operating system cache

Active Publication Date: 2019-06-04
DATANG MOBILE COMM EQUIP CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, when multiple processes under a multi-core processor share shared data, each process needs to take the shared data out of the memory and place it in its own cache when using the shared data. Insufficient cache utilization also reduces the execution efficiency of the process

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
  • A load balancing method and device for a multi-core processor
  • A load balancing method and device for a multi-core processor
  • A load balancing method and device for a multi-core processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the object, technical solution and beneficial effects of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0044] It should be noted that the load balancing method and device provided in the embodiments of the present invention can be applied to operating systems including homogeneous multi-core processors. For example, it can be applied to an operating system under the SMP (Symmetrical Multi-Processing, symmetric multi-processing) architecture.

[0045] figure 1 It exemplarily shows a schematic flowchart of a load balancing method for multi-core processors provided by an embodiment of the present invention, as shown in figure 1 As shown, the method may include:

[0046] S101. For at least...

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 embodiment of the invention relates to the technical field of computers, in particular to a load balancing method and device for a multi-core processor, and the method comprises the steps: for atleast one piece of shared data, obtaining a first processor identifier carried by a first process which accesses the shared data and a second process which needs to access the shared data; Judging whether a second processor identifier carried by the second process is the same as the first processor identifier or not, and if not, modifying the processor identifier carried by the second process intothe first processor identifier; And in a load balancing period, migrating the second process to the first processor. In this way, it can be seen that the multiple processes of the shared data can bemigrated to the same processor, the shared data does not need to be placed in respective caches, but the shared data is placed in the caches of the same processor, and therefore the cache utilizationrate of an operating system can be increased, and the execution efficiency of the processes can be improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computers, and in particular to a load balancing method and device for multi-core processors. Background technique [0002] At present, the multi-core processor has become a mainstream processor and has been widely used. The performance of the process scheduler of the Linux operating system kernel under the SMP (Symmetrical Multi-Processing, Symmetrical Multi-Processing) architecture is relatively excellent, and it is also widely used. However, under the SMP architecture, the cache utilization rate of the Linux operating system is insufficient, which greatly reduces the execution efficiency of the process. For example, when multiple processes under a multi-core processor share shared data, each process needs to take the shared data out of the memory and place it in its own cache when using the shared data. Insufficient cache utilization also reduces the execution efficiency of ...

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/50G06F9/48
Inventor 张鹏飞吴乐冯园园
Owner DATANG MOBILE COMM EQUIP 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