Introduction
Edge computing is increasingly vital for latency-sensitive applications such as mobile Augmented Reality (AR) and IoT analytics. To support the intensive Deep Neural Network (DNN) inference required by these tasks, edge servers utilize specialized accelerators like NVIDIA Jetson GPUs or Google EdgeTPUs. However, these edge-grade accelerators often lack the hardware virtualization and isolation features found in cloud-grade hardware.
When multiple applications share a single accelerator, they interfere with one another in non-linear ways. Traditional cluster management often treats resources as a "knapsack" problem—allocating fixed memory or compute slices. Yet, latency is non-additive; adding a single application can cause response times for all tenants to spike, violating Service Level Objectives (SLOs). This paper introduces Ibis, a resource management system that uses analytic queueing models to predict performance and host up to 2.3X more applications while strictly maintaining latency guarantees.
The Ibis Methodology: Model-Driven Management
The core innovation of Ibis is the use of Queueing Theory to create mathematical "digital twins" of hardware behavior. Rather than relying on simple heuristics, Ibis models the request path as a tandem network of queues, moving from the isolated CPU to the shared accelerator.
Modeling Diverse Hardware
Ibis accounts for the specific operational characteristics of different accelerators:
- TPU Modeling: EdgeTPUs typically process tasks one-by-one (First-Come-First-Served). Ibis employs an $M/G/1/FCFS$ model that specifically incorporates context-switching overhead—the 10–17ms required to swap a DNN model from host RAM into the TPU's limited on-chip memory.
- GPU Modeling: Edge GPUs utilize time-sharing. Ibis uses a hybrid model where requests from the same application follow FCFS, while requests from different applications behave like Processor Sharing (PS).
- Placement and Policing: The Ibis placement algorithm uses these equations to predict if a new application will cause any existing tenant to miss its deadline. To prevent "noisy neighbor" effects, Ibis implements token buckets for rate-limiting.
Addressing Hardware Heterogeneity
Edge environments are characterized by diverse hardware architectures. Ibis is designed to manage workloads across various platforms, including the Google EdgeTPU, NVIDIA Jetson Nano, and discrete GPUs like the GTX 1080.
A key insight from the researchers is that hardware heterogeneity matters significantly for performance. For instance, while small DNN models may run faster on a TPU, larger models often perform better on a GPU because the GPU's larger onboard RAM avoids the "memory tax" of constant model swapping. Ibis exploits this by dynamically selecting the optimal accelerator type for each specific model.
Evaluation and Results
The researchers evaluated Ibis using two dozen popular DNN models (e.g., ResNet, Yolo, MobileNet) and realistic traffic patterns derived from public Azure VM traces.
Key Findings:
- Capacity Boost: Ibis successfully hosted 2.3X more DNN applications than traditional knapsack-based algorithms without any latency violations.
- Prediction Accuracy: The analytic models demonstrated high fidelity to real-world experimental data across various utilization levels.
- AIaaS Efficiency: By grouping applications that share the same DNN model (AI-as-a-Service), Ibis doubled node capacity by amortizing the memory footprint of the runtime environment.
- Dynamic Resilience: The system effectively identified workload "hotspots" and migrated applications to quieter nodes to maintain SLOs.
Conclusion
Ibis demonstrates that a model-driven approach to resource management is essential for maximizing the utility of shared edge accelerators. By moving beyond simple resource counting to sophisticated queueing models, Ibis enables dense multi-tenancy in edge clouds while providing the strict latency guarantees required by modern AI applications.
Summary updated