arXiv:2508.19073cs.DCcs.LG2025-08

CARMA让多个深度学习任务共用GPU,提升资源利用率同时避免崩溃和性能下降。

CARMA: Collocation-Aware Resource Manager

  • 基于细粒度监控和风险分析,筛选出适合共用的GPU。
  • 通过限制利用率和预估内存需求,减少内存溢出和性能干扰。
  • 适合大规模服务器部署,能显著降低任务耗时和能耗。

运行深度学习(DL)任务的GPU经常利用率不足。将多个DL训练任务共用同一块GPU可提升利用率,但会带来两大风险:(1)新调度任务因内存不足(OOM)崩溃;(2)并发任务间严重性能干扰,抵消吞吐量提升。这降低了系统鲁棒性、服务质量与能效。本文提出CARMA,一种面向服务器规模的任务级共用感知资源管理器。CARMA通过四方面解决共用问题:(1)细粒度监控与书面对账,结合共用风险分析过滤高风险GPU;(2)任务调度策略限制GPU利用率以减少OOM与干扰;(3)集成深度学习任务的GPU内存需求估计器,降低共用时的OOM概率;(4)轻量级恢复机制,重启动因OOM崩溃的任务。在真实世界工作负载数据上评估显示,采用最优共用策略的CARMA使GPU流多处理器(SM)利用率提升54%,每SM并行度提升61%,内存使用率提升62%。最终使任务总执行时间(makespan)减少约35%,GPU能耗降低约15%。

原文摘要 · Abstract (English)

GPUs running deep learning (DL) workloads are frequently underutilized. Collocating multiple DL training tasks on the same GPU can improve utilization but introduces two key risks: (1) out-of-memory (OOM) crashes for newly scheduled tasks, and (2) severe performance interference among co-running tasks, which can negate any throughput gains. These issues reduce system robustness, quality of service, and energy efficiency. We present CARMA, a task-level, collocation-aware resource manager for the server-scale. CARMA addresses collocation challenges via (1) fine-grained monitoring and bookkeeping of GPUs and a collocation risk analysis that filters out the high-risk GPUs; (2) task placement policies that cap GPU utilization to limit OOMs and interference; (3) integration of GPU memory need estimators for DL tasks to minimize OOMs during collocation; and (4) a lightweight recovery method that relaunches jobs crashed due to OOMs. Our evaluation on a DL training workload derived from real-world traces shows that CARMA uses GPUs more efficiently by making more informed collocation decisions: for the best-performing collocation policy, CARMA increases GPU streaming multiprocessor (SM) utilization by 54%, the parallelism achieved per SM by 61%, and memory use by 62%. This results in a ~35% and ~15% reduction in the end-to-end execution time (makespan) and GPU energy consumption, respectively, for this workload.

资源管理GPU优化深度学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。