Quantifying Overheads in Charm++ and HPX using Task Bench

Nanmiao Wu, Ioannis Gonidelis, Simeng Liu, Zane Fink, Nikunj Gupta +4 more
7/21/2022
cs.DCcs.PF

Official code: StanfordLegion/task-bench (46 stars, C++, Apache-2.0, last commit 2026-04-17).

Abstract

Asynchronous Many-Task (AMT) runtime systems take advantage of multi-core architectures with light-weight threads, asynchronous executions, and smart scheduling. In this paper, we present the comparison of the AMT systems Charm++ and HPX with the main stream MPI, OpenMP, and MPI+OpenMP libraries using the Task Bench benchmarks.

Show full abstract

Charm++ is a parallel programming language based on C++, supporting stackless tasks as well as light-weight threads asynchronously along with an adaptive runtime system. HPX is a C++ library for concurrency and parallelism, exposing C++ standards conforming API. First, we analyze the commonalities, differences, and advantageous scenarios of Charm++ and HPX in detail. Further, to investigate the potential overheads introduced by the tasking systems of Charm++ and HPX, we utilize an existing parameterized benchmark, Task Bench, wherein 15 different programming systems were implemented, e.g., MPI, OpenMP, MPI + OpenMP, and extend Task Bench by adding HPX implementations. We quantify the overheads of Charm++, HPX, and the main stream libraries in different scenarios where a single task and multi-task are assigned to each core, respectively. We also investigate each system's scalability and the ability to hide the communication latency.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A task benchmark

4636C++, ShellMay 24, 20187 months agoApache-2.0

Similar Papers

Cite this paper

@article{wu2022quantifying,
  title  = {Quantifying Overheads in Charm++ and HPX using Task Bench},
  author = {Nanmiao Wu and Ioannis Gonidelis and Simeng Liu and Zane Fink and Nikunj Gupta and Karame Mohammadiporshokooh and Patrick Diehl and Hartmut Kaiser and Laxmikant V. Kale},
  year   = {2022},
  eprint = {2207.12127},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.12127}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.12127.svg)](https://codeofpaper.com/paper/2207.12127)

Discussion