Skip to main content
QUICK REVIEW

[Paper Review] DASH: A C++ PGAS Library for Distributed Data Structures and Parallel Algorithms

Karl Fürlinger, Tobias Fuchs|arXiv (Cornell University)|Oct 5, 2016
Parallel Computing and Optimization TechniquesComputer Science25 references10 citations
TL;DR

DASH is a C++ template library that implements a compiler-free PGAS (Partitioned Global Address Space) model for scalable, portable parallel programming. It enables efficient, expressive, and interoperable distributed data structures and parallel algorithms using one-sided communication via MPI-3 RMA, achieving strong performance and linear scalability up to 9,800 cores while supporting hierarchical locality through Teams and STL-compatible abstractions.

ABSTRACT

We present DASH, a C++ template library that offers distributed data structures and parallel algorithms and implements a compiler-free PGAS (partitioned global address space) approach. DASH offers many productivity and performance features such as global-view data structures, efficient support for the owner-computes model, flexible multidimensional data distribution schemes and inter-operability with STL (standard template library) algorithms. DASH also features a flexible representation of the parallel target machine and allows the exploitation of several hierarchically organized levels of locality through a concept of Teams. We evaluate DASH on a number of benchmark applications and we port a scientific proxy application using the MPI two-sided model to DASH. We find that DASH offers excellent productivity and performance and demonstrate scalability up to 9800 cores.

Motivation & Objective

  • To address the limited adoption of PGAS models in HPC by providing a compiler-free, C++-based alternative that avoids vendor lock-in and long-term compiler maintenance.
  • To enable seamless integration of PGAS programming into existing C++ applications by allowing incremental migration of data structures.
  • To support complex, hierarchical machine topologies through a flexible Team abstraction for expressing multiple levels of locality.
  • To deliver high performance and productivity by combining C++ template abstractions with efficient one-sided communication and STL interoperability.
  • To demonstrate that PGAS programming can scale efficiently beyond traditional two-sided MPI models, especially for irregular and data-intensive workloads.

Proposed method

  • DASH is implemented as a C++ template library built on top of DART, a lightweight PGAS runtime that abstracts underlying one-sided communication substrates such as MPI-3 RMA, GASPI, or GASNet.
  • It provides global-view data structures like distributed arrays (e.g., dash::Array) and global pointers/references (e.g., GlobPtr, GlobRef) for direct access to remote memory locations.
  • The library uses a hierarchical team model to express locality, enabling fine-grained control over communication and synchronization across multiple levels of the machine topology.
  • It supports flexible multidimensional data distribution schemes and allows direct use of STL algorithms on distributed containers via global and local iterators.
  • DASH enables the owner-computes model by allowing each unit to directly access and operate on its local data, reducing communication overhead.
  • The implementation is interoperable with existing MPI-based applications, allowing incremental migration of data structures without rewriting the entire codebase.

Experimental results

Research questions

  • RQ1Can a compiler-free PGAS approach in C++ achieve high performance and scalability comparable to or better than traditional two-sided MPI programming?
  • RQ2How effectively can DASH support complex, irregular communication patterns common in data analytics and graph workloads?
  • RQ3To what extent does the team abstraction in DASH enable efficient expression of hierarchical locality in modern HPC systems?
  • RQ4Can DASH provide sufficient productivity and expressiveness through C++ templates while maintaining low runtime overhead?
  • RQ5How does DASH perform when porting a real scientific proxy application from MPI’s two-sided model to a one-sided PGAS model?

Key findings

  • DASH demonstrated strong scalability, achieving performance scaling up to 9,800 cores on benchmark applications and a scientific proxy application.
  • The ported scientific proxy application using DASH outperformed its original MPI two-sided implementation, indicating performance advantages of the one-sided PGAS model.
  • DASH enables seamless integration with existing C++ and MPI codebases by allowing incremental migration of individual data structures.
  • The library’s support for STL algorithms via global and local iterators significantly improves developer productivity and code expressiveness.
  • The team abstraction in DASH effectively models hierarchical locality, enabling optimized communication patterns across multi-level memory and compute topologies.
  • DASH’s compiler-free design avoids the long-term maintenance burden of language-level PGAS compilers while retaining high performance and portability.

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.