Task scheduling method and device and electronic equipment

A task scheduling and task technology, which is applied in multi-programming devices, program control design, electrical digital data processing, etc., can solve the problem of low utilization of GPU resources, and achieve the effect of improving concurrency and utilization.

Active Publication Date: 2020-09-22
APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO LTD
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present application provides a task scheduling method, device and electronic equipment to solve the problem of low GPU resource utilization in the existing task scheduling process

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
  • Task scheduling method and device and electronic equipment
  • Task scheduling method and device and electronic equipment
  • Task scheduling method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0033] Such as figure 1 As shown, according to an embodiment of the present application, the present application provides a task scheduling method, including:

[0034] Step S101: Receive a scheduling request for a task to be scheduled.

[0035] The task to be scheduled is a task that needs to be executed by the GPU and is waiting to be scheduled. First, the task to...

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 task scheduling method and device and electronic equipment, and relates to the technical field of scheduling. According to the specific implementation scheme, the method comprises the steps of receiving a scheduling request for a to-be-scheduled task; in response to the scheduling request, calculating a first relevancy between the to-be-scheduled task and a task running in each GPU of N graphics processing units GPUs to obtain N first relevancies, N being an integer greater than 1; determining a target GPU based on the N first relevancies, the target GPU being the GPUwith the minimum relevancy in the N GPUs; and scheduling the to-be-scheduled task to the target GPU for execution. In a process of selecting a target GPU for executing a to-be-scheduled task, the relevancy between the to-be-scheduled task and the task running in the GPU is considered, and the to-be-scheduled task is scheduled to the target GPU with minimum relevancy for execution, therefore, theconcurrency of the tasks on the GPUs can be improved, and the utilization rate of GPU resources can be increased. The method can be applied to scenes such as an automatic driving system, a high-performance computer and a machine learning training platform.

Description

technical field [0001] The present application relates to the technical field of scheduling in computer technology, and in particular to a task scheduling method, device and electronic equipment. Background technique [0002] As the complexity of computing tasks increases and the requirements for computing performance increase, there are more and more CPU+multi-GPU (graphics processing unit) architectures, which are widely used in various scenarios, such as automatic driving systems, high-performance computers, Machine learning training platform, etc. [0003] Currently, in the process of scheduling GPU tasks, a common method is to schedule the GPU tasks to run on the GPU with the fewest running tasks. However, this method easily leads to a low utilization rate of GPU resources. Contents of the invention [0004] The present application provides a task scheduling method, device and electronic equipment to solve the problem of low GPU resource utilization in the existing t...

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/48
CPCG06F9/4881Y02D10/00
Inventor 张磊杨凯殷其娟张伍召王晓艳王柏生
Owner APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO LTD
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