A task scheduling and allocation method for multi-core processors

A multi-core processor and task scheduling technology, which is applied in the direction of electrical digital data processing, instruments, multi-programming devices, etc., can solve the problems of backlog tasks in task queues, increased spin loss, and tasks that cannot be processed, so as to improve the success rate of scheduling , the effect of reducing spin loss

Active Publication Date: 2021-08-20
HARBIN ENG UNIV
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the computing power of the scheduling core is insufficient, the global task queue will continue to pile up tasks, resulting in too many tasks that cannot be processed, and the task core cannot process the task; if the computing power of the computing core is insufficient, it will lead to the corresponding The task queue has a backlog of tasks, but the global task queue has no tasks, and the scheduling core is idle
Both cases will lead to a decrease in the success rate of task scheduling and an increase in spin loss

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 task scheduling and allocation method for multi-core processors
  • A task scheduling and allocation method for multi-core processors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further described below in conjunction with accompanying drawing:

[0028] figure 1 It is a task flow trend diagram of a multi-core processor-oriented task scheduling and allocation method;

[0029] figure 2 It is a comparison chart of the core utilization ratio between the present invention and the existing scheduling model;

[0030] Technical scheme of the present invention is realized like this:

[0031] 1. attached figure 1 is a task flow trend diagram of the present invention, which shows the task flow trend.

[0032] 2. When the task arrives in the task queue, the core in scheduling mode starts to receive the task

[0033] 3. After receiving the task, make a normal scheduling selection for the task and record the result.

[0034] 4. Then send the currently processed task to the task queue corresponding to the recorded core, no matter what state the core is in at this time.

[0035] 5. If the corresponding core is in the comput...

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 the field of processor task allocation, in particular to a multi-core processor-oriented task scheduling and allocation method. When the task arrives in the task queue, all the available cores of the current multi-core processor are converted to the distribution state, and the task is received from the task queue; after receiving the task, a task scheduling selection algorithm is executed to select a schedulable core; the received task is released Enter the task queue corresponding to the selected schedulable core; when the task arrives in the task queue, all the available cores of the current multi-core processor are converted to the computing state, and the task is taken from the task queue and calculated. The invention can balance the utilization rate of all cores of the multi-core processor to the greatest extent without the waste caused by the unbalanced capacity of the scheduling core and computing core; by making all the cores of the multi-core processor run in two modes, the scheduling mode and computing mode to improve the success rate of task scheduling and reduce spin loss.

Description

technical field [0001] The invention relates to the field of processor task allocation, in particular to a multi-core processor-oriented task scheduling and allocation method. Background technique [0002] Since the existing multi-core processor scheduling and allocation models are generally divided into two types: the first is global scheduling, that is, only one global task queue is maintained in the entire system, tasks are dynamically allocated, and tasks are allowed to migrate between cores. The second is local scheduling. The system maintains a local task queue for each core. Generally speaking, tasks in local scheduling are not allowed to be migrated. For global scheduling, generally multiple computing cores compete for tasks in the task queue, and it is easier to achieve load balancing and make each core fully loaded. However, for a scheduler that supports global scheduling, the calculation overhead is obviously too large, and frequent migration of tasks will reduce...

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 Patents(China)
IPC IPC(8): G06F9/48
CPCG06F9/4881
Inventor 苘大鹏杨武王巍玄世昌吕继光路泽亚
Owner HARBIN ENG UNIV
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