Skip to main content

2017 | OriginalPaper | Buchkapitel

Adaptive and Architecture-Independent Task Granularity for Recursive Applications

verfasst von : Antoni Navarro, Sergi Mateo, Josep Maria Perez, Vicenç Beltran, Eduard Ayguadé

Erschienen in: Scaling OpenMP for Exascale Performance and Portability

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In the last few decades, modern applications have become larger and more complex. Among the users of these applications, the need to simplify the process of identifying units of work increased as well. With the approach of tasking models, this want has been satisfied. These models make scheduling units of work much more user-friendly. However, with the arrival of tasking models, came granularity management. Discovering an application’s optimal granularity is a frequent and sometimes challenging task for a wide range of recursive algorithms. Often, finding the optimal granularity will cause a substantial increase in performance.
With that in mind, the quest for optimality is no easy task. Many aspects have to be considered that are directly related to lack or excess of parallelism in applications. There is no general solution as the optimal granularity depends on both algorithm and system characteristics. One commonly used method to find an optimal granularity consists in experimentally tuning an application with different granularities until an optimal is found. This paper proposes several heuristics which, combined with the appropriate monitoring techniques, allow a runtime system to automatically tune the granularity of recursive applications. The solution is independent of the architecture, execution environment or application being tested. A reference implementation in OmpSs—a task-parallel programming model—shows the programmability, ease of use and competitive performance of the proposed solution. Results show that the proposed solution is able to achieve, for any scenario, at least 75% of the performance of optimally tuned applications.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Ayguadé, E., Copty, N., Duran, A., Hoeflinger, J., Lin, Y., Massaioli, F., Teruel, X., Unnikrishnan, P., Zhang, G.: The design of OpenMP tasks. IEEE Trans. Parallel Distrib. Syst. 20(3), 404–418 (2009)CrossRef Ayguadé, E., Copty, N., Duran, A., Hoeflinger, J., Lin, Y., Massaioli, F., Teruel, X., Unnikrishnan, P., Zhang, G.: The design of OpenMP tasks. IEEE Trans. Parallel Distrib. Syst. 20(3), 404–418 (2009)CrossRef
2.
Zurück zum Zitat OpenMP Architecture Review Board: OpenMP Application Program Interface Version 4.5, November 2015 OpenMP Architecture Review Board: OpenMP Application Program Interface Version 4.5, November 2015
3.
Zurück zum Zitat Rajaraman, V., Murthy, C.S.R.: Parallel Computers: Architecture and Programming, pp. 378–380. Prentice-Hall, New Delhi (2004) Rajaraman, V., Murthy, C.S.R.: Parallel Computers: Architecture and Programming, pp. 378–380. Prentice-Hall, New Delhi (2004)
4.
Zurück zum Zitat Chen, R.S.: Finding Chapel’s Peak: Introducing Auto-Tuning to the Chapel Parallel Programming Language, November 2012 Chen, R.S.: Finding Chapel’s Peak: Introducing Auto-Tuning to the Chapel Parallel Programming Language, November 2012
5.
Zurück zum Zitat Chung, I-H., Hollingsworth, J.K.: Using Information from Prior Runs to Improve Automated Tuning Systems, November 2004 Chung, I-H., Hollingsworth, J.K.: Using Information from Prior Runs to Improve Automated Tuning Systems, November 2004
6.
Zurück zum Zitat Duran, A., Corbalán, J., Ayguadé, E.: An adaptive cut-off for task parallelism. In: Proceedings of the 2008 ACM/IEEE Conference on Supercomputing, November 2008 Duran, A., Corbalán, J., Ayguadé, E.: An adaptive cut-off for task parallelism. In: Proceedings of the 2008 ACM/IEEE Conference on Supercomputing, November 2008
7.
Zurück zum Zitat Barcelona Supercomputing Center: OmpSs Specification, 30 March 2017 Barcelona Supercomputing Center: OmpSs Specification, 30 March 2017
Metadaten
Titel
Adaptive and Architecture-Independent Task Granularity for Recursive Applications
verfasst von
Antoni Navarro
Sergi Mateo
Josep Maria Perez
Vicenç Beltran
Eduard Ayguadé
Copyright-Jahr
2017
DOI
https://doi.org/10.1007/978-3-319-65578-9_12

Neuer Inhalt