TECHNOLOGY

MPS and MIG: measured concurrency and fault-isolation limits

In this article
THE QUICK TAKE

MPS can improve aggregate throughput while still sharing scheduling limits and fatal-fault consequences; a compute percentage alone does not assign exclusive cores.

Several applications can share an NVIDIA GPU through Multi-Process Service (MPS), executing CUDA kernels concurrently, or through Multi-Instance GPU (MIG), which creates hardware partitions. In 2025, Joshua Bakita and James Anderson at the University of North Carolina showed why these choices are not interchangeable: MPS clients contend for a shared concurrent-kernel limit as well as compute units and memory. A failure in one client can also affect others. Their results appeared at ECRTS 2025.

The distinction matters when several tasks share an accelerator and the operator needs both higher utilization and controlled latency. In batch processing, slower individual tasks may be acceptable if aggregate throughput rises. In real-time systems or services with strict latency requirements, the same contention can cause missed deadlines.

What MPS clients actually share

A CUDA kernel is a program executed on a GPU by many threads. Threads form blocks, which execute on streaming multiprocessors, or SMs. Commands can enter different CUDA streams; independent streams allow concurrent execution when sufficient hardware resources remain.

MPS uses a server and client processes. According to NVIDIA’s description, the server provides a shared GPU connection and owns scheduling resources. In the implementation investigated by the authors, clients retain separate virtual address spaces, while their commands pass through shared server scheduling resources. Address isolation therefore does not imply independent performance or fault containment. Source: ECRTS 2025.

Bakita and Anderson launched hundreds of kernels and found that the number one client could execute concurrently decreased when other clients occupied part of the shared limit. They observed this on Hopper and Ada devices too. Their work does not establish a universal numerical limit for every GPU: equipment and configuration matter, and the observation concerns the tested conditions. This is a limit on concurrently executing kernels, rather than the number of threads inside a kernel. Source: section 4.4.

A second boundary concerns failures. The authors tested out-of-bounds memory access and found that the resulting fatal GPU fault could crash other MPS clients, including on the tested Hopper and Ada devices. This does not mean a client can freely read its neighbor’s memory: separate address spaces and containment of a hardware fault are different properties. The paper also refers to NVIDIA’s warning about fatal faults propagating between clients.

There is a less obvious source of delays. In the tested configuration, an MPS client received two hardware command channels by default, compared with eight for a process outside MPS. On a Titan V, the authors launched eight small kernels in four streams and observed blocked launches caused by channel exhaustion. Channel counts can be configured, but changing them does not automatically remove shared limits or other contention. Source: ECRTS 2025.

A compute percentage and a hardware partition

In the MPS mechanism studied, CUDA_MPS_ACTIVE_THREAD_PERCENTAGE limits a client’s available compute resources without assigning specific SMs or TPCs, groups of compute units. Two clients limited to 50% each can receive overlapping TPC sets. In an experiment involving three tasks and changing demand after one completed, the authors observed the remaining two continuing to share some TPCs while others sat idle. This was a particular scenario, rather than a promise that every pair of clients with those limits will encounter the problem. In the tested implementation, the limit was established when the context was created and could not change for an existing context. Source: section 4.4.5.

MIG on supported GPUs allocates hardware resources more strictly. For example, the NVIDIA guide describes the 40 GB A100 as eight memory slices of 5 GB and seven compute slices; the 1g.5gb profile combines one slice of each type. A GPU instance receives dedicated memory and compute resources, improving predictability. One important detail remains: multiple compute instances inside a GPU instance continue sharing that instance’s memory and some engines. Isolation must therefore be defined at the appropriate level.

That isolation involves a limited selection of profiles. In a comparison using an A100 40 GB with CUDA 12.4, driver 550.78 and Linux 5.4, the researchers used an approximately 57/43 split because MIG could not provide an equal 50/50 division. On this GPU with 54 TPCs, they counted five available MIG partition sizes and 54 MPS sizes at TPC granularity. They also measured a maximum of 49 out of 54 TPCs accessible through available MIG configurations. That is an observation about the tested model and profiles, rather than a universal loss percentage for every GPU. Source: section 6.

The authors proposed nvtaskset, which uses MPS for concurrent execution but assigns specific TPCs and can change assignments for subsequent kernel launches. It retains MPS limitations, including the shared concurrent-kernel limit and fatal-fault propagation. Their evaluation covers CUDA tasks on a single GPU; it is not an independent replication and does not establish the behavior of every driver version. Source: sections 5–6.

When sharing pays off

MPS limitations do not make concurrent execution useless. In a separate SC-W 2024 study, researchers from the University of North Texas and Hewlett Packard Labs profiled scientific HPC workloads on an NVIDIA A100X and selected combinations to run together. The abstract reports throughput improvements up to 2 times and energy-efficiency improvements up to 1.6 times compared with sequential execution. Benefits depended on the workload combination: the evaluated combinations include throughput changes from 0% to 147% and energy-efficiency changes from a 2% reduction to a 109% increase. Different metrics and combinations should not be treated as a single experimental result. These measurements concern HPC, rather than LLM serving.

A practical choice starts with measuring the actual workloads: individual request durations and tail latency, SM utilization, memory consumption and throughput during concurrent operation. MPS is useful when applications leave spare resources and contention is acceptable; separate MIG GPU instances help when isolation and predictability carry more weight. Specific versions still need checking. Current NVIDIA documentation describes nonuniform limits across contexts and static SM partitioning on Ampere and newer GPUs. These are additional modes, and the ECRTS percentage-limit results cannot automatically be transferred to them. According to the documentation, static partitioning disables dynamic resource provisioning.

The general differences appear in MIG and GPU time slicing. The Linux MPS control guide helps when inspecting a server: its presence alone does not establish the selected isolation boundary.

Sources

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.

Explore GPU hosting
← All articles