Skip to main content
Log in

Efficient offline scheduling of task-sets with complex constraints on large distributed time-triggered systems

  • Published:
Real-Time Systems Aims and scope Submit manuscript

Abstract

Modern real-time applications like avionics and Internet-of-Things are required to aggregate more features and functionality with less production costs. Future applications like CityAirbus and autonomous driving require large distributed systems to deliver expected services and performance. For such systems, scheduling large set of applications may lead to contradicting problems, e.g., resource scarcity and swap (size, weight and power). The time-triggered (TT) computation model has the potential to ease the way for solving all these issues. However, TT scheduling poses several challenges including complex network architectures, co-synthesis of allocation/scheduling and complex constraints (e.g., precedence, latency, reliability, etc.). Although state-of-the-art processor and network scheduling approaches can be used to generate TT schedules for small to medium sized systems, they fail to provide solutions for large distributed systems. In this paper, we discuss the design of a modular, scalable and flexible scheduler for large distributed TT networked systems. We introduce a novel search-space pruning technique, based on the response-times to generate schedules for large systems within reasonable time. Based on our modular scheduler design, we also provide an extension for TTEthernet networks. Through extensive evaluation, we demonstrate that our scheduler is capable of fulfilling the demands of modern and future real-time applications and that it dominates the state-of-the-art TT scheduling approaches in terms of schedulability and run-times.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

Notes

  1. The number of arrangements of n distinct objects is n! (Tucker 2006).

  2. The number of arrangements of n objects with \(r_1\) of type 1, \(r_2\) of type 2,..., and \(r_m\) of type m with \(r_1 + r_2 + \cdots + r_m = n\) is \(n!/(r_1! \times r_2! \times \cdots \times r_m!)\) (Tucker 2006)

  3. Steiner (2010) used the term backtrack to identify discarding procedure of one or more sub-schedules generated from the sub-sets of frames.

  4. Steiner (2010) (and Pozo et al. (2015)) used the term frame to identify a periodic message on a single physical link.

  5. By backtrack, we mean traversing back to the immediate parent search-tree node.

  6. Note that a virtual link has at least two ends, a source and a destination. Four source ends of virtual links from one end-system also require destination end-system(s). This resulted in eight communicating tasks per PN, in total, by the task-set generator.

  7. The task-set generator developed by Craciunas and Oliver (2016) limited the number of tasks per TG to two. Changing this limit may fail to provide a directly link between the evaluation done for SAS-TTE and the scheduler proposed by Craciunas and Oliver (2016).

