GPU Checkpointing

From CRIU
Revision as of 16:51, 29 October 2025 by Radostin (talk | contribs)
Jump to navigation Jump to search

This page explains how CRIU handles GPU-accelerated workloads, what vendor components are needed (NVIDIA & AMD), and how to use them for processes and containers.

CRIU checkpoints Linux-kernel resources (e.g., memory, threads, files, sockets). GPU state such as device memory, contexts, and queues that lives outside normal process address space needs special handling, so CRIU relies on vendor-specific plugins.

NVIDIA CUDA

The checkpointing functionality for CUDA is enabled through a command-line utility called cuda-checkpoint. This utility allows to transparently checkpoint and restore the GPU state of a running Linux process.

AMD ROCm