﻿# Separate driver persistence from running inference workers

Name the driver-state lifetime retained by persistence and measure application initialization separately from it.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-linux-cuda-persistence/
Language: en

A worker exits, yet the GPU remains initialized because the persistence daemon still holds its driver client. That does not mean the model weights or execution state survived. NVIDIA persistence concerns particular driver-state lifetimes. Separate this infrastructure mechanism from a long-lived inference process or an engine's own model-retention feature.

## Identify which lifetime matters

NVIDIA distinguishes GPU initialization, kernel-driver and board-related state lifetimes. Record the specific setting or state being investigated instead of saying everything persists. Some observations reset when the GPU deinitializes, while others have different boundaries. A familiar persistence label cannot establish that an application's tensors, request cache or prepared execution objects remain available after its process ends.

## Understand the daemon's role

The persistence daemon maintains a client connection so the driver need not repeatedly initialize and deinitialize the GPU solely because ordinary clients come and go. Record daemon state and the device it manages. This is not an inference server, and it cannot recreate a failed model worker's application state or answer a request on that worker's behalf.

## Distinguish legacy mode

The documented legacy persistence mode and the daemon have different implementation and management paths. Preserve the actual enabled mechanism rather than assuming one management flag describes every host. Avoid combining their observations into an undocumented hybrid explanation. A running daemon also needs its intended configuration and permissions; its process existence alone does not prove the relevant device is being kept initialized.

## Measure the right startup stage

If comparing process startup, distinguish driver initialization from artifact reads, tensor conversion and model loading. Persistence can change an infrastructure component of that path without retaining weights in the terminated application. Observe the stages independently. A faster second launch can also reflect host caches or engine-specific caches, so it cannot be assigned entirely to driver persistence by assumption.

## Verify a bounded client lifecycle

In an isolated compatible setup, compare ordinary client arrival and exit with the intended persistence mechanism, recording driver state and a separate fresh application initialization. Acceptance explains the selected driver lifetime. It does not establish model residency, uninterrupted inference after process failure, universal startup savings or durability of all GPU settings across driver reload, reset and reboot.

## Primary references

[NVIDIA Driver Data Lifetimes](https://docs.nvidia.com/deploy/driver-persistence/data-persistence.html).

[NVIDIA Persistence Daemon](https://docs.nvidia.com/deploy/driver-persistence/persistence-daemon.html).

[NVIDIA System Management Interface](https://docs.nvidia.com/deploy/nvidia-smi/index.html).

Related reading: [OS page cache and cold model loading: what to record](/journal/model-load-os-page-cache/); [GPU autoscaling: a free card is not a ready replica](/journal/autoscaling-gpu-cold-start/).
