Abstract
The aim of this article is to explore the problem of verification of preemptible real-time systems, i.e. systems composed of tasks which can be suspended and resumed by an on-line scheduler. The first contribution of the article is to show that this problem is unfortunately undecidable. To overcome this negative result, we restrict the real-time tasks to be periodic and the implementation to be functionally deterministic, meaning that the preemptions do not affect the functional behaviour and preserve some temporal properties satisfied by the specification. We prove that the verification problem of functional determinism is decidable. This outlines a verification strategy: (1) prove that the scheduled real-time system is deterministic, (2) consider a deterministic non preemptible behaviour which is functionally equivalent to the executions and (3) verify the properties on this behaviour.
Similar content being viewed by others
References
Aceto L, Bouyer P, Burgueño A, Larsen KG (2001) The power of reachability testing for timed automata. Tech. Rep. LSV-01-6, ENS Cachan, France
Adélaïde M, Roux O (2002) A class of decidable parametric hybrid systems. In: 9th International conference on algebraic methodology and software technology. Lecture Notes in Computer Science, vol 2422. Springer, Heidelberg
Alur R, Dill DL (1994) Theory of timed automata. Theor Comp Sci 126(2): 183–235
Alur R, Courcoubetis C, Henzinger TA, Ho PH (1992) Hybrid automata: an algorithmic approach to the specification and verification of hybrid systems. In: Hybrid systems, pp 209–229
Bérard B, Laroussinie F, Petit A, Schnoebelen P (2001) Systems and software verification. Model-checking techniques and tools. Springer, Heidelberg
Bozga M, Daws C, Maler O, Olivera A, Tripakis S, Yovine S (1998) KRONOS: A model-checking tool for real-time systems. In: Hu AJ, Vardi MY (eds) 10th International conference on computer aided verification, Springer, Vancouver, Canada, Lecture Notes in Computer Science, vol 1427, pp 546–550
Cassez F, Larsen KG (2000) The impressive power of stopwatches. In: Palamidessi C (ed) CONCUR. Lecture Notes in Computer Science, vol 1877. Springer, Heidelberg, pp 138–152
Cerans K (1992) Algorithmic problems in analysis of real-time systems specifications. Ph.D. thesis, Institut of Mathematical and Computer Science, University of Latvia, Riga
Cheng AMK (2002) Real-time systems: scheduling, analysis, and verification. Wiley, New York
Ermont J (2002) Une algèbre de processus pour la modélisation et la vérification de systèmes temps-réel avec préemption. Ph.D. thesis, Ecole Nationale Supérieure de l’Aéronautique et de l’Espace, Toulouse
Ermont J, Boniol F (2002) TPAP: an algebra of preemptive processes for verifying real-time systems with shared resources. In: Asarin E, Maler O, Yovine S (eds) Electronic notes in theoretical computer science, vol 65. Elsevier, Amsterdam
Fersman E, Krcal P, Pettersson P, Yi W (2007) Task automata: schedulability, decidability and undecidability. Int J Inform Comput
Havelund K, Skou A, Larsen KG, Lund K (1997) Formal modelling and analysis of an audio/video protocol: an industrial case study using Uppaal. In: Proceedings of the 18th IEEE real-time systems symposium, San Francisco, California, USA, pp 2–13
Henzinger T (1996) The theory of hybrid automata. In: Proceedings of the 11th annual IEEE symposium on logic in computer science (LICS ’96), New Brunswick, New Jersey, pp 278–292
Henzinger TA, Nicollin X, Sifakis J, Yovine S (1992) Symbolic model checking for real-time systems. In: 7th. LiCS Symposium, Santa-Cruz, California, pp 394–406
Henzinger TA, Ho PH, Wong-Toi H (1995) A user guide to HYTECH. In: Tools and algorithms for construction and analysis of systems, Springer, Lecture Notes in Computer Science, vol 1165, pp 41–47
Henzinger TA, Ho PH, Wong-Toi H (1997) HYTECH: a model checker for hybrid systems. Int J Softw Tools Technol Transf 1(1–2): 110–122
Henzinger TA, Kopke PW, Puri A, Varaiya P (1998) What’s decidable about hybrid automata? J Comp Syst Sci 57: 94–124
Leung JMM (1980) A note on preemptive scheduling of periodic real-time tasks. Inform Process Lett 11(3): 115–118
Laroussinie F, Larsen KG (1998) CMC: a tool for compositional model-checking of real-time systems. In: Proc. IFIP joint int. conf. formal description techniques and protocol specification, testing, and verification (FORTE-PSTV’98), Kluwer, Paris, France, pp 439–456
Laroussinie F, Larsen KG, Weise C (1995) From timed automata to logic—and Back. In: MFCS95, Prague, Czech Republic
Larsen KG, Pettersson P, Yi W (1997) UPPAAL in a nutshell. Int J Softw Tools Technol Transf 1(1–2): 134–152
Leung JYT, Whitehead J (1982) On the complexity of fixed- priority scheduling of periodic real-time tasks. Perform Eval 2(2): 237–250
Liu CL, Layland JW (1973) Scheduling algorithms for multiprogramming in a hard-real-time environment. J ACM 20(1):46–61, http://citeseer.ist.psu.edu/liu73scheduling.html
Minsky M (1967) Computation: finite and infinite machines. Prentice-Hall, Englewood Cliffs
Pailler S (2006) Analyse hors ligne d’ordonnançabilit d’applications temps rel comportant des tâches conditionnelles et sporadiques. Ph.D. thesis, Université de Poitiers
Puri A, Varaiya P (1995) Decidable hybrid systems. In: Hybrid systems II, Springer. Lecture Notes in Computer Science, vol 999, pp 359–369
Rusu V (1996) Vérification temporelle de programmes Electre. Ph.D. thesis, Ecole Centrale de Nantes
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Boniol, F., Ermont, J. & Pagetti, C. Verification of real-time systems with preemption: negative and positive results. Innovations Syst Softw Eng 5, 163–179 (2009). https://doi.org/10.1007/s11334-009-0093-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11334-009-0093-4