Skip to main content
QUICK REVIEW

[Paper Review] A Comparative Study of Asynchronous Many-Tasking Runtimes: Cilk, Charm++, ParalleX and AM++

Abhishek Kulkarni, Andrew Lumsdaine|arXiv (Cornell University)|Apr 1, 2019
Parallel Computing and Optimization TechniquesComputer Science19 references5 citations
TL;DR

This paper presents a comprehensive comparative analysis of four asynchronous many-tasking runtimes—Cilk, Charm++, ParalleX, and AM++—evaluating their programming models, execution models, and implementations. It identifies key differences in expressivity, scalability, and support for modern HPC challenges like fault tolerance and load balancing, concluding that asynchronous many-tasking is essential for exascale portability and performance.

ABSTRACT

We evaluate and compare four contemporary and emerging runtimes for high-performance computing(HPC) applications: Cilk, Charm++, ParalleX and AM++. We compare along three bases: programming model, execution model and the implementation on an underlying machine model. The comparison study includes a survey of each runtime system's programming models, their corresponding execution models, their stated features, and performance and productivity goals. We first qualitatively compare these runtimes with programmability in mind. The differences in expressivity and programmability arising from their syntax and semantics are clearly enunciated through examples common to all runtimes. Then, the execution model of each runtime, which acts as a bridge between the programming model and the underlying machine model, is compared and contrasted to that of the others. We also evaluate four mature implementations of these runtimes, namely: Intel Cilk++, Charm++ 6.5.1, AM++ and HPX, that embody the principles dictated by these models. With the emergence of the next generation of supercomputers, it is imperative for parallel programming models to evolve and address the integral challenges introduced by the increasing scale. Rather than picking a winner out of these four models under consideration, we end with a discussion on lessons learned, and how such a study is instructive in the evolution of parallel programming frameworks to address the said challenges.

Motivation & Objective

  • To evaluate and compare four leading asynchronous many-tasking runtimes—Cilk, Charm++, ParalleX, and AM++—in the context of exascale HPC.
  • To identify the strengths and limitations of each runtime in terms of programmability, performance, and support for large-scale, dynamic workloads.
  • To analyze how execution models bridge programming abstractions to underlying machine architectures, especially under increasing concurrency and heterogeneity.
  • To assess mature implementations (Intel Cilk++, Charm++ 6.5.1, AM++, HPX-3) in light of real-world performance and productivity goals.
  • To extract lessons for the future design of parallel programming frameworks that balance productivity, performance, and resilience at scale.

Proposed method

  • Conducted a qualitative comparison of programming models using common code examples to highlight differences in syntax, semantics, and expressivity.
  • Analyzed execution models focusing on task representation, scheduling strategies (e.g., work-stealing, SDAG, work-sharing), and runtime behaviors like load balancing and fault tolerance.
  • Evaluated implementation-level features across four mature systems: Intel Cilk++, Charm++ 6.5.1, AM++, and HPX-3, assessing support for accelerators, I/O, and global address spaces.
  • Used a structured comparison matrix to evaluate features such as fine-grained threading, message-driven computation, hierarchical execution, and topology-aware mapping.
  • Examined dynamic behaviors including adaptive parallelism, automatic data redistribution, and quiescence detection across systems.
  • Synthesized findings into design principles for next-generation runtimes, emphasizing asynchronous, latency-tolerant, and unified abstractions for data and task parallelism.

Experimental results

Research questions

  • RQ1How do the programming models of Cilk, Charm++, ParalleX, and AM++ differ in expressivity and ease of use for expressing parallelism?
  • RQ2What are the key distinctions in their execution models regarding task scheduling, synchronization, and support for dynamic load balancing?
  • RQ3To what extent do the mature implementations (Cilk++, Charm++ 6.5.1, AM++, HPX-3) support modern HPC requirements such as fault tolerance, accelerator integration, and scalable I/O?
  • RQ4How do these runtimes handle challenges like memory locality, concurrency granularity, and resilience at scale?
  • RQ5What common design patterns and lessons can be derived to guide the evolution of future parallel programming frameworks for exascale systems?

Key findings

  • Cilk and AM++ offer strong support for task-level parallelism with work-stealing and active message abstractions, respectively, but Cilk’s model is more limited in dynamic load balancing and fault tolerance.
  • Charm++ and ParalleX demonstrate superior support for distributed, message-driven execution with advanced features like SDAGs, quiescence detection, and adaptive load balancing.
  • AM++ and ParalleX show stronger native support for hierarchical execution and global address space, enabling more scalable and composable programming models.
  • All four runtimes support asynchronous execution, but only Charm++ and ParalleX provide comprehensive fault tolerance through checkpointing and resilient task scheduling.
  • HPX-3 (as an implementation of AM++) and Charm++ 6.5.1 show better integration with accelerators and support for fine-grained concurrency compared to Cilk and ParalleX.
  • The study confirms that asynchronous many-tasking models are essential for exascale systems, with dynamic, adaptive, and latency-tolerant execution being critical for performance and scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.