This article explores the impact of custom scheduling strategies on the performance of machine learning workflows at the edge by using the case of Kubernetes scheduling. Optimizing machine learning (ML) workloads on resource-constrained edge devices has become a significant scientific challenge addressed by multiple studies. The severe limitations of edge systems in processing power, memory, and energy render conventional cloud-native schedulers ineffective, leading to poor resource utilization and degraded performance. While numerous advanced, data-driven solutions have been proposed for large-scale systems, their complexity and overhead are often impractical for edge deployments. In contrast, this work investigates a simpler, lightweight scheduling mechanism for CPU-based workloads that provides efficient and predictable performance without relying on historical data, making it well-suited for the unique requirements of the edge.Using a lightweight K3s cluster integrated with Kubeflow Pipelines, we investigate how varying binpacking functions influence resource allocation and training efficiency of a CNN model on the MNIST dataset. Our experiments demonstrate that tailored scheduling configurations can lead to noticeable improvements in training times and hardware utilization across different edge cluster sizes. The results offer actionable insights for optimizing AI workloads in resource-constrained edge environments.
References
[1] Abadi M. et al.: TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems. 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI), 2016.
[2] Almusallam N., Alabdulatif A., Alarfaj F.: Analysis of Privacy-Preserving Edge Computing and Internet of Things Models in Healthcare Domain. Comput Math Methods Med. 2021, 6834800 [https://doi.org/10.1155/2021/6834800].
[3] Chen T. et al.: MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systems. arXiv preprint arXiv:1512.01274, 2015.
[4] Clapa K., Grudzien K., Sierszeń A.: Assessment of Performance for Cloud-Native Machine Learning on Edge Devices. Digital Interaction and Machine Intelligence. Springer, 2024, 95–105.
[5] Guo M. et al.: K8sSim: A Simulation Tool for Kubernetes Schedulers and Its Applications. Journal of Cloud Computing, SpringerOpen, 2023.
[6] Jian Z., Wu J., Yang X.: DRS: Deep Reinforcement Learning Enhanced Scheduler for Kubernetes, Software – Practice and Experience. Wiley, 2021.
[7] Kubernetes Documentation "Resource Bin Packing". Kubernetes.io, 2025 [https://kubernetes.io/docs/concepts/scheduling-eviction/resource-bin-packing/].
[8] Kubernetes Documentation, "Resource Management for Pods and Containers". Kubernetes.io, 2025 [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/].
[9] LeCun Y. et al.: Gradient-Based Learning Applied to Document Recognition. Proceedings of the IEEE 86(11), 1998, 2278–2324.
[10] LeCun Y., Cortes C., Burges C. J. C.: The MNIST Database of Handwritten Digits [http://yann.lecun.com/exdb/mnist/].
[11] Liu P., Guitart J.: Fine-Grained Scheduling for Containerized HPC Workloads in Kubernetes Clusters. arXiv preprint arXiv:2211.11487, 2022.
[12] Lv Z. et al.: Intelligent edge computing based on machine learning for smart city. Future Generation Computer Systems 115, 2021, 90–99.
[13] Rausch T., Rashed A., Dustdar S.: Optimized container scheduling for data-intensive serverless edge computing. Future Generation Computer Systems 114, 2021, 259–271.
[14] Toka L. et al.: Machine Learning-Based Scaling Management for Kubernetes Edge Clusters. Transactions on Network and Service Management 18, 2021, 958–972.
[15] Xing E. P. et al.: Petuum: A New Platform for Distributed Machine Learning on Big Data. IEEE Transactions on Big Data 1(2), 2015, 49–67.
[16] Xiong J., Chen H.: Challenges for building a cloud native scalable and trustable multi-tenant AIoT platform. 39th International Conference on Computer-Aided Design - ICCAD'20, Article No. 26, 2020, 1–8.