Title :
NVCR: A Transparent Checkpoint-Restart Library for NVIDIA CUDA
Author :
Nukada, Akira ; Takizawa, Hiroyuki ; Matsuoka, Satoshi
Author_Institution :
Global Sci. Inf. & Comput. Center, Tokyo Inst. of Technol., Tokyo, Japan
Abstract :
Today, CUDA is the de facto standard programming framework to exploit the computational power of graphics processing units (GPUs) to accelerate various kinds of applications. For efficient use of a large GPU-accelerated system, one important mechanism is checkpoint-restart that can be used not only to improve fault tolerance but also to optimize node/slot allocation by suspending a job on one node and migrating the job to another node. Although several checkpoint-restart implementations have been developed so far, they do not support CUDA applications or have some severe limitations for CUDA support. Hence, we present a checkpoint-restart library for CUDA that first deletes all CUDA resources before check pointing and then restores them right after check pointing. It is necessary to restore each memory chunk at the same memory address. To this end, we propose a novel technique that replays memory related API calls. The library supports both CUDA runtime API and CUDA driver API. Moreover, the library is transparent to applications, it is not necessary to recompile the applications for check pointing. This paper demonstrates that the proposed library can achieve checkpoint-restart of various applications at acceptable overheads, and the library also works for MPI applications such as HPL.
Keywords :
application program interfaces; checkpointing; computer graphic equipment; coprocessors; message passing; parallel architectures; CUDA driver API; CUDA runtime API; GPU-accelerated system; HPL; MPI; NVCR; NVIDIA CUDA; de facto standard programming framework; graphics processing units; memory chunk; memory related API calls; node allocation; slot allocation; transparent checkpoint-restart library; Arrays; Checkpointing; Context; Databases; Graphics processing unit; Instruction sets; Libraries;
Conference_Titel :
Parallel and Distributed Processing Workshops and Phd Forum (IPDPSW), 2011 IEEE International Symposium on
Conference_Location :
Shanghai
Print_ISBN :
978-1-61284-425-1
Electronic_ISBN :
1530-2075
DOI :
10.1109/IPDPS.2011.131