CRUM:对CUDA统一内存的检查点重启支持
CRUM: Checkpoint-Restart Support for CUDA's Unified Memory
摘要:
统一虚拟内存(UVM)是最近在最新的NVIDIA GPU上推出的。通过软件和硬件支持,UVM在整个异构节点上提供一致的共享内存,并在适当时迁移数据。旧的CUDA编程风格类似于旧的大内存UNIX应用程序,用于直接加载和卸载内存段。较新的CUDA程序已经开始利用UVM,其原因与UNIX应用程序很久以前切换到假定存在虚拟内存的情况下的优越可编程性相同。因此,UVM的检查点将变得越来越重要,特别是随着NVIDIA CUDA继续获得更广泛的普及:最新列表中的前500台超级计算机中有87台是GPU加速的,目前每年有10台基于GPU的超级计算机。一个新的可扩展的检查点机制,CRUM(统一内存的检查点重启),演示了跨多个计算机节点的混合CUDA/MPI计算。CRUM支持快速、分叉的检查点,它主要与CUDA计算重叠,并将检查点映像存储在稳定存储中。使用CRUM的运行时开销平均为6%,分叉检查点的时间比传统的同步检查点少40倍。
英文摘要:
Unified Virtual Memory (UVM) was recently introduced on recent NVIDIA GPUs. Through software and hardware support, UVM provides a coherent shared memory across the entire heterogeneous node, migrating data as appropriate. The older CUDA programming style is akin to older large-memory UNIX applications which used to directly load and unload memory segments. Newer CUDA programs have started taking advantage of UVM for the same reasons of superior programmability that UNIX applications long ago switched to assuming the presence of virtual memory. Therefore, checkpointing of UVM will become increasingly important, especially as NVIDIA CUDA continues to gain wider popularity: 87 of the top 500 supercomputers in the latest listings are GPU-accelerated, with a current trend of ten additional GPU-based supercomputers each year. A new scalable checkpointing mechanism, CRUM (Checkpoint-Restart for Unified Memory), is demonstrated for hybrid CUDA/MPI computations across multiple computer nodes. CRUM supports a fast, forked checkpointing, which mostly overlaps the CUDA computation with storage of the checkpoint image in stable storage. The runtime overhead of using CRUM is 6% on average, and the time for forked checkpointing is seen to be a factor of up to 40 times less than traditional, synchronous checkpointing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。