Load equilibration scheduling method and device

A technology of load balancing and scheduling method, applied in multi-program device, machine execution device, concurrent instruction execution and other directions, can solve the problem of unbalanced priority of run queue, inability to ensure priority, inability to meet high-priority tasks, etc. Achieve the effect of good real-time response performance and low computational overhead

Active Publication Date: 2009-06-17
ZTE CORP
View PDF0 Cites 61 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For business applications running on embedded systems in these fields, the operating system is generally required to provide features such as strong real-time performance and high efficiency. For high-priority tasks, it must be run first; thus, the existing operating system The support method for multi-core and hyper-threaded processors cannot fully meet the needs of many embedded systems, and has the following disadvantages:
[0005] 1. Its load balancing method is not based on priority balancing. In the entire symmetric multiprocessor system, the priority of the running queue on each processor is unbalanced, and the priority of running tasks on each processor in the system cannot be guaranteed. They are all higher in priority than waiting tasks, and there will be high-

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
  • Load equilibration scheduling method and device
  • Load equilibration scheduling method and device
  • Load equilibration scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0029]It should be understood that the realization of the present invention mainly lies in two modules: a load balance monitoring module and a load balance processing module. Among them, the load balance monitoring module is set to run regularly, and will check the task load status of each processor in the entire system during operation. If there is an unbalanced task load, it will perform a hierarchical search in the system to find out the source processing unit, the destination processing unit and the priority of the task to be migrated, and notify the entity of the corresponding load balancing processing module of the information. The load balancing processing mo...

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 present invention provides a load balances scheduling method and apparatus, wherein, the method comprises: step one, a load balance monitoring module of periodic duty is started up for monitoring the distribution of task priority of each processing unit in multiprocessor system, and when the distribution unbalance of the task priority of each processing unit is monitored and the maximum difference value of the task priority distribution exceeds the preset threshold value, the load balance monitoring module can determine a source processing unit, a target processing unit and the priority of the task scheduling to be performed, and can launch a load balance scheduling message to related load balance processing module; and step two, the relating load balance processing module can execute the task scheduling according to the task priority distribution of each processing unit and relations between processing units, thereby the task load on each processing unit in a symmetrical multiprocessor system can be reached to balance.

Description

technical field [0001] The invention relates to the field of task scheduling in computer operating systems, and more specifically, to a load balancing scheduling method and device. Background technique [0002] With the development of microprocessor technology, multi-core and hyper-threading have become the mainstream of development. At present, mainstream commercial processor systems such as X86, PPC, MIPS, and ARM have been launched, or are planning to launch multi-core and hyper-threading commercial processors. The multi-core structure of these processors is based on the symmetric multi-processor system, that is, each processing unit has no priority and is equal. Compared with ordinary single-core processors, processors with multi-core and hyper-threading features have multiple execution units and can run multiple tasks at the same time, which is completely different from the situation that a single-core processor can only run one task at a time. Different, in order to s...

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/46G06F9/38
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