Why Old GPU Contexts Fit Sharing Poorly and What Replaces Them
Why NVIDIA's post says traditional CUDA contexts were not designed for sharing a GPU and what it says green contexts do instead.
For: Learners curious about how GPUs are shared.
What goes wrong when components share
Components can interfere unpredictably, and existing tools offer limited ability to partition resources.[1]
Green contexts address this by letting applications explicitly select a subset of GPU execution resources and target work to those resources directly.[1]
Why traditional contexts fit poorly
Traditional CUDA contexts weren’t designed for this usage model.[1]
They are heavyweight, incur hardware context-switch overhead, and reflect assumptions from an earlier era, when GPUs were smaller and applications typically ran as a single dominant workload.[1]
What green contexts cost to create
Green contexts are lightweight to create and destroy, and creating or destroying one doesn’t implicitly synchronize unrelated GPU work.[1]
Sources
- Control How Your GPU Shares Work with Green Contexts (developer.nvidia.com · checked )
More articles
- LearningWhat a Request and a Limit Mean on a Shared GPUWhy NVIDIA's post says GPUs are shared, what a request and a limit declare for a workload and what isolation each workload gets.
- LearningWhy One Degraded Component Slows a Whole Training JobWhat NVIDIA's post says about why synchronous training runs at the pace of its slowest rank and the subtle faults that never cross a fixed threshold.
- LearningWhy Finding a Training Slowdown Means Checking So Many DashboardsWhy NVIDIA's post says finding the cause of a training slowdown means checking many layers, and what it says a team of agents does through one interface.