Skip to main content

Predicting the speedup of parallel Ada programs

  • Conference paper
  • First Online:
Ada: Moving Towards 2000 (Ada-Europe 1992)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 603))

Included in the following conference series:

Abstract

A method for predicting the speedup of parallel Ada programs has been developed. For this purpose the states Active and Blocked are used to characterize a task during program execution. Of the active tasks, some may be waiting for a processor to be available. Transitions between the two states may be caused only by certain tasking constructs that can be statically identified in the source code. The execution of a task forms a list of Active and Blocked time segments. Segments in different tasks may depend on each other through task synchronizations, thus forming a dependency graph.

Using this graph and certain assumptions about the way tasks are scheduled, one can determine how the number of active tasks varies during the execution. Disregarding hardware and system overheads, speedup is limited either by the number of processors or by the number of active tasks. That is, dependency graphs make it possible to compare the speedup of different programs solving the same problem. This method can also be used for selecting a multiprocessor system with a suitable number of processors for a certain program.

By inserting probes at certain tasking constructs and executing the program on a single-processor, we are able to record the dependency graph. This method has been used for predicting the speedup of a parallel Ada program containing 80 tasks.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Department of Defense, USA. Ada reference manual, February 1983. ANSI/MIL-STD-1815A.

    Google Scholar 

  2. James L. Peterson and Abraham Silberschatz, Operating System Concepts (second edition), Addison-Wesley Publishing Company, 1985.

    Google Scholar 

  3. Gordon E. Anderson, An Ada Multitask Solution for the Sieve of Erathosthenes, ACM, Ada Letters Vol 7 September/October 1988.

    Google Scholar 

  4. V. F. Rich, Parallel Ada for Symmetrical Multiprocessors, In proceedings of the distributed Ada symposium held at university of Southampton, pp 61–70, December 1989.

    Google Scholar 

  5. Susan Flynn Hummel, SMARTS — Shared-memory Multiprocessor Ada Run Time Supervisor, Ph.D. thesis, Published as technical report 495 at the Department of Computer Science, New York University, February 1990.

    Google Scholar 

  6. R.L. Graham, Bounds for Certain Multiprocessor Timing Anomalies, SIAM Journal of Applied Mathematics, 17, 2 (1969), pp 416–429.

    Google Scholar 

  7. K. So, A.S. Bolmarcich, F. Darema and V.A. Norton, A Speedup Analyzer for Parallel Programs, In proceedings of the 1987 International Conference on Parallel Processing, pp 653–662, August 1987.

    Google Scholar 

  8. Anselmo A. Lastra and C. Frank Starmer, POET: A Tool for the Analysis of the Performance of Parallel Algorithms, In proceedings of the 1988 International Conference on Parallel Processing, pp 126–129, August 1988.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

J. van Katwijk

Rights and permissions

Reprints and permissions

Copyright information

© 1992 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Lundberg, L. (1992). Predicting the speedup of parallel Ada programs. In: van Katwijk, J. (eds) Ada: Moving Towards 2000. Ada-Europe 1992. Lecture Notes in Computer Science, vol 603. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-55585-4_21

Download citation

  • DOI: https://doi.org/10.1007/3-540-55585-4_21

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-55585-8

  • Online ISBN: 978-3-540-47240-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics