To Repair or Not to Repair: Assessing Fault Resilience in MPI Stencil Applications
Roberto Rocco, Elisabetta Boella, Daniele Gregori, Gianluca Palermo
TL;DR
This work tackles fault resilience in MPI stencil applications by combining the ULFM extension with the Legio fault-resilience framework to continue execution using only non-failed processes, trading some result accuracy for faster recovery. It identifies limitations of Legio for stencil patterns, then introduces a decoupled, decoupled-topology approach and incomplete-topology strategies to preserve topology information across repairs. The iPiC3D application is used as a concrete use case to implement fault-aware changes (including A* routing for particles) and to evaluate two real plasma scenarios under fault injection, showing that meaningful results can be extracted without full rollback in many cases. The study highlights that while graceful degradation is valuable, it does not universally replace checkpoint/restart; a combined strategy can reduce time to result when faults occur near the end of runs, guiding future adaptive recovery decisions.
Abstract
With the increasing size of HPC computations, faults are becoming more and more relevant in the HPC field. The MPI standard does not define the application behaviour after a fault, leaving the burden of fault management to the user, who usually resorts to checkpoint and restart mechanisms. This trend is especially true in stencil applications, as their regular pattern simplifies the selection of checkpoint locations. However, checkpoint and restart mechanisms introduce non-negligible overhead, disk load, and scalability concerns. In this paper, we show an alternative through fault resilience, enabled by the features provided by the User Level Fault Mitigation extension and shipped within the Legio fault resilience framework. Through fault resilience, we continue executing only the non-failed processes, thus sacrificing result accuracy for faster fault recovery. Our experiments on a specimen stencil application show that, despite the fault impact visible in the result, we produced meaningful values usable for scientific research, proving the possibilities of a fault resilience approach in a stencil scenario.
