Skip to main content

On-the-Fly Calculation of Model Factors for Multi-paradigm Applications

  • Conference paper
  • First Online:
Euro-Par 2022: Parallel Processing (Euro-Par 2022)

Abstract

Model factors provide initial insight into fundamental issues of parallel applications. These metrics elaborate beyond conventional HPC metrics to indicate whether an application suffers from systemic or local load imbalances, or high cost for synchronization or data transfer. The metrics are also useful to compare the parallel characteristics of different versions of the same application. This work proposes a model of separating the impact factors of different layered parallelism paradigms. In contrast to previous work in this area, we successfully separate all factors and can prove all efficiency values to be between 0 and 1. While we use MPI + OpenMP as an example in this work, the general concepts also apply to layering other parallel programming paradigms. As a proof of concept, we present a tool that collects the necessary performance data and determines different critical paths in the execution without measurable runtime overhead. We evaluate the methodology with synthetic source code examples but also with a real-world application and an application using the latest or future MPI and OpenMP features in order to evaluate the methodology on applications with an overlap of asynchronous computation and communication at the highest possible concurrency.

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 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.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

Notes

  1. 1.

    https://github.com/RWTH-HPC/llvm-project/tree/criticalPath-Euro-Par.

  2. 2.

    https://jukkr.fz-juelich.de/.

References

  1. Böhme, D., Wolf, F., de Supinski, B.R., Schulz, M., Geimer, M.: Scalable critical-path based performance analysis. In: IPDPS (2012)

    Google Scholar 

  2. Doleschal, J., Knüpfer, A., Müller, M.S., Nagel, W.E.: Internal timer synchronization for parallel event tracing. In: Lastovetsky, A., Kechadi, T., Dongarra, J. (eds.) EuroPVM/MPI 2008. LNCS, vol. 5205, pp. 202–209. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-87475-1_29

    Chapter  Google Scholar 

  3. Flanagan, C., Freund, S.N.: Fasttrack: efficient and precise dynamic race detection. In: Proceedings of the 2009 ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI (2009)

    Google Scholar 

  4. Giménez, J., Mercadal, E., Llort, G., Mendez, S.: Analyzing the efficiency of hybrid codes. In: 2020 19th International Symposium on Parallel and Distributed Computing (ISPDC) (2020)

    Google Scholar 

  5. Labarta, J., Girona, S., Cortes, T.: Analyzing scheduling policies using dimemas. Parallel Comput. 23, 23–34 (1997)

    Article  Google Scholar 

  6. Laguna, I., Marshall, R., Mohror, K., Ruefenacht, M., Skjellum, A., Sultana, N.: A large-scale study of MPI usage in open-source HPC applications. In: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis. SC 2019 (2019)

    Google Scholar 

  7. Lamport, L.: Time, clocks, and the ordering of events in a distributed system. Commun. ACM 21(7), 558–565 (1978)

    Article  Google Scholar 

  8. Pillet, V., Labarta, J., Cortes, T., Girona, S.: Paraver: A tool to visualize and analyze parallel code. In: Proceedings of WoTUG-18: Transputer and OCCAM Developments (1995)

    Google Scholar 

  9. Protze, J., Hahnfeld, J., Ahn, D.H., Schulz, M., Müller, M.S.: OpenMP tools interface: Synchronization information for data race detection. In: International Workshop on OpenMP (2017)

    Google Scholar 

  10. Protze, J., et al.: MPI detach - towards automatic asynchronous local completion. Parallel Comput. 109, 102859 (2022)

    Article  Google Scholar 

  11. Rosas, C., Giménez, J., Labarta, J.: Scalability prediction for fundamental performance factors. Supercomput. Front. Innov. 1(2), 4–19 (2014)

    Google Scholar 

  12. Rüßmann, P.: Spin scattering of topologically protected electrons at defects. Dissertation, RWTH Aachen University (2018)

    Google Scholar 

  13. Yang, C., Miller, B.P.: Critical path analysis for the execution of parallel and distributed programs. In: ICDCS. IEEE Computer Society (1988)

    Google Scholar 

Download references

Acknowledgements

Parts of this work has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement 824080. Parts of this work are funded by the Federal Ministry of Education and Research (BMBF) and the state of North Rhine-Westphalia as part of the NHR Program. We gracefully thank the reviewers for their valuable feedback.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Joachim Protze .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Protze, J., Orland, F., Haldar, K., Koritzius, T., Terboven, C. (2022). On-the-Fly Calculation of Model Factors for Multi-paradigm Applications. In: Cano, J., Trinder, P. (eds) Euro-Par 2022: Parallel Processing. Euro-Par 2022. Lecture Notes in Computer Science, vol 13440. Springer, Cham. https://doi.org/10.1007/978-3-031-12597-3_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-12597-3_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-12596-6

  • Online ISBN: 978-3-031-12597-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics