NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Efficient and Practical GPU Multitasking in the Era of LLM

Jiarong Xing, Yifan Qiao, Simon Mo, Xingqi Cui, Gur-Eyal Sela, Yang Zhou, Joseph Gonzalez, Ion StoicaarXiv 2025 · DOI

Introduction

As GPUs grow massively in power and AI workloads become more diverse, the traditional "one-task-per-GPU" model has become a significant bottleneck. Modern data center GPUs, such as the NVIDIA B200, offer 1000x the throughput of earlier models, yet they often remain idle, with hardware resource utilization frequently dropping as low as 10% in production inference environments. This paper proposes a dedicated GPU resource management layer—effectively an operating system for GPUs—to enable efficient multitasking through dynamic compute partitioning, virtualized memory sharing, and robust fault isolation.

The Challenge of GPU Underutilization

Historically, GPUs operated under a singletasking paradigm where one application held exclusive access to the chip. While this was sufficient for smaller models, the current landscape of LLM inference involves fluctuating traffic and diverse model sizes that do not always saturate modern hardware.

Existing solutions like NVIDIA’s Multi-Instance GPU (MIG) and Multi-Process Service (MPS) fall short of providing a complete solution. MIG is too static, requiring hard reboots for repartitioning, while MPS lacks the fault isolation necessary for multi-tenant cloud environments. The authors argue for a system that can share both compute and memory dynamically without sacrificing performance or security.

Comparison of existing GPU multitasking solutions against the ideal requirements.

A Vision for a "GPU OS"

The authors envision a software layer between the hardware and applications focused on four architectural pillars:

  1. Compute Multiplexing: A hybrid approach combining temporal sharing (time-slicing) and spatial sharing (partitioning Streaming Multiprocessors, or SMs). Spatial sharing is achieved at the driver level using libsmctrl to mask hardware units without requiring application code changes.
  2. Memory Multiplexing: Moving away from static VRAM partitioning toward CUDA virtual memory APIs. This allows for on-demand physical memory mapping and "semantics-aware" sharing, where the driver works with the PyTorch allocator to reclaim memory aggressively.
  3. Resource Coordination: A model that distinguishes between "guaranteed" and "preemptible" resources. High-priority tasks receive a guaranteed slice, while background tasks elastically consume spare capacity.
  4. Fault Isolation: By tracking specific hardware components assigned to each kernel, the system can terminate failing processes without crashing the entire GPU context.

Key Insights: The Utility Curve

A central contribution of this work is the concept of the "Utility Curve." Not all GPU kernels benefit linearly from additional hardware resources. Many kernels reach a saturation point where providing 100% of the SMs offers negligible speedup over a 60% allocation.

Compute utility curves showing how different kernels saturate hardware resources at different rates.

By identifying these curves, a multitasking system can "steal" the underutilized 40% of resources from a saturated kernel and reallocate them to another task, maximizing aggregate throughput without impacting the performance of the primary task.

Results and Future Directions

The paper quantifies the inefficiency of current systems, demonstrating that a single LLaMA-3-8B model leaves substantial compute and memory idle on an A100. Through "utility-guided coordination," the authors show significant gains in aggregate performance. To foster community development, they have launched the "openvgpu" project on GitHub.

However, several challenges remain. Security isolation against side-channel attacks is still an open problem, and current hardware does not yet allow for fine-grained partitioning of memory bandwidth. Furthermore, moving from a single-server prototype to a data-center-scale solution requires deep integration with Kubernetes' evolving Dynamic Resource Allocation (DRA) standards.

Summary updated

BibTeX
@misc{xing2025towards,
  author = {Jiarong Xing and Yifan Qiao and Simon Mo and Xingqi Cui and Gur-Eyal Sela and Yang Zhou and Joseph Gonzalez and Ion Stoica},
  title = {{Towards Efficient and Practical GPU Multitasking in the Era of LLM}},
  year = {2025},
  eprint = {2508.08448},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.08448},
}
Figure