In this article
Test an eligible iGPU across actual suspend and resume, separating GPU availability, model readiness and performance on the same workload.
Linux 7.4-rc2 includes an AMD IOMMU PerfOpt change that clears hardware state during suspend and restores the bit on resume only for devices where it was active. The behavior matters for an inference workstation that sleeps between workloads. A test should observe the first real request after resume.
Which state gets restored
The upstream change tracks activation in software and restores hardware selectively. Its scope is the IOMMU performance option. A model server also depends on device enumeration, driver initialization and its own loaded weights. Those components have separate recovery behavior that the PerfOpt patch cannot establish on their behalf.
Use the sleep mode you operate
Linux documentation distinguishes system sleep and runtime power management. Choose the actual sleep state used by the workstation and record it. A display turning off can leave the system running, while hibernation follows a different lifecycle. Label each trial so a result can be reproduced on the same configuration.
Probe with an actual generation
Record the accelerator seen by the inference process before sleep and after wake. Submit the same short synthetic prompt using the same model, batch and context. Track errors, first-token time and device use. A health endpoint that returns before the model runs cannot prove the accelerator served the request.
Distinguish cold and degraded runs
If the first request is slow, compare the next warm request and the logs around resume. Model reloading, CPU fallback and device recovery have different signatures. A small timing difference is insufficient to identify a PerfOpt transition without additional evidence about the active kernel path.
Set a readiness criterion
A node should return to its workload only after the intended accelerator serves a request within the agreed limits. Repeat the cycle and record firmware, kernel and model runtime versions. The release candidate supplies a targeted change to test and leaves the workstation’s measured recovery to your own qualification.
Primary sources
- Linux 7.4-rc2 upstream tag
- Upstream PerfOpt state change
- Linux device power management
- Timestamped release coverage
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.