Tail-Latency-Aware Execution Configuration for Edge AI under Resource Contention

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.

Authors

Institutions

Publication Details

Journal
Transactions on Computer Science and Intelligent Systems Research
Published
2026-11-23
DOI
https://doi.org/10.62051/aaecme29
Primary Topic
IoT and Edge/Fog Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Tail-Latency-Aware Execution Configuration for Edge AI under Resource Contention

Fengyuan Zhang, Jianbo Ding
Transactions on Computer Science and Intelligent Systems Research
IoT and Edge/Fog Computing
article

Tail-Latency-Aware Execution Configuration for Edge AI under Resource Contention

Fengyuan Zhang, Jianbo Ding
article en

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.

Transactions on Computer Science and Intelligent Systems ResearchVol. 14
New York University (US)
IoT and Edge/Fog Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon