Abstract
GPUs are essential to accelerating the latency-sensitive deep neural network (DNN) inference workloads in cloud datacenters. To fully utilize GPU resources, spatial sharing of GPUs among co-located DNN inference workloads becomes increasingly compelling. However, GPU sharing inevitably brings severe performance interference among co-located inference workloads. While existing works focus on temporal sharing or reactive scaling, how to proactively mitigate such interference has received little attention. We propose iGniter, an interference-aware GPU resource provisioning framework. iGniter uses a lightweight DNN inference performance model and a cost-efficient provisioning strategy to jointly optimize GPU resource allocation and adaptive batching. Extensive experiments show iGniter guarantees performance SLOs with low overhead while saving monetary costs by up to 25%.
Introduction
In cloud environments, deep neural network (DNN) inference tasks like image recognition and voice assistants are increasingly offloaded to GPUs. To maximize hardware utilization and reduce costs, cloud providers often employ spatial sharing, allowing multiple tasks to run concurrently on a single GPU using technologies like NVIDIA’s Multi-Process Service (MPS).
However, spatial sharing introduces significant performance interference. Co-located tasks compete for shared resources such as the GPU’s internal scheduler, L2 cache, and power budget. This interference can degrade performance by over 35%, leading to violations of Service Level Objectives (SLOs). Existing solutions are typically reactive or interference-oblivious, leading to either delayed corrections or inefficient over-provisioning. iGniter addresses this by being the first proactive framework to account for interference before workload placement.
The Performance Interference Problem
The core challenge in GPU sharing is the unpredictable latency increase caused by co-location. As the number of workloads sharing a GPU increases, the normalized inference latency grows significantly, directly impacting the ability to meet strict timing requirements.
As shown in the figure above, models like ResNet-50 can experience a 35% increase in latency when five workloads are co-located. iGniter identifies three primary "interference vectors" that drive this degradation: scheduling delay (kernels waiting for placement), L2 cache contention (cache thrashing between models), and power capping (clock throttling when combined power draw hits limits).
The iGniter Framework
iGniter consists of two main components designed to provide predictable performance at minimal cost:
1. Lightweight Performance Model
Unlike traditional profiling-heavy approaches that require thousands of runs, iGniter uses an analytical model requiring only 11 data points per DNN model. It captures the three interference vectors mentioned above to predict latency with high accuracy, achieving error rates as low as 1.5%.
2. Cost-Efficient Provisioning Strategy
This component jointly optimizes batch size and GPU resource allocation (percentage of GPU compute). It uses a greedy placement strategy to pack tasks onto the minimum number of GPUs required to meet SLOs. A "Shadow Process" mechanism provides a safety net, instantly taking over with extra resources if a primary process misses its SLO due to prediction errors.
Evaluation and Results
The framework was evaluated on Amazon EC2 using NVIDIA V100 and T4 instances across four representative DNN models: AlexNet, ResNet-50, VGG-19, and SSD.
Key findings include:
- High Accuracy: The performance model predicted latency with an error rate of only 1.53% to 5.02% for co-located workloads.
- SLO Compliance: In complex scenarios with 12 different workloads, iGniter maintained 100% SLO compliance, whereas baseline strategies failed for nearly all tasks.
- Cost Savings: iGniter reduced hourly monetary costs by up to 25% compared to other interference-aware strategies by packing workloads more densely.
- Low Overhead: Profiling a new model takes approximately 4 minutes, and the resource allocation math executes in milliseconds.
Conclusion
iGniter demonstrates that proactive interference modeling is a viable and highly effective approach for managing shared GPU resources in the cloud. By accurately predicting and mitigating the effects of scheduling delays, cache contention, and power limits, iGniter enables predictable DNN inference performance while significantly reducing operational costs. Future work will explore scaling to extremely large request rates and handling mixed inference and training workloads.
Summary updated