Skip to main content
QUICK REVIEW

[Paper Review] Parallel algorithms in linear algebra

Richard P. Brent|arXiv (Cornell University)|Apr 30, 2010
Parallel Computing and Optimization TechniquesComputer Science55 references13 citations
TL;DR

This paper presents parallel algorithms for fundamental linear algebra problems—particularly Gaussian elimination, QR factorization, and SVD—on distributed-memory MIMD architectures. It emphasizes communication efficiency, load balancing, and scalability, showing that linear speedup is achievable when problem size scales with processor count, and demonstrates stable, scalable solutions using virtual processors and data distribution strategies.

ABSTRACT

This report provides an introduction to algorithms for fundamental linear algebra problems on various parallel computer architectures, with the emphasis on distributed-memory MIMD machines. To illustrate the basic concepts and key issues, we consider the problem of parallel solution of a nonsingular linear system by Gaussian elimination with partial pivoting. This problem has come to be regarded as a benchmark for the performance of parallel machines. We consider its appropriateness as a benchmark, its communication requirements, and schemes for data distribution to facilitate communication and load balancing. In addition, we describe some parallel algorithms for orthogonal (QR) factorization and the singular value decomposition (SVD).

Motivation & Objective

  • To address the challenge of designing efficient, scalable parallel algorithms for core linear algebra problems on distributed-memory MIMD machines.
  • To evaluate Gaussian elimination with partial pivoting as a benchmark for parallel machines, analyzing its communication and load-balancing requirements.
  • To explore alternative stable methods such as QR and SVD via Hestenes and Jacobi-type algorithms to avoid numerical instability from pivoting.
  • To investigate how problem size scaling enables linear speedup despite inherent serial components, using Amdahl’s Law with scalable problem growth.
  • To provide practical algorithmic designs for SVD and eigenvalue problems using virtual processors and systolic array mappings.

Proposed method

  • Uses virtual processors to abstract from physical processor limits, enabling algorithm design independent of hardware constraints.
  • Applies data distribution strategies—block, scattered, or column-wrapped representations—to minimize inter-processor communication and balance load.
  • Employs Gaussian elimination with partial pivoting as a benchmark, analyzing its communication overhead and scalability on distributed systems.
  • Proposes QR factorization as a stable alternative to LU decomposition, avoiding pivoting while increasing floating-point operations by a constant factor.
  • Adapts Hestenes and Jacobi methods for SVD and symmetric eigenvalue problems, using orthogonal transformations and parallel sweeps.
  • Utilizes the property that SVD of $\pi_m A \pi_n^{-1}$ is equivalent to SVD of $A$ to justify block or reordered data layouts without loss of generality.

Experimental results

Research questions

  • RQ1Can Gaussian elimination with partial pivoting serve as a scalable and representative benchmark for distributed-memory parallel machines?
  • RQ2How can data distribution and communication patterns be optimized to minimize overhead in parallel linear algebra algorithms?
  • RQ3What are the trade-offs between numerical stability and computational efficiency when avoiding pivoting in Gaussian elimination?
  • RQ4Can parallel SVD and eigenvalue algorithms achieve linear speedup when problem size scales with processor count?
  • RQ5To what extent can traditional serial algorithms (e.g., QR-based SVD) be adapted efficiently for parallel architectures like systolic arrays or shared-memory MIMD systems?

Key findings

  • Linear speedup is achievable when problem size $N$ scales with the number of processors $P$, satisfying $N \geq KP$, which ensures $E_P \geq 1/2$ under Amdahl’s Law.
  • The use of virtual processors allows efficient algorithm design independent of physical hardware limits, enabling scalable analysis and implementation.
  • QR factorization provides a numerically stable alternative to Gaussian elimination without pivoting, at the cost of increased arithmetic operations.
  • The Hestenes method for SVD and Jacobi method for symmetric eigenvalue problems can be parallelized effectively, achieving $O(mn^2 S / P)$ time with $P = O(n)$ processors.
  • For $P = O(n^2)$ processors, SVD can be computed in $O(n^3 S / P)$ time using block-structured QR and Kogbetliantz-style methods, preserving efficiency.
  • On square systolic arrays, symmetric matrix tridiagonalization can be achieved in $O(n \log n)$ time, a significant improvement over serial $O(n^3)$, though this may limit the efficiency of fast serial algorithms on parallel machines.

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.