Skip to main content
Log in

Verification of real-time systems with preemption: negative and positive results

  • Reviews
  • Published:
Innovations in Systems and Software Engineering Aims and scope Submit manuscript

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.

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.

Similar content being viewed by others

References

  1. 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

  2. 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

  3. Alur R, Dill DL (1994) Theory of timed automata. Theor Comp Sci 126(2): 183–235

    Article  MATH  MathSciNet  Google Scholar 

  4. 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

  5. Bérard B, Laroussinie F, Petit A, Schnoebelen P (2001) Systems and software verification. Model-checking techniques and tools. Springer, Heidelberg

  6. 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

  7. 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

  8. 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

  9. Cheng AMK (2002) Real-time systems: scheduling, analysis, and verification. Wiley, New York

    Google Scholar 

  10. 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

  11. 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

    Google Scholar 

  12. Fersman E, Krcal P, Pettersson P, Yi W (2007) Task automata: schedulability, decidability and undecidability. Int J Inform Comput

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

    MATH  Google Scholar 

  18. Henzinger TA, Kopke PW, Puri A, Varaiya P (1998) What’s decidable about hybrid automata? J Comp Syst Sci 57: 94–124

    Article  MATH  MathSciNet  Google Scholar 

  19. Leung JMM (1980) A note on preemptive scheduling of periodic real-time tasks. Inform Process Lett 11(3): 115–118

    Article  MATH  MathSciNet  Google Scholar 

  20. 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

  21. Laroussinie F, Larsen KG, Weise C (1995) From timed automata to logic—and Back. In: MFCS95, Prague, Czech Republic

  22. Larsen KG, Pettersson P, Yi W (1997) UPPAAL in a nutshell. Int J Softw Tools Technol Transf 1(1–2): 134–152

    MATH  Google Scholar 

  23. Leung JYT, Whitehead J (1982) On the complexity of fixed- priority scheduling of periodic real-time tasks. Perform Eval 2(2): 237–250

    Article  MATH  MathSciNet  Google Scholar 

  24. 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

    Google Scholar 

  25. Minsky M (1967) Computation: finite and infinite machines. Prentice-Hall, Englewood Cliffs

    MATH  Google Scholar 

  26. 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

  27. Puri A, Varaiya P (1995) Decidable hybrid systems. In: Hybrid systems II, Springer. Lecture Notes in Computer Science, vol 999, pp 359–369

  28. Rusu V (1996) Vérification temporelle de programmes Electre. Ph.D. thesis, Ecole Centrale de Nantes

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jérôme Ermont.

Rights and permissions

Reprints 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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11334-009-0093-4

Keywords

Navigation