Skip to main content

A Language for the Complexity Analysis of Parallel Programs

  • Conference paper
  • First Online:
Parallel Processing and Applied Mathematics (PPAM 2001)

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

  • 485 Accesses

Abstract

The accumulated experience indicates that complexity models like LogP or BSP, characterizing the performance of distributed machines through a few parameters, incur in a considerable loss of accuracy. Errors ranges up to 70%. The complexity analysis model presented here still makes use of the BSP concept of superstep, but introduces a few novelties. To cover both oblivious synchronization and group partitioning we have to admit that different processors may finish the same superstep at different times. The other extension recognizes that, even if the numbers of individual communication or computation operations in two stages are the same, the actual times for these two stages may differ. These differences are due to the separate nature of the operations or to the particular pattern followed by the messages. A natural proposal is to associate a different proportionality constant with each basic block, and analogously, to associate different latencies and bandwidths with the different communications. Unfortunately, to use this approach implies that the parameters evaluation not only depend on the given architecture, but also reflect algorithm characteristics. Such parameter evaluation must be done for every algorithm. This is a heavy task, implying experiment design, timing, statistics and multi-parameter fitting algorithms. Software support is required. We have developed a compiler that takes as source a c program annotated with complexity formulas and produces as output an instrumented code. The trace files obtained from the execution of the resulting code are analyzed with an interactive interpreter, giving us, among other information, the values of those parameters.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bonorden, O., Juurlink, B, von Otte, I., Rieping, I.: The Paderborn University BSP (PUB) Library-Desing, Implementation and Performance. 13th International Parallel Processing Symposium & 10th Symposium on Parallel and Distributed Processing (IPPs/SPDP) (1999)

    Google Scholar 

  2. Browne, S. Dongarra, J. Garner, N. Ho G., Mucci, P.: A Portable Programming Interface for Performance Evaluation on Modern Processors. The International Journal of High Performance Computing Applications, 14:3 (Fall 2000) 189–204

    Article  Google Scholar 

  3. González, J.A., León, C. Piccoli, F., Pristinta, M., Roda, J.L., Rodri’iguez, C., Sande, F.: Performance Prediction of Oblivious BSP Programs. 7th International Euro-Par Conference, Springer-Verlag (2001) 96–105

    Google Scholar 

  4. Goudreau, M., Hill, J., Lang, K. McColl, B Rao, S., Stephanescu, D., Suel, T., Tsantilas, T.A: Proposal for the BSP Worldwide Standard Library. http://www.bsp-worldwide.org/standard/stand2.htm (1996)

  5. Groom, D.E. et al.: Statistics. The European Physical Journal C15 (2000) http://pdg.lbl.gov/2000/statrppbook.pdf

  6. Hill J., McColl W., Stefanescu D., Goudreau M., Lang K., Rao S., Suel T., Tsantilas T., Bisseling R.: BSPLib: The BSP Programming Library. Parallel Computing, 24(14) (1998) 1947–1980

    Article  Google Scholar 

  7. Rodríguez C., Roda J.L., Morales D.G., Almeida F.: h-relation models for Current Standard Parallel Platforms. 4th International Euro-Par Conference, Springer-Verlag (1998) 234–243

    Google Scholar 

  8. Valiant L.G.: A Bridging Model for Parallel Computation. Communications of the ACM, 33(8) (1990) 103–111

    Article  Google Scholar 

  9. Zavanella A., Milazzo A.: Predictability of Bulk Synchronous Programs Using MPI. 8th Euromicro PDP (2000) 118–123

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

González, J.A. et al. (2002). A Language for the Complexity Analysis of Parallel Programs. In: Wyrzykowski, R., Dongarra, J., Paprzycki, M., Waśniewski, J. (eds) Parallel Processing and Applied Mathematics. PPAM 2001. Lecture Notes in Computer Science, vol 2328. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48086-2_28

Download citation

  • DOI: https://doi.org/10.1007/3-540-48086-2_28

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43792-5

  • Online ISBN: 978-3-540-48086-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics