What a Request and a Limit Mean on a Shared GPU
Why NVIDIA's post says GPUs are shared, what a request and a limit declare for a workload and what isolation each workload gets.
For: Learners new to GPU scheduling.
Why share a GPU
Giving each one an entire device can leave capacity idle; sharing GPUs lets platform teams serve more workloads with the infrastructure they already have.[1]
Request and limit
A workload can declare a guaranteed minimum (the request) and a maximum it may burst into when memory is free.[1]
If it is omitted, the limit equals the request and the workload is capped at exactly what it asked for.[1]
An allocation above that size fails, just as it would on a smaller GPU.[1]
Isolation between workloads
Each workload runs in its own error domain, i.e. full error isolation.[1]
Time left unused by one workload is shared equally between the others.[1]
Sources
- Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4 (developer.nvidia.com · checked )
More articles
- LearningWhy Old GPU Contexts Fit Sharing Poorly and What Replaces ThemWhy NVIDIA's post says traditional CUDA contexts were not designed for sharing a GPU and what it says green contexts do instead.
- LearningNVKE and NVKR: What the Two NVIDIA Projects DoWhat NVIDIA's announcement says NVKE and NVKR do, that they can be used together or apart, and their license and release status.
- LearningWhat a Cold Start Is and What a Saved GPU Copy SkipsWhat NVIDIA's post says a cold start is, what its checkpoint captures and which startup steps a restore skips.