Lune

SC2021Top-tier venue

On the parallel I/O optimality of linear algebra kernels: near-optimal matrix factorizations

Grzegorz Kwasniewski, Marko Kabic, Tal Ben-Nun, Alexandros Nikolaos Ziogas, Jens Eirik Saethre, André Gaillard, Timo Schneider, Maciej Besta, Anton Kozhevnikov, Joost VandeVondele, Torsten Hoefler

Abstract

Matrix factorizations are among the most important building blocks of scientific computing. However, state-of-the-art libraries are not communication-optimal, underutilizing current parallel architectures. We present novel algorithms for Cholesky and LU factorizations that utilize an asymptotically communication-optimal 2.5D decomposition. We first establish a theoretical framework for deriving parallel I/O lower bounds for linear algebra kernels, and then utilize its insights to derive Cholesky and LU schedules, both communicating N3/(PM)N^{3}/(P\sqrt{M}) elements per processor, where M is the local memory size. The empirical results match our theoretical analysis: our implementations communicate significantly less than Intel MKL, SLATE, and the asymptotically communication-optimal CANDMC and CAPITAL libraries. Our code outperforms these state-of-the-art libraries in almost all tested scenarios, with matrix sizes ranging from 2,048 to 524,288 on up to 512 CPU nodes of the Piz Daint supercomputer, decreasing the time-to-solution by up to three times. Our code is ScaLAPAck-compatible and available as an open-source library.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Symmetric Block-Cyclic Distribution: Fewer Communications Leads to Faster Dense Cholesky Factorization cites Automated derivation of parametric data movement lower bounds for affine programs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. HammingMesh: A Network Topology for Large-Scale Deep LearningTorsten Hoefler, Tommaso Bonato, Daniele De Sensi, Salvatore Di Girolamo et al.SC 2022 · 20 citations
  2. Sparse Hamming Graph: A Customizable Network-on-Chip TopologyPatrick Iff, Maciej Besta, Matheus A. Cavalcante, Tim Fischer et al.DAC 2023 · 7 citations
  3. Symmetric Block-Cyclic Distribution: Fewer Communications Leads to Faster Dense Cholesky FactorizationOlivier Beaumont, Philippe Duchon, Lionel Eyraud-Dubois, Julien Langou et al.SC 2022 · 7 citations
  4. Deinsum: Practically I/O Optimal Multi-Linear AlgebraAlexandros Nikolaos Ziogas, Grzegorz Kwasniewski, Tal Ben-Nun, Timo Schneider et al.SC 2022 · 2 citations
  5. REPTILE: Performant Tiling of RecurrencesMuhammad Usman Tariq, Shiv Sundram, Fredrik KjolstadOOPSLA 2025 · 1 citation

Builds on1

  1. Automated derivation of parametric data movement lower bounds for affine programsAuguste Olivry, Julien Langou, Louis-Noël Pouchet, P. Sadayappan et al.PLDI 2020

Related papers

  1. DAS-ILU: A Distributed Asynchronous Parallel ILU Factorization Based on Domain DecompositionFan Yuan, Shengguo Li, Xiaojian Yang, Yunqing Huang et al.SC 2025 · 1 citation
  2. Optimizing High-Performance Linpack for Exascale Accelerated ArchitecturesNoel Chalmers, Jakub Kurzak, Damon McDougall, Paul T. BaumanSC 2023 · 11 citations
  3. Caracal: A GPU-Resident Sparse LU Solver with Lightweight Fine-Grained SchedulingJie Ren, Tingxuan Zhong, Yuxi Hong, Guofeng Feng et al.SC 2025 · 1 citation
  4. Spatula: A Hardware Accelerator for Sparse Matrix FactorizationAxel Feldmann, Daniel SánchezMICRO 2023 · 9 citations
  5. CA3DMM: A New Algorithm Based on a Unified View of Parallel Matrix MultiplicationHua Huang, Edmond ChowSC 2022 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines