Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Using model checkers in an introductory course on operating systems

Published: 01 October 2008 Publication History

Abstract

During the last three years, we have been experimenting with the use of the Uppaal model checker in an introductory course on operating systems for first-year Computer Science students at the Radboud University Nijmegen. The course uses model checkers as a tool to explain, visualize and solve concurrency problems. Our experience is that students enjoy to play with model checkers because it makes concurrency issues tangible. Even though it is hard to measure objectively, we think that model checkers really help students to obtain a deeper insight into concurrency. In this article, we report on our experiences in the classroom, explain how mutual exclusion algorithms, semaphores and monitors can conveniently be modeled in Uppaal, and present some results on properties of small, concurrent patterns.

References

[1]
G. Behrmann, A. David, and K. Larsen. A tutorial on Uppaal. In Formal Methods for the Design of Real-Time Systems, LNCS 3185, pages 200--236. Springer, 2004.
[2]
G. Behrmann, A. David, K. G. Larsen, J. Håkansson, P. Pettersson, W. Yi, and M. Hendriks. Uppaal 4.0. In Proceedings QEST, pages 125--126. IEEE CS, 2006.
[3]
N. Bogunovic and E. Pek. Verification of mutual exclusion algorithms with SMV system. In EUROCON 2003. Computer as a Tool. The IEEE Region 8. Vol 2, pages 21--25. IEEE CS, 2003.
[4]
E. Clarke, O. Grumberg, and D. Peled. Model Checking. MIT Press, Cambridge, MA, 1999.
[5]
E. W. Dijkstra. Cooperating sequential processes. In Programming Languages. Academic Press, 1968.
[6]
E. W. Dijkstra. Hierarchical ordering of sequential processes. Acta Informatica, 1:115--138, 1971.
[7]
E. W. Dijkstra. The humble programmer. Commun. ACM, 15(10):859--866, 1972. Turing Award lecture.
[8]
A. Downey. The Little Book of Semaphores. Green Tea Press, second edition, 2005.
[9]
A. Downey. The Little Book of Semaphores. Green Tea Press, 2.1.2 edition, 2007.
[10]
C. Hoare. Monitors: An operating system structuring concept. Commun. ACM, 17(10):549--557, 1974.
[11]
G. Holzmann. The SPIN Model Checker: Primer and Reference Manual. Addison Wesley, 2004.
[12]
H. Hyman. Comments on a problem in concurrent programming control. Commun. ACM, 9(1):45, 1966.
[13]
L. Lamport. Checking a multithreaded algorithm with +cal. In Proceedings DISC 2006, LNCS 4167, pages 151--163. Springer, 2006.
[14]
B. W. Lampson and D. D. Redell. Experience with processes and monitors in mesa. In Proceedings SOSP, pages 43--44, 1979.
[15]
N. Lynch. Distributed Algorithms. Morgan Kaufmann Publishers, San Fransisco, CA, 1996.
[16]
J. Magee and J. Kramer. Concurrency: State Models and Java Programs. John Wiley, 2006.
[17]
G. Nutt. Operating Systems: A Modern Perspective. Addison Wesley Longman, 2nd ed, 2000.
[18]
G. Peterson. Myths about the mutual exclusion problem. Inf. Process. Lett., 12(3):115--116, 1981.
[19]
A. Silberschatz and P. Galvin. Operating System Concepts. Addison Wesley Longman, 5th ed, 1997.
[20]
W. Stallings. Operating Systems: Internals and Design Principles. Prentice-Hall, 5th ed, 2005.
[21]
H. Sutter. The free lunch is over -- a fundamental turn toward concurrency in software. Dr. Dobb's Journal, 30(3), 2005.
[22]
A. Tanenbaum and A. Woodhull. Operating Systems: Design and Implementation. Prentice-Hall, 2nd ed, 1997.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGOPS Operating Systems Review
ACM SIGOPS Operating Systems Review  Volume 42, Issue 6
October 2008
111 pages
ISSN:0163-5980
DOI:10.1145/1453775
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 2008
Published in SIGOPS Volume 42, Issue 6

Check for updates

Author Tags

  1. concurrency
  2. model checkers
  3. monitors
  4. mutual exclusion
  5. operating system course
  6. semaphores

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 15 Oct 2024

Other Metrics

Citations

Cited By

View all

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media