A low-energy task scheduling strategy for cpu-gpu heterogeneity

A technology for task scheduling and low energy consumption, applied in energy-saving computing, multi-programming devices, instruments, etc., can solve the problem that the distinction between heterogeneous cores is not detailed enough, the optimization of task scheduling length is not considered, and soft real-time requirements are not considered. Problems such as lack of information in the algorithm initialization phase

Active Publication Date: 2021-04-16
BEIJING UNIV OF TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Zhang Jing et al. proposed a real-time task scheduling algorithm suitable for heterogeneous multi-core systems by remodeling the heterogeneous core according to the processing capability and scope of application, and referring to the main idea of ​​the relatively strict task scheduling algorithm. It has indeed achieved good results in terms of real-time performance, but the scope of application of processing tasks is still limited by high-real-time processing methods, which is not flexible enough
Bai Enci and others also proposed a heterogeneous multi-core task scheduling algorithm based on ant colony algorithm, and also considered real-time constraints when improving ant colony algorithm, and initially combined real-time constraints with performance-oriented ant colony algorithm up, but did not take into account the soft real-time requirements and the lack of information in the initial stage of the ant colony algorithm
[0005] To sum up, although these improved task and resource scheduling strategies can be applied to heterogeneous multi-core, and some real-time considerations are considered, the distinction between heterogeneous cores is still not detailed enough, and most of them are aimed at improving performance. It does not consider that the ant colony algorithm can be used to search for a feasible solution that satisfies the real-time constraints and no longer optimizes the task scheduling length, but optimizes the overall energy consumption.

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 low-energy task scheduling strategy for cpu-gpu heterogeneity
  • A low-energy task scheduling strategy for cpu-gpu heterogeneity
  • A low-energy task scheduling strategy for cpu-gpu heterogeneity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] In order to make the purpose, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0076] The present invention is based on the task scheduling strategy under the CPU-GPU master-slave architecture environment, and the schematic diagram of the heterogeneous architecture is as follows figure 1 As shown, here we take the illustration as an example. There is one CPU and three GPUs in the processor, and data is exchanged between different processing cores through the PCI main line. The processed tasks are as follows: figure 2 As shown in the DAG of , it can be divided into 14 subtasks with dependencies and large differences in communication volume. Before starting task scheduling, the entire system needs to set its own processor performance-related parameters (step 1), and obtain task-related information when accepting tasks (step 2)...

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

A low-energy task scheduling strategy for CPU-GPU heterogeneity. Aiming at the characteristics of heterogeneous multi-core systems and the problems of traditional ant colony algorithm that only optimizes a single objective and the convergence speed is too slow, a new method that pays attention to real-time constraints is proposed. and ant colony task scheduling algorithm for system energy consumption. The method firstly provides guidance information in the process of pheromone initialization according to the energy consumption of tasks on heterogeneous cores to speed up the algorithm convergence speed, and then filters the cores according to the real-time constraints of tasks, and then according to the computing power of tasks on heterogeneous cores. According to the energy consumption of different tasks, the energy consumption of inter-core communication and the pheromone content of different tasks to select the appropriate execution core, and finally through the multiple iterations of the ant colony algorithm, the scheduling scheme with lower energy consumption is continuously searched, and the pheromone content is adjusted according to the obtained results. Speed ​​up algorithm convergence. After several iterations, the final task scheduling scheme is obtained, which can optimize the energy consumption of the system under the condition of satisfying the real-time constraints of the task.

Description

technical field [0001] The invention belongs to the field of heterogeneous system task allocation and resource scheduling, and specifically relates to a resource allocation and task scheduling strategy oriented to CPU-GPU heterogeneous system structure while considering real-time constraints and system energy consumption. Background technique [0002] Nowadays, the processor architecture is gradually developing towards multi-core and heterogeneous. Multi-core processors have become the current mainstream processors. With multiple processing cores, the application program can deliver parallel threads to multiple cores for processing separately, so the running speed of the program is greatly improved. According to whether there are differences in their core structures, multi-core processors are divided into homogeneous multi-core processors and heterogeneous multi-core processors. A homogeneous multi-core processor mostly means that all processor cores have the same architec...

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/48G06N3/00
CPCG06F9/4881G06F9/4893G06F2209/483G06F2209/484G06N3/006Y02D10/00
Inventor 方娟周宽
Owner BEIJING UNIV OF TECH
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