Skip to main content
QUICK REVIEW

[Paper Review] ZOFI: Zero-Overhead Fault Injection Tool for Fast Transient Fault Coverage Analysis

Vasileios Porpodas|arXiv (Cornell University)|Jun 22, 2019
Radiation Effects in ElectronicsEngineering39 references6 citations
TL;DR

ZOFI is a zero-overhead, timing-based fault injection tool that executes unmodified binaries at native speed on real hardware, enabling fast and accurate transient fault coverage analysis. By pausing execution, injecting register bit-flips, and resuming natively, ZOFI achieves orders-of-magnitude speedup over simulator- or instrumentation-based tools while maintaining statistical accuracy for fault coverage evaluation in software-based error detection studies.

ABSTRACT

The experimental evaluation of fault-tolerance studies relies on tools that inject errors while programs are running, and then monitor the execution and the output for faulty execution. In particular, the established methodology in software-based transient-fault reliability studies, involves running each workload hundreds or thousands of times, injecting a random bit-flip in the process. The majority of such studies rely on custom-built fault-injection tools that are based on either a modified processor simulator, or a code instrumentation framework. Such tools are non-trivial to develop, and are usually orders of magnitude slower than native execution. In this paper we present ZOFI, a novel timing-based fault-injection tool that is aimed at being used in fault-coverage studies for transient faults. ZOFI is a zero-overhead tool, meaning that the analyzed workload runs at native speed. This is orders-of-magnitude faster compared to common approaches that are designed around simulators or code instrumentation tools. ZOFI is free software and is available at https://github.com/vporpo/zofi.

Motivation & Objective

  • To address the performance bottleneck of existing fault-injection tools that rely on simulation or binary instrumentation, which are orders of magnitude slower than native execution.
  • To enable fast, scalable, and accurate transient fault coverage analysis for software-based error detection techniques by leveraging native hardware execution.
  • To provide a free, open-source tool that supports statistical fault coverage evaluation without performance degradation or architectural inaccuracies.
  • To validate that timing-based fault injection on real hardware yields statistically reliable results comparable to cycle-accurate simulators for fault coverage studies.

Proposed method

  • ZOFI operates by running unmodified binaries directly on native x86_64 Linux systems at full speed, without instrumentation or simulation.
  • It pauses execution at user-defined time points, injects a single-bit flip into specified registers (e.g., input, output, or instruction pointer), and resumes execution.
  • The tool monitors program output and execution behavior, classifying outcomes as corruption, exception, infinite execution, or masked errors.
  • Fault injection is performed via debuggers (e.g., GDB) to modify register states during controlled pauses, ensuring minimal runtime impact.
  • Statistical results are collected across thousands of runs and summarized upon completion, with support for configurable test parameters and output comparison.
  • The tool is implemented in C++ and distributed under the GPL v2.0 license, hosted on GitHub for community use and extension.

Experimental results

Research questions

  • RQ1Can a timing-based fault injection approach on native hardware achieve fault coverage results that are statistically reliable and comparable to cycle-accurate simulators?
  • RQ2How does the execution speed of ZOFI compare to traditional simulator- or instrumentation-based fault injection tools in real-world workloads?
  • RQ3What is the impact of the number of test runs on the accuracy and standard deviation of fault coverage measurements using ZOFI?
  • RQ4Does ZOFI maintain accuracy for fault coverage analysis when injecting bit-flips into critical registers such as the instruction pointer?

Key findings

  • ZOFI achieves native-speed execution, resulting in orders-of-magnitude faster fault coverage evaluation compared to simulator- or instrumentation-based tools.
  • The arithmetic mean of fault coverage results across 10 repetitions stabilizes quickly, showing reliable estimates even with as few as 50 test runs.
  • Standard deviation of fault coverage results decreases with increasing number of test runs, though the reduction rate diminishes, indicating diminishing returns beyond a certain point.
  • Fault injection into the instruction pointer causes a significant increase in exceptions, as expected due to jumps to invalid addresses.
  • ZOFI demonstrates high statistical accuracy for fault coverage analysis, with results consistent across multiple repetitions and scalable across different benchmarks in the NPB2.3 suite.
  • The tool is effective for evaluating error detection techniques, correctly classifying outcomes such as corruption, exception, infinite execution, and masked errors with high fidelity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.