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

Multitasking scheduling method for gpu

A scheduling method and multi-task technology, applied in the GPU field, can solve the problems of concealing memory access delay, LRR scheduling algorithm cannot bring fairness, cannot meet the requirements of multiple task priorities, and achieve the goal of covering memory access delay Effect

Active Publication Date: 2022-03-25
NAT INNOVATION INST OF DEFENSE TECH PLA ACAD OF MILITARY SCI
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the LRR scheduling algorithm and GTO scheduling algorithm adopted on the existing GPU only consider the fairness and efficiency of scheduling between different warps of the same task in a single-task GPU, and do not take into account the multi-task scenarios. Scheduling fairness among multiple tasks of different priorities, and scheduling differences among multiple tasks with different priorities
Among them, although the GTO scheduling algorithm can better cover the memory access delay of the GPU program and has high performance, it continuously schedules several older thread warps, which obviously ignores the fairness among other tasks at the same priority. performance, and the scheduling priority of high-priority tasks
Although the LRR scheduling algorithm can treat different warps of the same task equally when performing a single task, in a multi-task scenario, due to the difference in the number of warps between different tasks with the same priority, the LRR scheduling algorithm cannot bring Better fairness; moreover, the LRR scheduling algorithm cannot meet the requirements of different priorities among multiple tasks and cannot cover up the memory access delay like the GTO scheduling algorithm

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
  • Multitasking scheduling method for gpu
  • Multitasking scheduling method for gpu
  • Multitasking scheduling method for gpu

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.

[0031] The technical solution provided by an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

[0032] see figure 1 , an embodiment of the present invention provides a multi-task scheduling method for a GPU, the method is used for a GPU that simultaneously runs multiple tasks in a simultaneous mu...

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 multi-task scheduling method for GPU. The method includes: when each clock cycle arrives, the streaming multiprocessor continues to schedule and execute the current thread warp; if the current thread warp cannot be scheduled for execution, then Select the task with the highest priority that can be selected among all the tasks to form a task set; select a task that is scheduled to execute the least number of times from the task set; schedule and execute the oldest thread warp in the selected task. The multi-task scheduling method for GPU of the present invention is executed by preferentially scheduling the same thread warp. When the thread warp is blocked, tasks with higher priority are scheduled and executed according to the priority order of the tasks, and tasks with the same priority are scheduled and executed. Scheduling and executing tasks that are scheduled to execute fewer times can not only consider the scheduling priority of high-priority tasks, but also consider the scheduling fairness among tasks of the same priority, and can better cover up the access of tasks. storage delay.

Description

technical field [0001] The invention relates to the technical field of GPUs, in particular to a multi-task scheduling method for GPUs. Background technique [0002] Graphics Processing Unit (GPU) is a microprocessor used to do image and graphics-related calculations. GPU is widely used in cloud computing platforms and data centers because of its powerful computing capabilities, providing users with the calculation. Compared with a single-task GPU that only runs one task on the GPU, a multi-task GPU can run multiple tasks on the GPU at the same time, which can effectively improve resource utilization. Specifically, a multi-task GPU can simultaneously run computation-intensive and storage-intensive programs on one GPU, and the computation resources and storage resources on the GPU can be fully utilized at the same time. [0003] Currently, there are two ways to support the GPU to run multiple tasks at the same time. The first way is spatial multitasking, and the second way i...

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/48G06F9/50G06T1/20
CPCG06F9/4843G06F9/505G06T1/20
Inventor 唐玉华赵夏张光达王会权徐实刘志强胡海韵万众
Owner NAT INNOVATION INST OF DEFENSE TECH PLA ACAD OF MILITARY SCI