Introduction: The GPU Utilization Gap
Modern GPUs are designed for massive parallel workloads, yet they often remain significantly underutilized during real-time AI inference. While training involves large data batches that saturate GPU resources, online inference queries—such as those for voice assistants or translation apps—typically arrive individually. To meet strict Service Level Objectives (SLOs), often requiring response times under 100ms, providers cannot afford to wait for large batches to accumulate.
This creates a "utilization gap" where GPUs may operate at only 15% capacity to maintain low latency. As shown in Figure 3, increasing throughput (via larger batch sizes) rapidly leads to a "latency wall" where tail latency exceeds the 100ms SLO, even when utilizing less than 30% of the peak floating-point throughput.
Dynamic Space-Time Scheduling
To bridge this gap, this paper introduces Dynamic Space-Time Scheduling. This technique moves beyond hardware-level resource sharing to a software-driven inter-model batching approach.
The "Super-Kernel" Approach
Instead of relying on the GPU's internal hardware scheduler to manage multiple independent kernels, the proposed system merges these kernels into a single "super-kernel." For instance, if multiple users request inference from the same architecture (e.g., ResNet-50), the scheduler batches these requests into a single matrix multiplication (SGEMM) call. This maximizes hardware utilization while maintaining the execution flow of a single large task.
Real-Time Adaptability
Because query arrivals are stochastic, the scheduler monitors latency in real-time. To ensure SLO compliance, the system can dynamically evict "straggler" models that might otherwise delay the entire batch, providing a level of isolation and predictability that standard spatial multiplexing lacks.
Performance Insights and Scaling
The authors' evaluation reveals critical limitations in existing multiplexing strategies. Standard spatial multiplexing, such as NVIDIA’s Multi-Process Service (MPS), often hits a "memory wall" due to high overhead, failing to scale beyond a small number of concurrent models.
In contrast, the proposed scheduling and batching strategies demonstrate superior scaling. As illustrated in Figure 6, while time-multiplexing and standard spatial multiplexing (MPS) show a sharp linear increase in mean latency as the number of replicas grows, the batching-oriented approach maintains near-constant, low latency. This allows for significantly higher density of model deployment on a single GPU.
Key Results
The dynamic space-time scheduler achieves substantial performance gains over industry-standard methods:
- Throughput Boost: A 7.73x increase in floating-point throughput compared to time-only multiplexing and a 3.23x increase compared to MPS for convolutional workloads.
- Predictability: By centralizing control in software, the system avoids the unpredictable "straggler" effects common in hardware-level spatial sharing.
- Efficiency: For square matrix-matrix multiplications, the system reached up to a 4.93x speedup, effectively saturating the GPU's compute capabilities without violating latency constraints.
Conclusion and Future Directions
Dynamic Space-Time Scheduling offers a path toward high-efficiency, low-latency AI serving. While the current prototype excels with homogeneous model architectures, future work aims to address heterogeneous batching (e.g., mixing CNNs and Transformers) and further optimize kernel caching for unpredictable workloads. By treating multiple models as a single batched workload, this approach effectively closes the utilization gap in modern data centers.
Summary updated