Hybrid task scheduling method for heterogeneous multi-core processor

A multi-core processor and task scheduling technology, applied in the field of operating systems, can solve problems such as difficult to guarantee the optimization time, complicated genetic algorithm operation, and falling into local optimum.

Pending Publication Date: 2021-01-08
GUILIN UNIVERSITY OF TECHNOLOGY
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the genetic algorithm is complex in operation and poor in real-time performance, and it is difficult to guarantee the optimization time; although the particle swarm algorithm is simple in operation and easy to implement, it is prone to the predicament of particles falling into "premature" phenomenon and local optimum in the later stage.

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
  • Hybrid task scheduling method for heterogeneous multi-core processor
  • Hybrid task scheduling method for heterogeneous multi-core processor
  • Hybrid task scheduling method for heterogeneous multi-core processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be described in further detail below in conjunction with the accompanying drawings, tables and specific examples.

[0029] Step 1: traverse the entire DAG graph and mark the critical path;

[0030] Step 2: Calculate the communication overhead from the current task to the exit task, the processing overhead of the current task on the processor, and the variance of the execution time of the task on different processors;

[0031] Step 3: Calculate the maximum value of the sum of the three in step 2 as rank u , for the parameter rank u Sorting in a non-increasing order to construct a task scheduling list;

[0032] Step 4: For the task scheduling list obtained by the HEFT algorithm, design a reasonable coding scheme to complete the mapping between the sparrow and the task scheduling list, including the following sub-steps:

[0033] Step 4.1: Coding scheme

[0034] For the task scheduling list obtained by the HEFT algorithm, design a reasonable c...

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 provides a hybrid task scheduling method for a heterogeneous multi-core processor. According to the method, optimization is carried out on the basis of a sparrow search algorithm, in task scheduling in a heterogeneous multi-core environment, priority levels of task nodes in an HEFT algorithm are sorted, a task scheduling list is constructed, meanwhile, a reasonable task allocation coding scheme is designed, sparrow search space is mapped to discrete space, and therefore, the sparrow search algorithm is suitable for the research of discrete heterogeneous multi-core task schedulingproblems. According to the method, the HEFT algorithm and the sparrow search algorithm are mixed, the task list obtained by the HEFT algorithm is added into the initial population of the sparrow search algorithm, iteration of the algorithm is executed by utilizing the advantages of high optimization capability, high convergence speed, stable performance and the like of the sparrow search algorithm, and the task with the highest priority is taken out from the list, and is allocated to the processing core with the earliest starting time. The task execution time is effectively shortened, and thetask scheduling efficiency in the heterogeneous multi-core environment is improved.

Description

technical field [0001] The invention relates to the field of operating systems, in particular to a task scheduling method in which a table scheduling algorithm and a sparrow search algorithm are mixed. Background technique [0002] With the development of high-performance computing and the rise of technologies such as AI, machine learning, and cloud technology, a processor system with a single structure cannot simultaneously meet the diverse needs of parallel computing of applications. Therefore, heterogeneous multi-core processors came into being and gradually entered the market. Heterogeneous multi-core processors are asymmetric multi-core processors composed of processing cores of various types and different computing capabilities. How to coordinate the work among these processing cores, divide tasks reasonably, and assign them to processors for execution, so as to improve the performance of heterogeneous multi-core processors. The efficiency of task scheduling in the en...

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/48G06N3/00
CPCG06F9/4881G06N3/006
Inventor 程小辉童辉辉
Owner GUILIN UNIVERSITY OF TECHNOLOGY
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