Skip to main content
QUICK REVIEW

[Paper Review] Finite Projective Geometry based Fast, Conflict-free Parallel Matrix Computations

Shreeniwas Sapre, Hrishikesh Sharma|arXiv (Cornell University)|Jul 5, 2011
Interconnection Networks and SystemsComputer Science12 references3 citations
TL;DR

This paper proposes a finite projective geometry-based data distribution and interconnection scheme for accelerating parallel matrix computations, particularly conjugate gradient (CG) and LU/Cholesky decomposition. By leveraging symmetric incidence relations in projective geometries, the method enables conflict-free, communication-optimized parallel execution with provably optimal load balancing and reduced communication overhead, achieving significant speedups over conventional mesh-based schemes.

ABSTRACT

Matrix computations, especially iterative PDE solving (and the sparse matrix vector multiplication subproblem within) using conjugate gradient algorithm, and LU/Cholesky decomposition for solving system of linear equations, form the kernel of many applications, such as circuit simulators, computational fluid dynamics or structural analysis etc. The problem of designing approaches for parallelizing these computations, to get good speedups as much as possible as per Amdahl's law, has been continuously researched upon. In this paper, we discuss approaches based on the use of finite projective geometry graphs for these two problems. For the problem of conjugate gradient algorithm, the approach looks at an alternative data distribution based on projective-geometry concepts. It is proved that this data distribution is an optimal data distribution for scheduling the main problem of dense matrix-vector multiplication. For the problem of parallel LU/Cholesky decomposition of general matrices, the approach is motivated by the recently published scheme for interconnects of distributed systems, perfect difference networks. We find that projective-geometry based graphs indeed offer an exciting way of parallelizing these computations, and in fact many others. Moreover, their applications ranges from architectural ones (interconnect choice) to algorithmic ones (data distributions).

Motivation & Objective

  • To address the performance bottlenecks in parallel matrix computations—especially sparse matrix-vector multiplication (SpMV) and LU/Cholesky decomposition—by designing a communication-optimized, conflict-free interconnection and data distribution scheme.
  • To improve Amdahl’s law-limited speedups by minimizing communication overhead and ensuring balanced computational load across processors.
  • To develop a novel data distribution, the 'projective data distribution,' that is provably communication-optimal for dense matrix-vector multiplication in the conjugate gradient algorithm.
  • To design efficient scheduling and interconnection schemes for LU/Cholesky decomposition using 4-dimensional projective space graphs, improving upon conventional mesh-based topologies.
  • To validate the effectiveness of projective geometry-based architectures through simulations comparing performance metrics like cycle counts, computation time, and processor utilization.

Proposed method

  • Uses finite projective geometry graphs (specifically 4-dimensional projective spaces) as the underlying topology for processor and memory interconnection, based on incidence and subsumption relations between subspaces.
  • Employs automorphisms of projective geometries to generate perfect-access patterns and sequences, ensuring all processors and memories communicate simultaneously without conflicts.
  • Introduces a novel 'projective data distribution' for matrix data, derived from geometric incidence, to minimize communication volume and balance computational load in SpMV kernels.
  • Develops two scheduling schemes (PG-1 and PG-2) for LU/Cholesky decomposition using indirect incidences and hierarchical subspaces, enabling efficient data movement and computation scheduling.
  • Simulates performance across various block sizes (e.g., 8×8, 12×12, 24×24) and compares with mesh-based interconnects using metrics like total cycles, computation/communication cycles, and normalized execution time.
  • Uses a software prototype to evaluate performance differences between conventional row-wise distribution and the proposed projective distribution, focusing on communication efficiency and load balancing.

Experimental results

Research questions

  • RQ1Can a finite projective geometry-based data distribution achieve provably optimal communication complexity for dense matrix-vector multiplication in the conjugate gradient algorithm?
  • RQ2How does the projective geometry-based interconnection topology compare to conventional mesh-based topologies in terms of processor utilization and total execution time for LU/Cholesky decomposition?
  • RQ3To what extent does the projective data distribution reduce communication overhead compared to traditional row-wise or block-wise distributions in SpMV kernels?
  • RQ4Can the symmetry and automorphism properties of projective geometries be leveraged to design conflict-free, high-bandwidth communication patterns in parallel matrix computations?
  • RQ5How do performance metrics such as cycle counts and normalized computation time scale with decreasing block size in projective geometry-based schemes versus mesh-based schemes?

Key findings

  • The projective data distribution is provably communication-optimal for dense matrix-vector multiplication, significantly reducing communication volume compared to conventional row-wise distribution.
  • For the conjugate gradient algorithm, the projective distribution outperforms row-wise distribution beyond 20–30 processors, with performance improvements becoming increasingly evident at larger process counts.
  • The PG-2 scheme for LU/Cholesky decomposition achieves substantially fewer average communication cycles (e.g., 31.14 cycles for 12×12 blocks) compared to the mesh scheme (61.35 cycles), while maintaining similar computation cycles.
  • Processor utilization is markedly higher in projective geometry-based schemes than in the mesh-based scheme across all block sizes, with PG-2 showing the best balance of low communication and high parallelism.
  • Performance improves almost linearly with decreasing block size due to finer-grained load distribution, and the projective schemes consistently outperform the mesh in both total time and cycle efficiency.
  • The architecture is practical for medium-sized matrices, as each processor stores only ~n²/155 matrix elements—feasible in main memory or L1 cache—enabling implementation using off-the-shelf processors and custom low-power boards.

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.