Skip to main content
QUICK REVIEW

[Paper Review] Better Process Mapping and Sparse Quadratic Assignment

Christian Schulz, Jesper Larsson Träff|arXiv (Cornell University)|Jan 1, 2017
Interconnection Networks and SystemsComputer Science26 references5 citations
TL;DR

This paper proposes a multilevel, sparse quadratic assignment approach for high-performance process mapping that exploits hierarchical communication topologies and sparse communication patterns. By integrating balanced graph partitioning with topology-aware model creation and optimized local search, the method achieves significantly faster convergence and up to 56.1% better solution quality than prior heuristics, particularly when using hierarchy-aware multisection model creation.

ABSTRACT

Communication and topology aware process mapping is a powerful approach to reduce communication time in parallel applications with known communication patterns on large, distributed memory systems. We address the problem as a quadratic assignment problem (QAP), and present algorithms to construct initial mappings of processes to processors, and fast local search algorithms to further improve the mappings. By exploiting assumptions that typically hold for applications and modern supercomputer systems such as sparse communication patterns and hierarchically organized communication systems, we obtain significantly more powerful algorithms for these special QAPs. Our multilevel construction algorithms employ perfectly balanced graph partitioning techniques and exploit the given communication system hierarchy in significant ways. We present improvements to a local search algorithm of Brandfass et al. (2013), and further decrease the running time by reducing the time needed to perform swaps in the assignment as well as by carefully constraining local search neighborhoods. We also investigate different algorithms to create the communication graph that is mapped onto the processor network. Experiments indicate that our algorithms not only dramatically speed up local search, but due to the multilevel approach also find much better solutions in practice.

Motivation & Objective

  • To address the challenge of minimizing communication cost in large-scale parallel applications on distributed-memory systems with known communication patterns.
  • To improve the efficiency and solution quality of process mapping by exploiting sparse communication patterns and hierarchical hardware topologies.
  • To develop faster local search algorithms with constrained neighborhoods and optimized swap evaluation for quadratic assignment problems (QAP).
  • To investigate the impact of different model creation strategies—particularly recursive bisection vs. hierarchy-aware multisection—on final mapping quality.
  • To enable scalable process mapping for systems with up to 2^19 cores by using online distance computation and sparse matrix representation.

Proposed method

  • Models process mapping as a sparse quadratic assignment problem (QAP), using a communication matrix C and topology cost matrix D to represent communication volume and inter-processor distance.
  • Employs a multilevel framework combining perfectly balanced graph partitioning with hierarchical multisection algorithms that respect the system's physical topology hierarchy.
  • Introduces a novel local search algorithm with an N10 neighborhood that reduces swap evaluation time and constrains search space using communication graph structure.
  • Uses sparse representation of the communication matrix and online distance computation to enable scalability beyond main memory limits.
  • Applies two model creation strategies: recursive bisection (RB) and hierarchy-aware multisection (RMS), with RMS explicitly incorporating system topology into the communication graph construction.
  • Implements and evaluates the approach within the KaHIP graph partitioning framework, integrating all components into a unified pipeline for process mapping.

Experimental results

Research questions

  • RQ1How does exploiting sparse communication patterns and hierarchical topologies improve the quality and efficiency of process mapping in large-scale HPC systems?
  • RQ2To what extent can local search performance be accelerated through optimized neighborhood exploration and faster swap evaluation?
  • RQ3How does the choice of model creation algorithm—recursive bisection versus hierarchy-aware multisection—affect the final solution quality of the process mapping pipeline?
  • RQ4Can online distance computation enable scalable process mapping for systems with up to 2^19 cores when full distance matrices exceed memory capacity?
  • RQ5What is the relative performance gain of the proposed multilevel approach compared to baseline heuristics like Müller-Merbach and Brandfass et al.?

Key findings

  • The proposed TopDown+N10 algorithm with hierarchy-aware model creation (RMS) achieves a 56.1% improvement in solution quality over the Müller-Merbach baseline using recursive bisection (RB).
  • The identity mapping with RMS-based model creation improves solution quality by 51.6% over Müller-Merbach with RB, demonstrating the strong impact of topology-aware model creation.
  • Local search with the N10 neighborhood reduces running time by significantly optimizing swap evaluation and constraining the search space, leading to faster convergence.
  • Online distance computation enables the handling of problems with up to 2^19 processes, overcoming memory limitations of storing full distance matrices.
  • The multilevel construction approach with high-quality partitioning and topology-aware model creation consistently outperforms baseline methods in both speed and solution quality across all tested problem sizes.
  • The combination of TopDown initialization and N10 local search with RMS model creation yields the best overall performance, with a 54.1% improvement over Müller-Merbach using RB and 56.1% with local search.

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.