arrow
返回

Taming data locality for task scheduling under memory constraint in runtime systems

delete2023-06-01
delete1
delete
OA
AI
M
Maxime Gonthier *
L
Loris Marchal
S
Samuel Thibault
DOI:10.1016/j.future.2023.01.024delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
A now-classical way of meeting the increasing demand for computing speed by HPC applications is the use of GPUs and/or other accelerators. Such accelerators have their own memory, which is usually quite limited, and are connected to the main memory through a bus with bounded bandwidth. Thus, particular care should be devoted to data locality in order to avoid unnecessary data movements. Task -based runtime schedulers have emerged as a convenient and efficient way to use such heterogeneous platforms. When processing an application, the scheduler has the knowledge of all tasks available for processing on a GPU, as well as their input data dependencies. Hence, it is possible to produce a tasks processing order aiming at reducing the total processing time through three objectives: minimizing data transfers, overlapping transfers and computation and optimizing the eviction of previously-loaded data. In this paper, we focus on how to schedule tasks that share some of their input data (but are otherwise independent) on a single GPU. We provide a formal model of the problem, exhibit an optimal eviction strategy, and show that ordering tasks to minimize data movement is NP-complete. We review and adapt existing ordering strategies to this problem, and propose a new one based on task aggregation. We prove that the underlying problem of this new strategy is NP-complete, and prove the reasonable complexity of our proposed heuristic. These strategies have been implemented in the STARPU runtime system. We present their performance on tasks from tiled 2D, 3D matrix products, Cholesky factorization, randomized task order, randomized data pairs from the 2D matrix product as well as a sparse matrix product. We introduce a visual way to understand these performance and lower bounds on the number of data loads for the 2D and 3D matrix products. Our experiments demonstrate that using our new strategy together with the optimal eviction policy reduces the amount of data movement as well as the total processing time.(c) 2023 Elsevier B.V. All rights reserved.
Keyword:
Memory-aware scheduling
Eviction policy
Tasks sharing data
GPUs
Runtime systems
Memory constraint
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

F
Future Generation Computer Systems-The International Journal of eScience
IF:
6.1
论文数:
6.8K
被引数:
2.3W

机构

U
universite de bordeaux
学者数:
2.7W
论文数: 1.9W
被引数: 37
C
centre national de la recherche scientifique (cnrs)
学者数:
24.5W
论文数: 18.2W
被引数: 279
E
ecole normale superieure de lyon (ens de lyon)
学者数:
5.1K
论文数: 3.6K
被引数: 6
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
Training Perceptual Skill by Orienting Visual Attention
err2006-06-01
err0
errOAAI
errNorbert Hagemann; Bernd Strauss; Rouwen Cañal-Bruland
err分享
err收藏
err分享
err收藏
学者 查看更多内容