liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Using Task Parallelism for Distributed Parallel Skeleton Programming: Implementing a StarPU Back-End to SkePU 2
Linköping University, Department of Computer and Information Science.
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Distribuerade parallellprogrammeringsskelett genom uppgiftsparallellism : Implementation av en StarPU-baserad SkePU 2 backend (Swedish)
Abstract [en]

We extended the parallel skeleton programming framework SkePU 2 with a new back-end utilizing StarPU, a task programming framework for hybrid and distributed architectures. The aim was to allow SkePU to run on distributed clusters, using MPI through StarPU.

The implemented back-end distributes data and work across participating ranks. While we did not implement the full SkePU API, the Map and Reduce1D skeletons were successfully implemented. During the implementation, we discovered some differences in API design between SkePU and StarPU. We combine the type-safe templates used in the SkePU API with the C-style void*-heavy API of StarPU. This requires the implementation to use more complex templates than normally desired. While we could preserve most of the SkePU 2 API when moving to a distributed memory situation, some parts had to change. In particular, we needed to change the semantics of SkePU 2 containers with regards to iterators and random access.

We benchmarked the performance of the implemented back-end against an MPI+OpenMP reference implementation on two problems, n-body and a simple reduction. While the n-body problem demonstrates promising scaling properties, reductions do not scale well to larger number of ranks. A performance comparison against the MPI+OpenMP reference implementation reveals that, aside from the higher communication overhead, there may also be some overhead in the work performed between communications, potentially performing at below 60-70% of the reference. In most cases, the new back-end to SkePU exhibits significantly lower performance than the reference.

Extending the implemented solution to cover the full API and improving performance could provide a high level interface to distributed programming for application programmers. Indeed, subsequent developments of SkePU 3 extend and improve our StarPU back-end.

Place, publisher, year, edition, pages
2024. , p. 68
Keywords [en]
HPC, StarPU, SkePU, parallel porgramming, skeleton programming, distributed systems, MPI
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:liu:diva-203609ISRN: LIU-IDA/LITH-EX-A--24/009--SEOAI: oai:DiVA.org:liu-203609DiVA, id: diva2:1858938
Subject / course
Computer Engineering
Presentation
2024-03-18, Alan Turing, Linköping university, Linköping, 15:00 (English)
Supervisors
Examiners
Available from: 2024-05-21 Created: 2024-05-20 Last updated: 2024-05-21Bibliographically approved

Open Access in DiVA

fulltext(626 kB)269 downloads
File information
File name FULLTEXT01.pdfFile size 626 kBChecksum SHA-512
287d34fb89c301835b3fb3eab8f2b423ca6b51bd802122a8748830bb3c41fdd73009b9a885718035337a696439d931746337ebb6ccc26560da78e9c6329b4ac2
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Henrik, Henriksson
By organisation
Department of Computer and Information Science
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 275 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 651 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf