Squeezing Edge Performance: A Sensitivity-Aware Container Management for Heterogeneous Tasks

Yongmin Zhang, Pengyu Huang, Mingyi Dong, Jing YaoarXiv 2025 · DOI

Introduction

Edge computing brings computation closer to data sources like IoT sensors and autonomous vehicles to minimize latency. However, edge servers are inherently resource-constrained. A significant challenge in these environments is task heterogeneity: different applications have vastly different "appetites" for resources. For example, a memory-intensive object detection model might crash (Out-of-Memory) if its RAM is slightly reduced, while a compute-heavy classification model might only see a marginal slowdown.

The Challenge of Heterogeneity

Existing resource management often relies on static quotas or simple linear models that assume doubling resources doubles performance. These approaches fail to capture the complex, nonlinear relationship between CPU/memory allocation and actual processing delay. When multiple applications share one server, naive allocation leads to "resource mismatch," where latency-insensitive tasks hog resources while critical tasks starve, degrading the overall Quality of Service (QoS).

Average delay response to CPU and memory resource variations across different AI models.

As shown in the profiling data above, different models exhibit unique sensitivity curves. Identifying these "performance cliffs" is essential for efficient management.

The CRMS Framework

To address these issues, the authors propose the Container-based Resource Management Scheme (CRMS), a measurement-driven, two-stage framework.

1. Nonlinear Performance Modeling

Instead of assuming linearity, the authors conducted extensive profiling on real Docker containers. They derived a specific mathematical function that fits the latency response of various applications to CPU and memory adjustments with high accuracy (R-squared > 0.99). This model explicitly accounts for memory as a hard constraint; falling below a "minimum feasible" floor triggers Out-of-Memory (OOM) errors.

3D performance modeling and residual analysis for the nonlinear delay function.

2. Optimization and the "Squeeze" Strategy

The problem is formulated as a Mixed-Integer Nonlinear Programming (MINLP) challenge aimed at jointly minimizing processing delay and power consumption. The CRMS algorithm uses a two-stage approach:

  • Stage 1 (Ideal conditions): It calculates the "upper-bound" demand for each application as if resources were infinite.
  • Stage 2 (Greedy Refinement): Under real-world constraints, the algorithm uses a greedy approach to "squeeze" resources away from applications with low elasticity (those less sensitive to reductions) and reallocate them to those where the resources provide the biggest performance boost.

Experimental Evaluation

The researchers tested CRMS on a live experimental testbed using four representative AI tasks (ResNet_v2, SE_ResNeXt, MobileNet_v2, and SSD_MobileNet_v1) running on Docker Swarm. Task arrivals followed a Poisson distribution to simulate real-world bursty traffic.

Key Results

  • Latency Reduction: In constrained environments, CRMS reduced average latency by 14% to 57% compared to baselines like Random Search, Bayesian Optimization, and Dominant Resource Fairness (DRF).
  • Utility and Stability: CRMS achieved the best balance between performance and energy use (the lowest "edge utility" score). Unlike the DRF algorithm, which caused task queues to explode for certain apps, CRMS maintained stable queues by respecting the unique sensitivities of each task.

Conclusion and Future Work

CRMS demonstrates that sensitivity-aware resource management can significantly improve edge performance. While the current study focuses on single-node optimization, future work will explore clustering multiple edge servers, incorporating more complex memory power models, and integrating dynamic network conditions into the allocation logic.

Summary updated

BibTeX
@misc{zhang2025squeezing,
  author = {Yongmin Zhang and Pengyu Huang and Mingyi Dong and Jing Yao},
  title = {{Squeezing Edge Performance: A Sensitivity-Aware Container Management for Heterogeneous Tasks}},
  year = {2025},
  eprint = {2512.23952},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.23952},
}
Figure