Peformance Isolation for Inference Processes in Edge GPU Systems
Juan José Martín, José Flich, Carles Hernández
TL;DR
This work systematically compares NVIDIA GPU isolation mechanisms—MPS, MIG, and Green Contexts (GC)—to achieve predictable inference timing for safety-critical deep learning tasks on both general-purpose A100 GPUs and edge devices (Jetson Orin Nano/AGX). It introduces maximum inference frequency search and IMS-based performance benchmarks to quantify temporal guarantees under contention, revealing MIG as the most robust isolation method, MPS as a practical but non-isolating option, and GC as a promising low-overhead alternative with limitations in memory isolation. Across platforms, compute-bound models tend to retain higher IMS under resource reductions, while memory-bound models are more sensitive to contention, underscoring platform- and model-dependent trade-offs. The results suggest a path toward more flexible, memory-aware, and dynamically managed GPU isolation to support reliable, real-time DL inference in embedded and safety-critical systems.
Abstract
This work analyzes the main isolation mechanisms available in modern NVIDIA GPUs: MPS, MIG, and the recent Green Contexts, to ensure predictable inference time in safety-critical applications using deep learning models. The experimental methodology includes performance tests, evaluation of partitioning impact, and analysis of temporal isolation between processes, considering both the NVIDIA A100 and Jetson Orin platforms. It is observed that MIG provides a high level of isolation. At the same time, Green Contexts represent a promising alternative for edge devices by enabling fine-grained SM allocation with low overhead, albeit without memory isolation. The study also identifies current limitations and outlines potential research directions to improve temporal predictability in shared GPUs.
