Skip to main content
QUICK REVIEW

[Paper Review] Thread Parallelism for Highly Irregular Computation in Anisotropic Mesh Adaptation

Georgios Rokos, Gerard Gorman|arXiv (Cornell University)|May 18, 2015
Parallel Computing and Optimization TechniquesComputer Science1 references7 citations
TL;DR

This paper presents a thread-parallel algorithm for highly irregular anisotropic mesh adaptation using worklist-based graph-mutating operations. It achieves 60% parallel efficiency on Intel Xeon Sandy Bridge and 50% on AMD Opteron Magny-Cours by combining round-based independent set processing, deferred updates, atomic worklist creation, and work-stealing to manage complex data dependencies safely and scalably in shared-memory systems.

ABSTRACT

Thread-level parallelism in irregular applications with mutable data dependencies presents challenges because the underlying data is extensively modified during execution of the algorithm and a high degree of parallelism must be realized while keeping the code race-free. In this article we describe a methodology for exploiting thread parallelism for a class of graph-mutating worklist algorithms, which guarantees safe parallel execution via processing in rounds of independent sets and using a deferred update strategy to commit changes in the underlying data structures. Scalability is assisted by atomic fetch-and-add operations to create worklists and work-stealing to balance the shared-memory workload. This work is motivated by mesh adaptation algorithms, for which we show a parallel efficiency of 60% and 50% on Intel(R) Xeon(R) Sandy Bridge and AMD Opteron(tm) Magny-Cours systems, respectively, using these techniques.

Motivation & Objective

  • To enable scalable thread-level parallelism in highly irregular mesh adaptation algorithms with mutable data dependencies.
  • To address the challenge of safely parallelizing graph-mutating worklist algorithms with dynamic topology changes and complex data access patterns.
  • To improve performance and scalability on modern shared-memory manycore architectures (e.g., Intel Xeon, AMD Opteron) for finite element simulations.
  • To develop a methodology that supports practical parallel efficiency despite irregular workloads and NUMA effects.
  • To integrate the approach into the open-source PRAgMaTIc framework for real-world application in adaptive FEM/FVM simulations.

Proposed method

  • The algorithm processes mesh adaptation operations in rounds of independent sets using graph coloring to ensure data race freedom.
  • A deferred update strategy commits changes to data structures only after each round, avoiding conflicts during concurrent execution.
  • Atomic fetch-and-add operations are used to safely construct worklists in parallel, minimizing contention.
  • Work-stealing load balancing is applied to distribute work across threads and mitigate load imbalances.
  • The approach is integrated into a shared-memory parallel framework using OpenMP and optimized for modern multicore and manycore systems.
  • The method supports dynamic mesh topology mutation (e.g., edge swaps, refinements, collapses) while maintaining thread safety and scalability.

Experimental results

Research questions

  • RQ1Can thread-level parallelism be effectively and safely applied to irregular mesh adaptation algorithms with mutable data dependencies?
  • RQ2How can high parallel efficiency be achieved in the presence of complex, dynamic data access patterns and topology mutations?
  • RQ3What combination of algorithmic techniques enables scalable performance on modern manycore shared-memory systems?
  • RQ4To what extent can work-stealing and deferred updates mitigate load imbalance and data races in irregular graph-mutating worklists?
  • RQ5How does the methodology scale across multiple sockets and NUMA architectures in real-world benchmarks?

Key findings

  • The proposed methodology achieves 60% parallel efficiency on a dual-socket Intel Xeon Sandy Bridge system with 40 logical cores.
  • On a quad-socket AMD Opteron Magny-Cours system, the framework achieves 50% parallel efficiency, demonstrating robustness across different architectures.
  • Smoothing operations scale best due to their higher computational intensity, achieving over 50% efficiency even in the quad-socket configuration.
  • NUMA effects become pronounced with increasing socket count, but the framework maintains good performance despite this challenge.
  • The use of graph coloring, deferred updates, atomic operations, and work-stealing enables safe and scalable execution of irregular mesh adaptation workloads.
  • The approach is successfully integrated into the open-source PRAgMaTIc framework and validated on 2D and 3D synthetic benchmarks with multi-scale features and shock fronts.

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.