Visilence: An Interactive Visualization Tool for Error Resilience Analysis

Shaolun Ruan, Yong Wang, Qiang GuanarXiv 2022

The Challenge of Silent Data Corruption

As High-Performance Computing (HPC) systems scale toward exascale, they become increasingly susceptible to "soft errors"—transient hardware glitches like bit flips. These errors often result in Silent Data Corruptions (SDCs), where a program completes its execution successfully but produces incorrect output. Analyzing these errors is traditionally a "black box" process, requiring researchers to sift through massive, unreadable execution traces from fault injection campaigns. Developers often lack the tools to understand the "why" and "how" of error propagation, making it difficult to implement targeted protection strategies like variable duplication.

The Visilence Framework

To address this, the authors present Visilence, an interactive tool that transforms raw execution traces into intuitive visual maps. The workflow begins with fault injection to generate dynamic traces for both a "golden run" (correct) and a "faulty run." These traces are then processed through a data mapping and layout generation pipeline.

The Visilence data processing pipeline, showing the transition from raw data to visual graph updates.

Visilence utilizes two primary graph abstractions:

  1. Loop Sensitive Graph (LSG): Captures how loops affect dynamic execution.
  2. Critical Vector Graph (CVG): Aggregates multiple LSGs to reveal broader error propagation patterns.

Interactive Visualization Components

The Visilence interface is designed to help developers pinpoint vulnerabilities through four integrated views:

  • Function View: A high-level timeline where dots represent program functions. Green dots indicate execution matching the golden run, while red dots signal a divergence.
  • Graph View: A detailed control-flow graph of a selected function. Nodes represent basic blocks, and edges represent transitions. Red edges highlight where execution frequency or timing differs from the healthy run.
  • Weight Thresholding: A control mechanism allowing users to filter the graph, displaying only edges where the divergence exceeds a specific threshold.
  • Function List: A searchable navigation pane for quick access to specific code segments.
The main Visilence interface, highlighting the four primary views used for error analysis.

Case Study: Analyzing CoMD

The researchers evaluated Visilence using CoMD, a molecular dynamics proxy application. By analyzing a faulty run involving 157 functions, the tool revealed the "blast radius" of a single fault, which eventually cascaded to affect 64 different functions.

A key insight was the identification of the specific basic block with the highest divergence. In the Graph View, an edge with a weight of 351 (representing 351 extra executions in the faulty run) led the researchers directly to a loop in the initAtoms.c file (Lines 126 to 129). This granularity allows developers to implement software-level error correction exactly where it is needed, avoiding the overhead of over-engineering the entire application.

Conclusion and Future Directions

Visilence successfully bridges the gap between raw fault injection data and actionable source-code insights. While the current tool provides a clear manual workflow for resilience analysis, future work may focus on improving scalability for massive applications and developing automated guidance systems that use CVG data to suggest the most cost-effective locations for error-checking code. Additionally, optimizing the trace generation pipeline will be essential for reducing the computational overhead of the analysis.

Summary updated

BibTeX
@misc{ruan2022visilence,
  author = {Shaolun Ruan and Yong Wang and Qiang Guan},
  title = {{Visilence: An Interactive Visualization Tool for Error Resilience Analysis}},
  year = {2022},
  eprint = {2201.00336},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.00336},
}
Figure