CRIUgpu: GPU加速工作负载的透明检查点设置
CRIUgpu: Transparent Checkpointing of GPU-Accelerated Workloads
AI总结:
针对现有GPU检查点技术开销高、适配难的问题,本文提出基于新驱动功能的CRIUgpu方法,支持CUDA和ROCm应用,消除稳态开销并缩短恢复时间。
摘要:
大规模深度学习训练资源消耗大、耗时长,通常需要在数百或数千个GPU上运行数周或数月。高效的检查点设置对运行这类工作负载至关重要,尤其是在计算资源共享、作业抢占或中断频发的多租户环境中。然而,由于CPU与GPU在硬件架构(包括内存子系统、动态并行性和线程同步)上的差异,实现透明、统一的GPU快照极具挑战性。\n当前最先进的GPU检查点技术通常采用拦截、记录并重放设备API调用的机制。但这种方法会带来性能开销,且需要针对特定硬件的实现,难以测试、维护,也难以与现有容器平台集成。\n本文提出CRIUgpu——一种用于GPU加速工作负载透明检查点设置的新方法,它基于最新推出的驱动程序功能,支持CUDA和ROCm应用程序。我们的评估结果表明,CRIUgpu可适配多种在多GPU上运行的深度学习和高性能计算工作负载,完全消除了稳态性能开销,且与当前最先进的透明GPU检查点机制相比,大幅缩短了恢复时间。
英文摘要:
Deep learning training at scale is resource-intensive and time-consuming, often running across hundreds or thousands of GPUs for weeks or months. Efficient checkpointing is crucial for running these workloads, especially in multi-tenant environments where compute resources are shared, and job preemptions or interruptions are common. However, transparent and unified GPU snapshots are particularly challenging because of the hardware architecture differences between CPU and GPU, including memory subsystems, dynamic parallelism, and thread synchronization. State-of-the-art GPU checkpointing techniques typically leverage mechanisms that intercept, log, and replay device API calls. However, this approach adds performance overhead and requires hardware-specific implementation that is difficult to test, maintain, and integrate with existing container platforms. In this paper, we present CRIUgpu - a novel approach for transparent checkpointing of GPU-accelerated workloads that builds on recently introduced driver capabilities, enabling support for CUDA and ROCm applications. Our evaluation results show that CRIUgpu works with a variety of deep learning and high-performance computing workloads running across multiple GPUs, completely eliminating steady-state performance overheads, and significantly reducing recovery times compared to state-of-the-art transparent GPU checkpointing mechanisms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。