PAL: A Variability-Aware Policy for Scheduling ML Workloads in GPU Clusters

AI Systems and Hardware DPS ADCEEM
2024年08月21日
大规模计算系统越来越多地使用加速器(如GPU)来实现peta和exa级别的计算,以满足机器学习(ML)和科学计算应用的需求。鉴于ML的广泛和不断增长的使用,包括在一些科学应用中,为ML工作负载优化这些集群尤为重要。然而,最近的研究表明,这些集群中的加速器可能会遭受性能变化的影响,这种变化可能会导致资源未充分利用和负载不平衡。在这项工作中,我们重点研究了如何使集群调度器(用于在许多并发的ML作业之间共享加速器丰富的集群)接受性能变化以减轻其影响。我们解决这一挑战的关键洞察是表征哪些应用程序更可能遭受性能变化,并在将作业放置在集群上时考虑这一点。我们设计了一种新颖的集群调度器PAL,它使用性能变化测量和应用程序特定的配置文件来提高作业性能和资源利用率。PAL还将性能变化与局部性平衡,以确保作业尽可能分布在尽可能少的节点上。总的来说,PAL显著改善了GPU丰富的集群调度:跨越图像、语言和视觉模型等六个ML工作负载应用程序的跟踪,PAL将作业完成时间的几何平均值提高了42%,集群利用率提高了28%,并且makespan比现有最先进的调度器提高了47%。
Large-scale computing systems are increasingly using accelerators such as GPUs to enable peta- and exa-scale levels of compute to meet the needs of Machine Learning (ML) and scientific computing applications. Given the widespread and growing use of ML, including in some scientific applications, optimizing these clusters for ML workloads is particularly important. However, recent work has demonstrated that accelerators in these clusters can suffer from performance variability and this variability can lead to resource under-utilization and load imbalance. In this work we focus on how clusters schedulers, which are used to share accelerator-rich clusters across many concurrent ML jobs, can embrace performance variability to mitigate its effects. Our key insight to address this challenge is to characterize which applications are more likely to suffer from performance variability and take that into account while placing jobs on the cluster. We design a novel cluster scheduler, PAL, which uses performance variability measurements and application-specific profiles to improve job performance and resource utilization. PAL also balances performance variability with locality to ensure jobs are spread across as few nodes as possible. Overall, PAL significantly improves GPU-rich cluster scheduling: across traces for six ML workload applications spanning image, language, and vision models with a variety of variability profiles, PAL improves geomean job completion time by 42%, cluster utilization by 28%, and makespan by 47% over existing state-of-the-art schedulers.
许愿