Low-energy-consumption task scheduling strategy for CPU-GPU heterogeneity

A technology for task scheduling and low energy consumption, which is applied in energy-saving computing, program startup/switching, program control design, etc., and can solve the problems of insufficient distinction between heterogeneous cores, insufficient flexibility, and optimization of task scheduling length.

Active Publication Date: 2019-07-02
BEIJING UNIV OF TECH
View PDF7 Cites 12 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
  • Low-energy-consumption task scheduling strategy for CPU-GPU heterogeneity
  • Low-energy-consumption task scheduling strategy for CPU-GPU heterogeneity
  • Low-energy-consumption 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

The invention discloses a low-energy-consumption task scheduling strategy for CPU-GPU heterogeneity, and provides an ant colony task scheduling algorithm capable of simultaneously paying attention toreal-time constraints and system energy consumption aiming at the characteristics of a heterogeneous multi-core system and the problems that a traditional ant colony algorithm only optimizes a singletarget and is too slow in convergence speed. The method comprises the following steps: firstly, providing guidance information in a pheromone initialization process according to the energy consumptionof a task on a heterogeneous core; accelerating algorithm convergence speed, then, the cores are screened through task real-time constraint conditions; the method comprises the steps of obtaining a heterogeneous core of a task, selecting an appropriate execution core according to the calculation energy consumption of the task on the heterogeneous core, the inter-core communication energy consumption of different tasks and the pheromone content, continuously searching a scheduling scheme with lower energy consumption through multiple iterations of an ant colony algorithm, and adjusting the pheromone content according to the obtained result to further accelerate the convergence speed of the algorithm. A final task scheduling scheme is obtained after a plurality of iterations, so that the energy consumption of the system can be optimized under the condition that the real-time constraint of the task is met.

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 Applications(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