Abstract
As computers reach exascale and beyond, the incidence of faults will increase. Solutions to this problem are an active research topic. We focus on strategies to make the preconditioned conjugate gradient (PCG) solver resilient against node failures, specifically, the exact state reconstruction (ESR) method, which exploits redundancies in PCG. Reducing the frequency at which redundant information is stored lessens the runtime overhead. However, after the node failure, the solver must restart from the last iteration for which redundant information was stored, which increases recovery overhead. This formulation highlights the method's similarities to checkpoint-restart (CR). Thus, this method, which we call ESR with periodic storage (ESRP), can be considered a form of algorithm-based checkpoint-restart. The state is stored implicitly, by exploiting redundancy inherent to the algorithm, rather than explicitly as in CR. We also minimize the amount of data to be stored and retrieved compared to CR, but additional computation is required to reconstruct the solver's state. In this paper, we describe the necessary modifications to ESR to convert it into ESRP, and perform an experimental evaluation. We compare ESRP experimentally with previously-existing ESR and application-level in-memory CR. Our results confirm that the overhead for ESR is reduced significantly, both in the failure-free case, and if node failures are introduced. In the former case, the overhead of ESRP is usually lower than that of CR. However, CR is faster if node failures happen. We claim that these differences can be alleviated by the implementation of more appropriate preconditioners.
Introduction
In the era of exascale computing, the increasing complexity and component count of supercomputers make hardware failures, particularly node failures, an inevitable challenge. Traditional fault-tolerance relies on Checkpoint-Restart (CR), an algorithm-agnostic approach that periodically saves the entire application state to stable storage. While robust, CR often suffers from significant data movement overhead and poor scalability.
This research focuses on the Preconditioned Conjugate Gradient (PCG) method, a fundamental solver for large linear systems in science and engineering. We propose moving from external checkpoints toward Algorithm-Based Fault Tolerance (ABFT). Specifically, we enhance the Exact State Reconstruction (ESR) method to create a more efficient hybrid strategy: ESR with Periodic storage (ESRP).
Methodology: ESRP
ESR leverages the inherent redundancy in the Sparse Matrix-Vector product (SpMV) communication. By using an augmented SpMV (ASpMV), nodes can store redundant copies of search directions on neighbors. ESRP improves upon this by introducing periodic storage and a redundancy queue.
Periodic Storage and Redundancy Queue
Instead of incurring the cost of storing redundant information at every iteration, ESRP performs storage every $T$ iterations. To ensure resilience against failures occurring during a storage phase, the algorithm maintains a queue of the three most recent redundant search direction copies. This allows the system to roll back to a known consistent state even if a failure interrupts a storage cycle.
Reconstruction Phase
Upon node failure, surviving nodes utilize the redundant data and the system matrix to solve a local "inner" linear system. This process mathematically reconstructs the exact state of the lost node, allowing the solver to resume its original trajectory without losing convergence progress. This "implicit" state storage minimizes data volume compared to explicit CR but requires additional computation during recovery.
Experimental Evaluation
The performance of ESRP was evaluated on the Vienna Scientific Cluster (VSC3) using 128 nodes. The study utilized two large-scale symmetric positive-definite (SPD) matrices from the SuiteSparse Matrix Collection, detailed in the table below.
Results and Discussion
- Overhead Reduction: ESRP drastically reduces failure-free overhead compared to standard ESR. For the
Emilia_923matrix with 8 redundant copies, overhead fell from 9.1% (ESR) to just 1.1% (ESRP with $T=100$). - Comparison with In-Memory CR (IMCR): ESRP generally exhibits lower failure-free overhead than application-level IMCR. However, IMCR remains faster during the recovery phase because it avoids the computational cost of solving the reconstruction system.
- Convergence Accuracy: The reconstruction is exact enough to maintain the solver's convergence path, with only negligible drift from floating-point arithmetic. This exactness is vital for PCG, which is sensitive to its search direction history.
Conclusion and Future Work
ESRP represents a significant step toward efficient, algorithm-aware fault tolerance for exascale solvers. While it excels in reducing runtime overhead, the recovery phase's speed is currently limited by the local reconstruction math. Future work will focus on optimizing this phase through more sophisticated preconditioners and investigating the impact of different matrix partitioning strategies on redundant data storage efficiency.
Summary updated