skip to main content
10.1145/1086228.1086231acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
Article

A structural approach to quasi-static schedulability analysis of communicating concurrent programs

Published:18 September 2005Publication History

ABSTRACT

We describe a system as a set of communicating concurrent programs. Quasi-static scheduling compiles the concurrent programs into a sequential one. It uses a Petri net as an intermediate model of the system. However, Petri nets generated from many interesting applications are not schedulable. In this paper, we show the underlying mechanism which causes unschedulability in terms of the structure of a Petri net. We introduce a Petri net structural property and prove unschedulability if the property holds. We propose a linear programming based algorithm to check the property, and prove the algorithm is valid. Our approach prove unschedulability typically within a second for Petri nets generated from industrial JPEG and MPEG codecs, while the scheduler fails to terminate within 24 hours.

References

  1. Sesame project public release. URL: http://sesamesim.sourceforge.net.Google ScholarGoogle Scholar
  2. Stanford PVRG JPEG codec. URL: http://www.dclunie.com/jpegge.html.Google ScholarGoogle Scholar
  3. XviD MPEG-4 video codec. URL: http://www.xvid.org.Google ScholarGoogle Scholar
  4. G. Arrigoni, L. Duchini, L. Lavagno, C. Passerone, and Y. Watanabe. False path elimination in quasi-static scheduling. In Proceedings of the Design Automation and Test in Europe Conference, March 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. P. Broekhof, N. Roosen, J. Verhoef, and W. Jun. Modeling XviD as a Kahn process network, a Sesame application design document. URL: http://staff.science.uva.nl/~andy/apps/xvid.pdf.Google ScholarGoogle Scholar
  6. J. T. Buck. Scheduling dynamic dataflow graphs with bounded memory using the token flow model. PhD thesis, University of California, Berkeley, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. J. Cortadella, A. Kondratyev, L. Lavagno, C. Passerone, and Y. Watanabe. Quasi-static scheduling of independent tasks for reactive systems. In Proceedings of the 23rd International Conference on Applications and Theory of Petri Nets, pages 80--100, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. P. Cousot and R. Cousot. Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In 4th ACM Symp. on Principles of Programming Languages, Los Angeles, January 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. E. de Kock, G. Essink, W. Smits, P. van der Wolf, J.-Y. Brunel, W. Kruijtzer, P. Lieverse, and K. Vissers. YAPI: Application Modeling for Signal Processing Systems. In Proceedings of the $37^th$ Design Automation Conference, June 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J. Desel. Private communication, August 2004.Google ScholarGoogle Scholar
  11. C. A. R. Hoare. Communicating Sequential Processes. International Series in Computer Science. Prentice-Hall, 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. G. Kahn. The semantics of a simple language for parallel programming. In Information processing, pages 471--475, Aug 1974.Google ScholarGoogle Scholar
  13. G. Kahn and D. B. MacQueen. Coroutines and networks of parallel processes. In Information processing, pages 993--998, Aug 1977.Google ScholarGoogle Scholar
  14. E. A. Lee and D. G. Messerschmitt. Static scheduling of synchronous data flow graphs for digital signal processing. IEEE Transactions on Computers, Jan. 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. P. Lieverse, T. Stefanov, P. van~der Wolf, and E. Deprettere. System level design with spade: an m-jpeg case study. In Proceedings of IEEE/ACM International Conference on Computer Aided Design, pages 31--88, Nov 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. T. Murata. Petri nets: properties, analysis, and applications. Proceedings of the IEEE, 77(4):541--580, Apr. 1989.Google ScholarGoogle ScholarCross RefCross Ref
  17. P. van der Wolf, P. Lieverse, M. Goel, D. Hei, and K. Vissers. An MPEG-2 Decoder Case Study as a Driver for a System Level Design Methodology. In Proceedings of the $7^th$ International Workshop on Hardware/Software Codesign, May 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A structural approach to quasi-static schedulability analysis of communicating concurrent programs

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          EMSOFT '05: Proceedings of the 5th ACM international conference on Embedded software
          September 2005
          390 pages
          ISBN:1595930914
          DOI:10.1145/1086228
          • Conference Chair:
          • Wayne Wolf

          Copyright © 2005 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 18 September 2005

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          Overall Acceptance Rate60of203submissions,30%

          Upcoming Conference

          ESWEEK '24
          Twentieth Embedded Systems Week
          September 29 - October 4, 2024
          Raleigh , NC , USA

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader