Tail-Latency-Aware Execution Configuration for Edge AI under Resource Contention
Year: 2026
Type: article
Abstract: Edge AI services are increasingly deployed in single-vCPU execution slots—containers and microVMs that share one virtual core with data-collection, compression, and telemetry processes. In this setting, the latency measured on an idle device says little about the latency under contention: co-located programs and request bursts produce occasional long delays that dominate the p95/p99 tail. This paper studies how the execution configuration of an inference runtime—the intra-op thread count, the concurrency cap, and the thread-wait policy—should be selected online to keep response times stable while model weights, precision, and input size remain fixed. A measurement study on ONNX Runtime with MobileNetV2 and ResNet-18 shows that no static configuration is adequate: spin-waiting reduces throughput by 1.6–3.7×, fair-share scheduling cuts the capacity of the framework default to one half or one third under co-runners, and the concurrency that restores capacity under contention inflates the quiet-state service time about fourfold. We present TASC, a tail-aware selector of execution configurations that profiles a Pareto-pruned candidate set offline, estimates the external runnable load from per-thread scheduler statistics with explicit compensation for the service’s own threads, predicts the p99 response time of every candidate from backlog, burstiness, and profiled service-time distributions, and switches under a switching-cost-aware asymmetric hysteresis. In open-loop experiments driven by production Azure arrival traces, real ImageNet payloads, and real co-located programs, TASC is the most robust of four policies across eight model–scenario combinations: its p99 latency stays within 1.15× of the per-combination best (best static configuration: 1.44×, threshold rule: 1.52×, framework default: 7.33×), it lowers the p99 latency by up to 6.4× relative to the default, and its controller consumes about 0.25% of the CPU.
DOI: 10.62051/aaecme29
Authors: Fengyuan Zhang, Jianbo Ding
Institution: New York University
Language: English
Topic: IoT and Edge/Fog Computing
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W7238753037
