arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.08754cs.DCcs.ARcs.LG
收藏

现代GPU上的分层资源划分:一种强化学习方法

Hierarchical Resource Partitioning on Modern GPUs: A Reinforcement Learning Approach

Technical University of Munich(慕尼黑工业大学)

Urvij Saroliya, Eishi Arima, Dai Liu, Martin Schulz

AI总结:

针对现代GPU单程序资源利用率低的问题,提出基于强化学习的分层资源划分与作业协同调度组协同优化方法,结合NVIDIA GPU的MPS与MIG特性,相比分时调度最高提升1.87倍吞吐量。

摘要:

基于GPU的异构架构目前已广泛应用于高性能计算(HPC)集群中。由于GPU专为数据级并行设计的架构简洁性,其计算吞吐量与内存带宽远高于同代CPU。然而,过去几十年间GPU可用资源呈指数级增长,单个程序已越来越难以充分利用这些资源。因此,业界开始支持多种资源划分特性,通过在同一GPU芯片上同时协同调度多个程序来提升资源利用率。受这一技术趋势驱动,本文聚焦现代GPU的分层资源划分问题,并以近期NVIDIA GPU上的两种不同特性的分层组合为例:细粒度逻辑划分特性MPS(多进程服务),以及粗粒度物理划分特性MIG(多实例GPU)。本文提出一种方法,基于强化学习并利用作业的画像信息,对分层划分的配置与给定作业集中协同调度组的选择进行全面协同优化。详尽的实验结果表明,该方法能够同时完成作业并发设置、资源划分与协同调度组选择,与分时调度相比,最高可将吞吐量提升1.87倍。

英文摘要:

GPU-based heterogeneous architectures are now commonly used in HPC clusters. Due to their architectural simplicity specialized for data-level parallelism, GPUs can offer much higher computational throughput and memory bandwidth than CPUs in the same generation do. However, as the available resources in GPUs have increased exponentially over the past decades, it has become increasingly difficult for a single program to fully utilize them. As a consequence, the industry has started supporting several resource partitioning features in order to improve the resource utilization by co-scheduling multiple programs on the same GPU die at the same time. Driven by the technological trend, this paper focuses on hierarchical resource partitioning on modern GPUs, and as an example, we utilize a combination of two different features available on recent NVIDIA GPUs in a hierarchical manner: MPS (Multi-Process Service), a finer-grained logical partitioning; and MIG (Multi-Instance GPU), a coarse-grained physical partitioning. We propose a method for comprehensively co-optimizing the setup of hierarchical partitioning and the selection of co-scheduling groups from a given set of jobs, based on reinforcement learning using their profiles. Our thorough experimental results demonstrate that our approach can successfully set up job concurrency, partitioning, and co-scheduling group selections simultaneously. This results in a maximum throughput improvement by a factor of 1.87 compared to the time-sharing scheduling.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