NVIDIA MPS vs MIG for Multi-Tenant GPU Partitioning: Memory Isolation, Hardware QoS, and Multi-Model Inference
As enterprise machine learning infrastructure matures, platform engineering teams encounter severe GPU underutilization across heterogeneous workloads. While training 70B+ parameter foundation models demands entire multi-node clusters of monolithic NVIDIA H100 or H200 accelerators, peripheral AI tasks—such as text embedding generation, classification, small-model inference (e.g., 7B or 8B models), and interactive developer Jupyter notebooks—rarely consume more than 15% to 25% of an 80GB accelerator's computational Streaming Multiprocessors (SMs) or High Bandwidth Memory (HBM). Dedicating an entire $30,000+ accelerator to a single lightweight service produces extreme capital inefficiency.

To partition physical GPUs among multiple concurrent workloads, infrastructure architects evaluate two core technologies from the NVIDIA software and hardware stack: Multi-Process Service (MPS) and Multi-Instance GPU (MIG). While both technologies enable fractional GPU sharing, they operate at fundamentally distinct layers of the computing stack. Choosing between MPS and MIG requires dissecting hardware silicon isolation versus software CUDA context multiplexing, memory fault domains, latency jitter under noisy neighbor conditions, and Kubernetes orchestration complexity.
Hardware Architecture Comparison: Spatial Silicon Partitioning vs CUDA Time-Slicing
The defining technical distinction between Multi-Instance GPU (MIG) and Multi-Process Service (MPS) is the boundary of resource virtualization: MIG executes true physical hardware partitioning at the silicon level, whereas MPS operates as a software-level client-server proxy multiplexing multiple host processes into a shared CUDA hardware context.
| Partitioning Dimension | NVIDIA Multi-Instance GPU (MIG) | NVIDIA Multi-Process Service (MPS) | OneSource Cloud Enterprise Partitioning |
|---|---|---|---|
| Isolation Mechanism | Physical silicon partitioning: dedicated SM slices, isolated memory crossbars, and dedicated L2 cache banks. | Software proxy: centralized control daemon multiplexing CUDA streams into a unified hardware context. | Turnkey hardware-isolated MIG instances or optimized MPS pools backed by bare-metal H100 clusters. |
| Fault Domain & Crash Safety | Absolute fault isolation; an Out-of-Memory (OOM) or CUDA kernel panic in one slice cannot crash other instances. | Shared fault domain; an uncaught CUDA exception or fatal hardware fault in one process can terminate the MPS server. | Hardened kernel namespaces with automated health remediation and zero cross-tenant fault propagation. |
| Memory Allocation & Oversubscription | Strict static partitioning (e.g., 1g.10gb, 2g.20gb, 3g.40gb, 7g.80gb); zero memory oversubscription. | Dynamic shared memory pool with optional hard memory percentage caps (CUDA_MPS_PINNED_DEVICE_MEM_LIMIT). |
Pre-configured partition profiles aligned with enterprise tenant SLAs and memory guarantees. |
| Quality of Service (QoS) & Jitter | Guaranteed deterministic latency; zero memory bandwidth or cache contention between instances. | Susceptible to memory bus contention; memory-intensive kernels can introduce latency spikes in co-located tasks. | Deterministic p99 tail latency guarantees for mission-critical production inference endpoints. |
| Supported Hardware Architectures | Supported exclusively on datacenter architectures: Hopper (H100/H200), Ampere (A100), and Blackwell (B200). | Broad support across all modern NVIDIA architectures, including datacenter and professional RTX GPUs. | Standardized on latest generation H100 SXM5 and H200 accelerators with native MIG silicon support. |
| Orchestration Overhead | Requires node reconfiguration or dynamic GPU Operator partitioning; fixed profile geometries. | Lightweight daemon; instances can be spawned and torn down dynamically without rebooting GPU state. | Native Kubernetes device plugin integration with automated workload bin-packing and SLA scheduling. |
Under MIG (available on NVIDIA A100, H100, and B200 accelerators), the GPU is partitioned into up to seven independent GPU Instances (GIs), each possessing its own dedicated compute Streaming Multiprocessors, memory controllers, and device DMA channels. To the host operating system and container runtime, each MIG slice appears as a physically distinct PCIe accelerator device with its own unique UUID. In contrast, MPS runs a background daemon process (nvidia-cuda-mps-control) that acts as a shared context mediator. Multiple independent client processes connect to the MPS control daemon via Unix domain sockets, submitting CUDA kernels into shared hardware queues without incurring the costly context-switching overhead of default Linux time-slicing.
Memory Isolation, Fault Domains, and Latency Jitter
Evaluating multi-tenant GPU infrastructure requires understanding how co-located workloads interact under resource contention and failure states. Platform engineering teams must weigh three critical technical trade-offs:
- Memory Protection and OOM Blast Radius: In a multi-tenant enterprise environment where different teams deploy code to shared accelerators, memory safety is paramount. Under MIG, memory is partitioned at the physical controller level: a
1g.10gbinstance has access to exactly 10GB of HBM. If a containerized worker attempts to allocate 10.1GB, the kernel immediately throws a localCUDA Out of Memoryerror confined strictly to that slice; other running slices experience zero interruption. Under MPS, while administrators can set process-level memory limits via theCUDA_MPS_PINNED_DEVICE_MEM_LIMITenvironment variable, a catastrophic memory corruption bug or illegal memory access in one process can invalidate the shared CUDA context, causing every co-located service on the accelerator to crash simultaneously. - Tail Latency Jitter and Noisy Neighbor Contention: For customer-facing production inference serving, p99 tail latency predictability is critical. Under MPS, although compute resources can be allocated via active thread percentages (
CUDA_MPS_ACTIVE_THREAD_PERCENTAGE), all client processes share the physical L2 cache, memory crossbar, and PCIe/NVLink bus. If Tenant A runs a memory-bandwidth-bound embedding aggregation while Tenant B serves a low-latency LLM decode loop, Tenant A's massive memory sweeps will thrash the shared L2 cache, inducing severe latency spikes in Tenant B. Under MIG, because cache banks and memory interfaces are physically dedicated to each slice, cross-instance interference is practically zero. - Resource Utilization and Memory Packing Efficiency: While MIG provides absolute security and latency isolation, its static geometry enforces rigid partition boundaries. For example, on an 80GB H100, MIG allows configurations such as 7x
1g.10gb, 3x2g.20gb, or 1x3g.40gb+ 2x2g.20gb. If a service requires 12GB of VRAM, an administrator must assign it a2g.20gbslice, stranding 8GB of expensive memory. MPS allows fine-grained, dynamic allocation: five separate processes consuming 12GB each can easily pack into a single 80GB GPU with shared memory pooling, maximizing overall silicon utilization.
Consider configuring MPS on a multi-tenant GPU node with strict memory caps and thread percentages:
# Start the NVIDIA MPS control daemon
export CUDA_VISIBLE_DEVICES=0
nvidia-smi -i 0 -c EXCLUSIVE_PROCESS
nvidia-cuda-mps-control -d
# Set per-tenant resource limits before executing workloads
# Tenant A: Limit to 40% compute threads and 24GB memory
export CUDA_MPS_ACTIVE_THREAD_PERCENTAGE=40
export CUDA_MPS_PINNED_DEVICE_MEM_LIMIT=0=24576M
python3 serve_embedding_model.py &
# Tenant B: Limit to 60% compute threads and 48GB memory
export CUDA_MPS_ACTIVE_THREAD_PERCENTAGE=60
export CUDA_MPS_PINNED_DEVICE_MEM_LIMIT=0=49152M
python3 serve_classifier_model.py &
Conversely, configuring hardware-isolated MIG slices utilizes nvidia-smi mig commands to carve physical silicon:
# Enable MIG mode on GPU 0
nvidia-smi -i 0 -mig 1
# Create one 3g.40gb instance and two 2g.20gb instances
nvidia-smi mig -cgi 9,14,14 -C
# Verify isolated physical instances with distinct UUIDs
nvidia-smi -L
Orchestration Decision Framework: Kubernetes Device Plugins, Fine-Tuning, and Inference Serving
Selecting the optimal partitioning strategy depends on organizational boundaries, trust models, and workload service-level agreements (SLAs). Enterprise AI infrastructure architects must evaluate the following three deployment patterns to guide their partitioning decisions:
- Deploy Hardware MIG Slices for Multi-Tenant Clusters, External APIs, and Untrusted User Code: If your AI platform hosts workloads from multiple independent business units, external client tenants, or interactive user notebooks executing arbitrary Python code, MIG is mandatory. Its physical silicon fault domains, dedicated hardware memory controllers, and guaranteed zero-jitter QoS eliminate the risk of cross-tenant data leaks, side-channel interference, or shared-daemon crashes. Integration is handled natively via the Kubernetes NVIDIA GPU Operator using declarative MIG profiles (e.g.,
nvidia.com/mig-2g.20gb: 1). - Deploy Software MPS Pools for Trusted, Homogeneous Microservices and Small-Model Ensembles: If you are serving a fleet of internally developed, highly trusted microservices—such as an ensemble of embedding models, rerankers, and whisper audio transcribers belonging to the same product team—MPS delivers superior packing density and dynamic memory utilization. By multiplexing small CUDA tasks onto shared accelerators, teams can achieve 85%+ compute utilization without the fragmentation penalties of static MIG slicing.
- Deploy Monolithic Dedicated Accelerators for Large-Scale Foundation Model Training and Serving: For foundation model pre-training, distributed pipeline parallelism, or multi-billion parameter LLM serving (e.g., 70B+ models requiring Tensor Parallelism across NVLink), partitioning should be completely disabled. Workloads that saturate memory bandwidth and inter-GPU interconnects achieve optimal throughput when executing directly on monolithic bare-metal accelerators.
OneSource Cloud provides enterprise infrastructure teams with dedicated, single-tenant bare-metal GPU clusters optimized for advanced workload orchestration. Whether deploying hardware-isolated MIG slices for secure multi-tenant platform isolation or high-density MPS configurations for trusted inference ensembles, OneSource Cloud delivers predictable compute performance, zero cloud virtualization overhead, and dedicated engineering support.
Frequently Asked Questions
Can Multi-Instance GPU (MIG) slices be dynamically resized without restarting running containers?
No, MIG instance geometry cannot be dynamically modified without destroying the active GPU Instance (GI) and Compute Instance (CI). When an administrator creates or deletes a MIG slice via nvidia-smi mig or the Kubernetes NVIDIA GPU Operator, any containerized process attached to that specific slice must be terminated and re-scheduled. However, other running MIG slices on the same physical accelerator that are not being modified continue operating without interruption.
How does OneSource Cloud support multi-tenant GPU partitioning for enterprise AI platforms?
OneSource Cloud supports enterprise multi-tenant GPU partitioning by providing single-tenant bare-metal NVIDIA H100 and H200 server infrastructure pre-integrated with the NVIDIA GPU Operator and Kubernetes device plugins. This architecture allows enterprise platform teams to dynamically deploy hardened MIG profiles for multi-team physical isolation, or configure dedicated high-density MPS server pools with hardware telemetry monitoring, ensuring optimal cluster utilization and zero noisy-neighbor interference.