Cargando…
The OCR-Vx experience: lessons learned from designing and implementing a task-based runtime system
Task-based runtime systems are an important branch of parallel programming research, since tasks decouple computation from the compute units, giving the runtime systems greater flexibility than a thread-based solution. This makes it easier to deal with the ever-increasing complexity of parallel arch...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer US
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9184424/ https://www.ncbi.nlm.nih.gov/pubmed/35698470 http://dx.doi.org/10.1007/s11227-022-04355-0 |
_version_ | 1784724513552859136 |
---|---|
author | Dokulil, Jiri Benkner, Siegfried |
author_facet | Dokulil, Jiri Benkner, Siegfried |
author_sort | Dokulil, Jiri |
collection | PubMed |
description | Task-based runtime systems are an important branch of parallel programming research, since tasks decouple computation from the compute units, giving the runtime systems greater flexibility than a thread-based solution. This makes it easier to deal with the ever-increasing complexity of parallel architectures by providing a separation of concerns—the specification of parallelism is separated from the implementation of the parallel computations on a specific architecture. The Open Community Runtime is one such system, aimed at large-scale parallel systems. Unlike many other task-based runtime systems, the creators not only provided an implementation but there is also a comprehensive specification document. This has allowed us to create an independent implementation, called OCR-Vx. In this article, we present our experience of developing the runtime system, put our work in the context of the specification and the other implementations, and describe key lessons that we have learned during our work. We discuss the design and implementation issues of task-based runtime systems and applications including task synchronization and scheduling, data management, memory consistency, the relation between shared-memory and distributed-memory runtime systems, NUMA architectures, and heterogeneous systems. The article is aimed at audiences not familiar with OCR, since we believe these lessons could be valuable for developers working on other task-based runtime systems or designing new ones. |
format | Online Article Text |
id | pubmed-9184424 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Springer US |
record_format | MEDLINE/PubMed |
spelling | pubmed-91844242022-06-11 The OCR-Vx experience: lessons learned from designing and implementing a task-based runtime system Dokulil, Jiri Benkner, Siegfried J Supercomput Article Task-based runtime systems are an important branch of parallel programming research, since tasks decouple computation from the compute units, giving the runtime systems greater flexibility than a thread-based solution. This makes it easier to deal with the ever-increasing complexity of parallel architectures by providing a separation of concerns—the specification of parallelism is separated from the implementation of the parallel computations on a specific architecture. The Open Community Runtime is one such system, aimed at large-scale parallel systems. Unlike many other task-based runtime systems, the creators not only provided an implementation but there is also a comprehensive specification document. This has allowed us to create an independent implementation, called OCR-Vx. In this article, we present our experience of developing the runtime system, put our work in the context of the specification and the other implementations, and describe key lessons that we have learned during our work. We discuss the design and implementation issues of task-based runtime systems and applications including task synchronization and scheduling, data management, memory consistency, the relation between shared-memory and distributed-memory runtime systems, NUMA architectures, and heterogeneous systems. The article is aimed at audiences not familiar with OCR, since we believe these lessons could be valuable for developers working on other task-based runtime systems or designing new ones. Springer US 2022-03-02 2022 /pmc/articles/PMC9184424/ /pubmed/35698470 http://dx.doi.org/10.1007/s11227-022-04355-0 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Dokulil, Jiri Benkner, Siegfried The OCR-Vx experience: lessons learned from designing and implementing a task-based runtime system |
title | The OCR-Vx experience: lessons learned from designing and implementing a task-based runtime system |
title_full | The OCR-Vx experience: lessons learned from designing and implementing a task-based runtime system |
title_fullStr | The OCR-Vx experience: lessons learned from designing and implementing a task-based runtime system |
title_full_unstemmed | The OCR-Vx experience: lessons learned from designing and implementing a task-based runtime system |
title_short | The OCR-Vx experience: lessons learned from designing and implementing a task-based runtime system |
title_sort | ocr-vx experience: lessons learned from designing and implementing a task-based runtime system |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9184424/ https://www.ncbi.nlm.nih.gov/pubmed/35698470 http://dx.doi.org/10.1007/s11227-022-04355-0 |
work_keys_str_mv | AT dokuliljiri theocrvxexperiencelessonslearnedfromdesigningandimplementingataskbasedruntimesystem AT benknersiegfried theocrvxexperiencelessonslearnedfromdesigningandimplementingataskbasedruntimesystem AT dokuliljiri ocrvxexperiencelessonslearnedfromdesigningandimplementingataskbasedruntimesystem AT benknersiegfried ocrvxexperiencelessonslearnedfromdesigningandimplementingataskbasedruntimesystem |