Optimal Fixed Priority Scheduling in Multi-Stage Multi-Resource Distributed Real-Time Systems (2403.13411v1)
Abstract: This work studies fixed priority (FP) scheduling of real-time jobs with end-to-end deadlines in a distributed system. Specifically, given a multi-stage pipeline with multiple heterogeneous resources of the same type at each stage, the problem is to assign priorities to a set of real-time jobs with different release times to access a resource at each stage of the pipeline subject to the end-to-end deadline constraints. Note, in such a system, jobs may compete with different sets of jobs at different stages of the pipeline depending on the job-to-resource mapping. To this end, following are the two major contributions of this work. We show that an OPA-compatible schedulability test based on the delay composition algebra can be constructed, which we then use with an optimal priority assignment algorithm to compute a priority ordering. Further, we establish the versatility of pairwise priority assignment in such a multi-stage multi-resource system, compared to a total priority ordering. In particular, we show that a pairwise priority assignment may be feasible even if a priority ordering does not exist. We propose an integer linear programming formulation and a scalable heuristic to compute a pairwise priority assignment. We also show through simulation experiments that the proposed approaches can be used for the holistic scheduling of real-time jobs in edge computing systems.
- R. J. Bril, S. Altmeyer, M. M. van den Heuvel, R. I. Davis, and M. Behnam, “Fixed priority scheduling with pre-emption thresholds and cache-related pre-emption delays: integrated analysis and evaluation,” Real-Time Systems, vol. 53, pp. 403–466, 2017.
- R. I. Davis, L. Cucu-Grosjean, M. Bertogna, and A. Burns, “A review of priority assignment in real-time systems,” Journal of systems architecture, vol. 65, pp. 64–82, 2016.
- N. C. Audsley, “Optimal priority assignment and feasibility of static priority tasks with arbitrary start times,” 1991.
- J. C. Palencia and M. G. Harbour, “Offset-based response time analysis of distributed systems scheduled under edf,” in 15th Euromicro Conference on Real-Time Systems, 2003. Proceedings. IEEE, 2003, pp. 3–12.
- S. Hong, T. Chantem, and X. S. Hu, “Meeting end-to-end deadlines through distributed local deadline assignments,” in 2011 IEEE 32nd Real-Time Systems Symposium. IEEE, 2011, pp. 183–192.
- P. Jayachandran and T. Abdelzaher, “Delay composition in preemptive and non-preemptive real-time pipelines,” Real-Time Systems, vol. 40, no. 3, pp. 290–320, 2008.
- ——, “Transforming distributed acyclic systems into equivalent uniprocessors under preemptive and non-preemptive scheduling,” in 2008 Euromicro Conference on Real-Time Systems. IEEE, 2008, pp. 233–242.
- R. Bettati and J. W.-S. Liu, “End-to-end scheduling to meet deadlines in distributed systems.” in ICDCS. Citeseer, 1992, pp. 452–459.
- R. I. Davis and A. Burns, “Priority assignment for global fixed priority pre-emptive scheduling in multiprocessor real-time systems,” in 2009 30th IEEE Real-Time Systems Symposium. IEEE, 2009, pp. 398–409.
- N. C. Audsley, “On priority assignment in fixed priority scheduling,” Information Processing Letters, vol. 79, no. 1, pp. 39–44, 2001.
- C. Gao, A. Shaan, and A. Easwaran, “Deadline-constrained multi-resource task mapping and allocation for edge-cloud systems,” in GLOBECOM 2022-2022 IEEE Global Communications Conference. IEEE, 2022, pp. 5037–5043.
- W. Chu, P. Yu, Z. Yu, J. C. Lui, and Y. Lin, “Online optimal service selection, resource allocation and task offloading for multi-access edge computing: A utility-based approach,” IEEE Transactions on Mobile Computing, 2022.
- S. Ramanathan, N. Shivaraman, S. Suryasekaran, A. Easwaran, E. Borde, and S. Steinhorst, “A survey on time-sensitive resource allocation in the cloud continuum,” it-Information Technology, vol. 62, no. 5-6, pp. 241–255, 2020.