References

  • Abdelzaher TF, Shin KG (1999) Combined task and message scheduling in distributed real-time systems. IEEE Trans Parallel Distrib Syst 10(11):1179–1191

    Article  Google Scholar 

  • Abdelzaher TF, Shin KG (2000) Period-based load partitioning and assignment for large real-time applications. IEEE Trans Comput 49(1):81–87

    Article  Google Scholar 

  • Ahmad I, Kwok YK (1998) Optimal and near-optimal allocation of precedence-constrained tasks to parallel processors: defying the high complexity using effective search techniques. In: International conference on parallel processing, IEEE, pp 424–431

  • Anwikar V, Bhaduri P (2010) Timing analysis of real-time embedded systems using model checking. In: 18th international conference on real-time and network systems, pp 119–128

  • AS6802 (2011) Time-triggered ethernet. Standard AS6802, Society of Automotive Engineers International

  • Baruah SK, Rosier LE, Howell RR (1990) Algorithms and complexity concerning the preemptive scheduling of periodic, real-time tasks on one processor. Real-Time Syst 2(4):301–324

    Article  Google Scholar 

  • Bratley P, Florian M, Robillard P (1975) Scheduling with earliest start and due date constraints on multiple machines. Naval Res Logist Q 22(1):165–173

    Article  MATH  Google Scholar 

  • Chetto H, Silly M, Bouchentouf T (1990) Dynamic scheduling of real-time tasks under precedence constraints. Real-Time Syst 2(3):181–194

    Article  Google Scholar 

  • Coelho RF (2017) Blah. Ph.D. thesis, Technische Universität Kaiserslautern

  • Cormen T, Leiserson C, Rivest R, Stein C (2001) Introduction to algorithms. MIT Press, Cambridge

    MATH  Google Scholar 

  • Craciunas SS, Oliver RS (2016) Combined task- and network-level scheduling for distributed time-triggered systems. Real-Time Syst 52(2):161–200. https://doi.org/10.1007/s11241-015-9244-x

    Article  MATH  Google Scholar 

  • Dick RP, Rhodes DL, Wolf W (1998) TGFF: task graphs for free. In: Proceedings of the 6th international workshop on hardware/software codesign, CODES/CASHE’98. IEEE Computer Society, Washington, DC, pp 97–101. http://dl.acm.org/citation.cfm?id=278241.278309

  • Ekelin C, Jonsson J (2001) Evaluation of search heuristics for embedded system scheduling problems. In: Walsh T (ed) Principles and practice of constraint programming, vol 2239. Lecture notes in computer science. Springer, Berlin, pp 640–654

    Google Scholar 

  • Fohler G (1994) Flexibility in statically scheduled real-time systems. PhD thesis, TNF, Wien, Österreich

  • Glover F, Kochenberger G (2003) Handbook of metaheuristics. International series in operations research & management science. Springer, Berlin. https://books.google.de/books?id=O_10T_KeqOgC

  • Goossens J, Devillers R (1999) Feasibility intervals for the deadline driven scheduler with arbitrary deadlines. In: Proceedings of the sixth international conference on real-time computing systems and applications, RTCSA’99. IEEE Computer Society, Washington, DC. http://dl.acm.org/citation.cfm?id=519167.828794

  • Guasque A, Balbastre P, Crespo A (2016) Real-time hierarchical systems with arbitrary scheduling at global level. J Syst Softw 119:70–86. https://doi.org/10.1016/j.jss.2016.05.040

    Article  Google Scholar 

  • Hanzalek Z, Burget P, Sucha P (2010) Profinet IO IRT message scheduling with temporal constraints. IEEE Trans Ind Inf 6(3):369–380. https://doi.org/10.1109/TII.2010.2052819

    Article  Google Scholar 

  • Hart P, Nilsson N, Raphael B (1968) A formal basis for the heuristic determination of minimum cost paths. IEEE Trans Syst Sci Cybern 4(2):100–107

    Article  Google Scholar 

  • Hönig U, Schiffmann W (2004) Fast optimal task graph scheduling by means of an optimized parallel A*-algorithm. In: PDPTA, pp 842–848

  • Itier JB (2007) A380 integrated modular avionics. In: Proceedings of the ARTIST2 meeting on integrated modular avionics, vol 1, pp 72–75

  • Jeffay K, Stanat D, Martel C (1991) On non-preemptive scheduling of periodic and sporadic tasks. In: Twelfth proceedings of real-time systems symposium, pp 129–139

  • Jonsson J (1999) Effective complexity reduction for optimal scheduling of distributed real-time applications. In: Proceedings of the IEEE international conference on distributed computing systems, pp 360–369

  • Kopetz H (1992) Sparse time versus dense time in distributed real-time systems. In: Proceedings of the 12th international conference on distributed computing systems, 1992, pp 460–467, https://doi.org/10.1109/ICDCS.1992.235008

  • Korf RE (1985) Depth-first iterative-deepening: an optimal admissible tree search. Artif Intell 27(1):97–109

    Article  MathSciNet  MATH  Google Scholar 

  • Kurkovsky S (2009) Experimenting with IDA* search algorithm in heterogeneous pervasive environments. Artif Intell Rev 29(3):277–286. https://doi.org/10.1007/s10462-009-9140-7

    Google Scholar 

  • Land AH, Doig AG (1960) An automatic method for solving discrete programming problems. Econometrica 28(3):497–520

    Article  MathSciNet  MATH  Google Scholar 

  • Leung JYT, Merrill M (1980) A note on preemptive scheduling of periodic, real-time tasks. Inf Process Lett 11(3):115–118

    Article  MathSciNet  MATH  Google Scholar 

  • Marouf M, Sorel Y (2010) Schedulability conditions for non-preemptive hard real-time tasks with strict period. In: Marouf M, Sorel Y (eds) Proceedings of 18th international conference on real-time and network systems, RTNS’10, Toulouse, France. https://hal.inria.fr/inria-00566359

  • Marouf M, Sorel Y (2011) Scheduling non-preemptive hard real-time tasks with strict periods. In: 2011 IEEE 16th conference on emerging technologies & factory automation (ETFA), pp 1–8

  • McKinsey (2013) The internet of things and the future of manufacturing. http://www.mckinsey.com/business-functions/digital-mckinsey/our-insights/the-internet-of-things-and-the-future-of-manufacturing. Accessed 10 Nov 2016

  • Peng DT, Shin K (1989) Static allocation of periodic tasks with precedence constraints in distributed real-time systems. In: 9th international conference on distributed computing systems, pp 190–198

  • Peng DT, Shin K (1993) Optimal scheduling of cooperative tasks in a distributed system using an enumerative method. IEEE Trans Softw Eng 19(3):253–267

    Article  Google Scholar 

  • Pozo F, Steiner W, Rodriguez-Navas G, Hansson H (2015) A decomposition approach for SMT-based schedule synthesis for time-triggered networks. In: 2015 IEEE 20th conference on emerging technologies & factory automation (ETFA), pp 1–8

  • Pozo F, Rodriguez-Navas G, Steiner W, Hansson H (2016) Period-aware segmented synthesis of schedules for multi-hop time-triggered networks. In: 2016 IEEE 22nd international conference on embedded and real-time computing systems and applications (RTCSA), pp 170–175

  • Pozo F, Rodriguez-Navas G, Hansson H, Steiner W (2017) Schedule synthesis for next generation time-triggered networks. Ph.D. thesis, Mälardalen Real-Time Research Centre, Mälardalen University. http://www.es.mdh.se/publications/4698-

  • Puffitsch W, Noulard E, Pagetti C (2015) Off-line mapping of multi-rate dependent task sets to many-core platforms. Real-Time Syst 51(5):526–565. https://doi.org/10.1007/s11241-015-9232-1

    Article  MATH  Google Scholar 

  • Rao VN, Kumar V, Ramesh K (1987) A parallel implementation of iterative-deepening-A*. In: Proceedings of the sixth national conference on artificial intelligence, vol 1, pp 178–182

  • Ronngren S, Shirazi B (1995) Static multiprocessor scheduling of periodic real-time tasks with precedence constraints and communication costs. In: Proceedings of the twenty-eighth Hawaii international conference on system sciences, vol 2, pp 143–152

  • Schorr S (2015) Adaptive real-time scheduling and resource management on multicore architectures. Ph.D. thesis, Technische Universität Kaiserslautern

  • Sedgewick R (1977) Permutation generation methods. ACM Comput Surv 9(2):137–164

    Article  MathSciNet  MATH  Google Scholar 

  • Steiner W (2010) An evaluation of SMT-based schedule synthesis for time-triggered multi-hop networks. In: Real-time systems symposium (RTSS), IEEE, pp 375–384

  • Syed AAJ, Fohler G (2014) Search-tree exploration for scheduling using PIDA*. Technical report, August 2014

  • Tamas-Selicean D, Pop P, Steiner W (2012) Synthesis of communication schedules for TTEthernet-based mixed-criticality systems. In: Proceedings of the eighth IEEE/ACM/IFIP international conference on hardware/software codesign and system synthesis. ACM, New York, pp 473–482

  • Theis J, Fohler G, Baruah S (2013) Schedule table generation for time-triggered mixed criticality systems. In: 1st workshop on mixed criticality systems, IEEE real-time systems symposium

  • Tindell K, Burns A, Wellings A (1992) Allocating hard real time tasks: an NP-hard problem made easy. Real-Time Syst 4(2):145–165

    Article  Google Scholar 

  • Tucker A (2006) Applied combinatorics. Wiley, New York

    MATH  Google Scholar 

  • Waez MTB, Dingel J, Rudie K (2011) Timed automata for the development of real-time systems. Research Report 2011-579, Queen’s University-School of Computing

  • Xu LD, He W, Li S (2014) Internet of things in industries: a survey. IEEE Trans Ind Inf 10(4):2233–2243. https://doi.org/10.1109/TII.2014.2300753

    Article  Google Scholar 

  • Zhang L, Goswami D, Schneider R, Chakraborty S (2014) Task- and network-level schedule co-synthesis of ethernet-based time-triggered systems. In: 19th Asia and South Pacific design automation conference (ASP-DAC), pp 119–124

Download references

Acknowledgements

We would like to thank Ramon Serna Oliver and Silviu S. Craciunas (from TTTech Computertechnik AG, Vienna, Austria) for their generous support by providing their task-set generator for creating synthetic system loads for TTEthernet networks. Furthermore, we would like to thank manuscript reviewers for providing valuable comments. These comments allowed us to improve manuscript quality.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ali Syed.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Syed, A., Fohler, G. Efficient offline scheduling of task-sets with complex constraints on large distributed time-triggered systems. Real-Time Syst 55, 209–247 (2019). https://doi.org/10.1007/s11241-018-9320-0

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11241-018-9320-0

Keywords

Navigation