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 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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5de3c1f8-7797-4325-97d9-e136e7396e84Cited by top-tier papers5
- HammingMesh: A Network Topology for Large-Scale Deep LearningTorsten Hoefler, Tommaso Bonato, Daniele De Sensi, Salvatore Di Girolamo et al.SC 2022 · 20 citations
- Sparse Hamming Graph: A Customizable Network-on-Chip TopologyPatrick Iff, Maciej Besta, Matheus A. Cavalcante, Tim Fischer et al.DAC 2023 · 7 citations
- 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
- Deinsum: Practically I/O Optimal Multi-Linear AlgebraAlexandros Nikolaos Ziogas, Grzegorz Kwasniewski, Tal Ben-Nun, Timo Schneider et al.SC 2022 · 2 citations
- REPTILE: Performant Tiling of RecurrencesMuhammad Usman Tariq, Shiv Sundram, Fredrik KjolstadOOPSLA 2025 · 1 citation
Builds on1
Related papers
- 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
- Optimizing High-Performance Linpack for Exascale Accelerated ArchitecturesNoel Chalmers, Jakub Kurzak, Damon McDougall, Paul T. BaumanSC 2023 · 11 citations
- 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
- Spatula: A Hardware Accelerator for Sparse Matrix FactorizationAxel Feldmann, Daniel SánchezMICRO 2023 · 9 citations
- Fast Sparse Matrix Permutation for Mesh-Based Direct SolversBehrooz Zarebavani, Ahmed H. Mahmoud, Ana Dodik, Changcheng Yuan et al.SIGGRAPH 2026
