Unlock instant, AI-driven research and patent intelligence for your innovation.

Switching time delay optimization method based on task fusion and task scheduling

A technology of task scheduling and optimization method, which is applied in the field of multi-task computing, can solve the problems of no task switching delay, propose a solution, shorten the total time of task completion, etc., to reduce task computing time, reduce switching time, and reduce switching delay Effect

Active Publication Date: 2021-02-19
GUANGDONG UNIV OF TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Chinese patent CN107015856A published on August 4, 2017 discloses a method and device for generating a task scheduling scheme in a scientific workflow in a cloud environment. The method includes the following steps, step 1, obtaining all tasks to be scheduled; step 2 , describe the tasks to be scheduled through the directed acyclic graph with weights; step 3, in the directed acyclic graph, traverse from the start node to the end node to obtain all paths; step 4, calculate the Time consumption, sort all paths in descending order according to the time consumption from large to small, and determine the priority of the path; step 5, generate a task scheduling plan according to the priority order of the path; the invention uses the method of task assignment to use the processing The idle time of the computer is improved, the utilization rate of the processor is improved, and the total time for task completion is shortened, and no solution is proposed for the task switching delay

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
  • Switching time delay optimization method based on task fusion and task scheduling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] This embodiment provides a handover delay optimization method based on task fusion and task scheduling, such as figure 1 As shown, the method includes the following steps:

[0043] S1: Analyze the calling relationship of the main function of the application, and construct the initial task graph G(V, E), where V represents the set of task nodes with dependencies, E represents the set of edges, and each edge in the set of edges represents the dependencies between tasks sex;

[0044] S2: Pre-execute the initial task graph: calculate the computing time of each task i in the device j in the initial task graph and the entire application on the most computationally powerful devices j max completion time T on , where i∈V,j∈M,j max ∈M, where M is the set of computing devices that perform tasks;

[0045] S3: Obtain the executable sequence N of the task;

[0046] S4: Schedule the tasks: according to the executable sequence N, traverse from the first task, select the device w...

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 switching time delay optimization method based on task fusion and task scheduling, and the method comprises the steps: firstly analyzing the call relation of an application main function, constructing an initial task graph, and measuring the calculation time of each task in the initial task graph and the completion time of the whole application; obtaining an executable sequence of the tasks by utilizing topological sorting, scheduling the tasks according to the executable sequence, and selecting equipment with the shortest completion time for the tasks; calculating task fusion efficiency to determine whether the current task and the precursor task are merged or not, and recording a fusion strategy; obtaining a reconstruction task graph according to the fusion strategy, and calculating the completion time after task scheduling fusion; comparing the application completion time before and after task scheduling fusion, determining whether to reserve fusion operation, and determining a final task graph; and deploying the tasks to corresponding equipment for execution according to the final task graph. The advantages of a task scheduling method and a task fusionmethod are combined, and the task context switching delay is effectively reduced.

Description

technical field [0001] The invention relates to the field of multi-task computing, and more particularly, to a method for optimizing handover delay based on task fusion and task scheduling. Background technique [0002] In mobile edge computing scenarios, the execution of deep learning applications usually requires multiple execution devices to execute collaboratively. Therefore, a multi-tasking and multi-device system is usually deployed on edge servers and cloud servers. When end users need to perform tasks with a large amount of computation, they can choose to migrate them to this task system. As a typical computing-intensive application, a deep learning application will choose to migrate tasks to a multi-task system composed of edge servers and cloud servers during the execution of such applications. Deep learning can divide the entire computing task into fine-grained and smaller sub-task execution by converting it into a computational graph (tensorflow). However, dat...

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/50G06F9/48
CPCG06F9/5027G06F9/4881G06F2209/5018Y02D10/00
Inventor 武继刚严嘉泉吴亚兰王勇龙鑫
Owner GUANGDONG UNIV OF TECH