Skip to main content
QUICK REVIEW

[Paper Review] Software-Based Fault Recovery via Adaptive Diversity for COTS Multi-Core Processors

Andrea Höller, Tobias Rauter|arXiv (Cornell University)|Nov 10, 2015
Radiation Effects in ElectronicsEngineering14 references8 citations
TL;DR

This paper proposes a software-based fault recovery mechanism for COTS multi-core processors that uses adaptive software diversity to recover from permanent hardware faults. By dynamically generating diverse software replicas via static compilation techniques—such as register-specific compiler flags—the system can bypass faulty hardware components, achieving fault masking without hardware modifications.

ABSTRACT

The ever growing demands of embedded systems to satisfy high computing performance and cost efficiency lead to the trend of using commercial off-the-shelf hardware. However, due to their highly integrated design they are becoming increasingly susceptible to hardware errors (e.g. caused by radiation-induced soft-errors or wear-out effects). Since such faults cannot be fully prevented, systems have to cope with their effects. At the same time there is the trend of multi-core processors in embedded systems. Approaches to achieve fault tolerance by using the multiple cores to establish redundancy have been presented in literature. However, typically only homogeneous redundancy techniques are considered to tolerate soft errors. However, there is a lack of appropriate reaction mechanisms for restoring the system in case of permanent hardware faults. Here, we propose the basic idea of enhancing multi-core redundancy techniques with a cost-efficient automated introduction of diversity in the executed software replicas. Recently, these automated software diversity techniques have attracted attention in the security domain. We propose to use these techniques to recover from permanent hardware faults. This is achieved by adapting the software execution in such a way that permanent faults are mitigated.

Motivation & Objective

  • Address the growing challenge of permanent hardware faults in COTS multi-core processors used in safety-critical embedded systems.
  • Overcome the limitations of homogeneous redundancy in multi-core fault tolerance, which cannot recover from permanent faults in redundant cores.
  • Enable cost-efficient fault recovery by leveraging automated software diversity techniques originally developed for cybersecurity.
  • Develop a runtime mechanism to adapt software execution on redundant cores to bypass detected permanent hardware faults.
  • Introduce a remote binary generation process that produces fault-masking software variants using static diversity techniques.

Proposed method

  • Use a remote server to generate diverse software binaries using static diversity techniques such as source code mutations and compiler flag manipulation (e.g., -ffixed-reg).
  • Apply fault injection via a QEMU-based framework to simulate hardware faults (e.g., register, instruction decoder, memory faults) and evaluate masking coverage.
  • Evaluate fault masking probability by comparing outputs of fault-injected simulations against a golden reference on fault-free hardware.
  • Select and transmit the binary variant with the highest probability of masking the specific hardware fault to the embedded device.
  • Integrate the selected diverse binary into the multi-core system to replace or reconfigure execution on a faulty core.
  • Use built-in self-tests and redundancy (e.g., TMR) to detect faults, then trigger the adaptive diversity-based recovery process.

Experimental results

Research questions

  • RQ1Can automated software diversity techniques be effectively adapted to enable recovery from permanent hardware faults in multi-core systems?
  • RQ2What static diversity techniques (e.g., compiler flags, code mutations) are most effective in masking specific hardware fault types such as register or instruction decoder faults?
  • RQ3How can the fault masking probability be accurately estimated using software-based fault injection and test input sets?
  • RQ4What are the performance and determinism trade-offs of introducing dynamic software diversity in real-time embedded systems?
  • RQ5How can the system detect and respond to recurring faults by adapting the execution diversity on redundant cores?

Key findings

  • The use of compiler flags such as -ffixed-reg can effectively avoid the use of a faulty register, enabling the generation of binaries that mask register-level hardware faults.
  • Fault injection using the QEMU-based framework enables accurate estimation of fault masking coverage by simulating hardware faults on software binaries.
  • The proportion of test inputs for which the output matches the golden reference on fault-free hardware provides a reliable approximation of fault masking probability.
  • Static diversity techniques, when combined with fault injection and probabilistic evaluation, can generate software variants that bypass known permanent hardware faults.
  • The proposed approach enables recovery from permanent faults without hardware modifications, offering a low-cost alternative to traditional fault tolerance mechanisms.
  • The integration of automated software diversity into multi-core redundancy systems presents a viable path to enhancing system availability in embedded applications.

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.