Resiliency in numerical algorithm design for extreme scale simulations

Emmanuel Agullo, Mirco Altenbernd, Hartwig Anzt, Leonardo Bautista-Gomez, Tommaso Benacchio, Luca Bonaventura, Hans-Joachim Bungartz, Sanjay Chatterjee, Florina M. Ciorba, Nathan DeBardeleben, Daniel Drzisga, Sebastian Eibl, Christian Engelmann, Wilfried N. Gansterer, Luc Giraud, Dominik Göddeke, Marco Heisig, Fabienne Jézéquel, Nils Kohl, Xiaoye Sherry Li, Romain Lion, Miriam Mehl, Paul Mycek, Michael Obersteiner, Enrique S. Quintana-Ortí, Francesco Rizzi, Ulrich Rüde, Martin Schulz, Fred Fung, Robert Speck, Linda Stals, Keita Teranishi, Samuel Thibault, Dominik Thönnes, Andreas Wagner, Barbara I. WohlmuthInt. J. High Perform. Comput. Appl 2020

Introduction

As high-performance computing (HPC) moves toward the exascale regime—systems capable of $10^{18}$ operations per second—the sheer scale of hardware components makes failures an inevitability. Traditional "checkpoint and restart" methods are becoming unsustainable; if the Mean Time Between Failures (MTBF) is shorter than the time required to save a state to disk, simulations cannot progress. Furthermore, "soft errors" like bit-flips can silently corrupt results. This paper explores a paradigm shift: moving resilience from the system level into the mathematical design of numerical algorithms.

Algorithmic Resilience Strategies

The core of this research involves categorizing how algorithms can survive in a "faulty" environment. Rather than relying solely on the operating system to catch errors, algorithms can be designed with varying degrees of awareness and robustness. The following taxonomy illustrates the decision path for handling errors within a system.

Taxonomy of error handling strategies in numerical algorithms, distinguishing between system-level detection and algorithmic approaches.

The strategies are broadly classified into three philosophies:

  1. Error Detecting Algorithms: These utilize mathematical properties (e.g., physical constraints or checksums in Algorithm-Based Fault Tolerance) to identify corruption that the hardware might miss.
  2. Error Aware Algorithms: These perform targeted recovery. For example, in Multigrid solvers, lost data on one node can be reconstructed using "ghost layers" from neighbors or lower-resolution grids, avoiding a full system restart.
  3. Error Oblivious Algorithms: These are mathematically robust enough to converge to the correct solution despite data loss or corruption. Examples include asynchronous iterative solvers that do not require global synchronization.

Key Insights for Exascale Design

The transition to resilient algorithms requires a "holistic" approach, often described as a "palette of greys" where the system, middleware, and application layers share the burden of error handling.

  • Detection vs. Correction: In numerical contexts, a silent data corruption (SDC) is often more dangerous than a hard crash. Algorithms have a unique advantage in detecting SDCs by checking for mathematical consistency.
  • The Reproducibility Trade-off: Exascale resilience may require abandoning bit-for-bit reproducibility. Stochastic or asynchronous methods might produce slightly different but equally valid results across different runs.
  • Efficiency Gains: Algorithmic resilience is often more energy-efficient than hardware redundancy (like triple modular redundancy) because it minimizes data movement and redundant computation.

Challenges and Future Directions

Despite the promise of these methods, several hurdles remain. Implementing resilient algorithms increases software complexity significantly, and there is a lack of standardized fault-injection tools for testing. Most legacy scientific codes assume a perfect machine, making porting a monumental task. Future research is directed toward mixed-precision methods and stochastic algorithms that inherently tolerate noise while maintaining performance.

Summary updated

BibTeX
@misc{agullo2020resiliency,
  author = {Emmanuel Agullo and Mirco Altenbernd and Hartwig Anzt and Leonardo Bautista-Gomez and Tommaso Benacchio and Luca Bonaventura and Hans-Joachim Bungartz and Sanjay Chatterjee and Florina M. Ciorba and Nathan DeBardeleben and Daniel Drzisga and Sebastian Eibl and Christian Engelmann and Wilfried N. Gansterer and Luc Giraud and Dominik Göddeke and Marco Heisig and Fabienne Jézéquel and Nils Kohl and Xiaoye Sherry Li and Romain Lion and Miriam Mehl and Paul Mycek and Michael Obersteiner and Enrique S. Quintana-Ortí and Francesco Rizzi and Ulrich Rüde and Martin Schulz and Fred Fung and Robert Speck and Linda Stals and Keita Teranishi and Samuel Thibault and Dominik Thönnes and Andreas Wagner and Barbara I. Wohlmuth},
  title = {{Resiliency in numerical algorithm design for extreme scale simulations}},
  year = {2020},
  eprint = {2010.13342},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.13342},
}
Figure