Skip to main content
QUICK REVIEW

[Paper Review] ELZAR: Triple Modular Redundancy using Intel Advanced Vector Extensions Technical Report

Dmitrii Kuvaiskii, Oleksii Oleksenko|arXiv (Cornell University)|Jan 1, 2016
Radiation Effects in ElectronicsEngineering28 references3 citations
TL;DR

ELZAR is a compiler framework that uses Intel AVX instructions to implement triple modular redundancy for fault tolerance by replicating data across AVX registers instead of instructions. Despite leveraging SIMD parallelism, performance overheads remain high due to missing AVX instructions for control flow and memory access, with estimated overheads reduced to 48% only if future AVX extensions include key improvements like vectorized gathers/scatters and flag-toggling comparisons.

ABSTRACT

Instruction-Level Redundancy (ILR) is a well-known approach to tolerate transient CPU faults. It replicates instructions in a program and inserts periodic checks to detect and correct CPU faults using majority voting, which essentially requires three copies of each instruction and leads to high performance overheads. As SIMD technology can operate simultaneously on several copies of the data, it appears to be a good candidate for decreasing these overheads. To verify this hypothesis, we propose Elzar, a compiler framework that transforms unmodified multithreaded applications to support triple modular redundancy using Intel AVX extensions for vectorization. Our experience with several benchmark suites and real-world case-studies yields mixed results: while SIMD may be beneficial for some workloads, e.g., CPU-intensive ones with many floating-point operations, it exhibits higher overhead than ILR in many applications we tested. We study the sources of overheads and discuss possible improvements to Intel AVX that would lead to better performance.

Motivation & Objective

  • To investigate whether SIMD instructions like Intel AVX can reduce performance overheads in instruction-level redundancy (ILR) for transient fault tolerance.
  • To evaluate the feasibility of using AVX registers to replicate data for majority-voting-based fault detection and correction.
  • To identify performance bottlenecks in current AVX instruction sets when applied to ILR.
  • To propose hardware extensions to AVX that would significantly reduce ELZAR's performance overhead.

Proposed method

  • Transform unmodified multithreaded applications into AVX-based triple modular redundancy using LLVM as a compiler backend.
  • Replicate data across four 256-bit AVX registers to enable majority voting for fault detection and correction.
  • Implement wrapper functions using existing AVX instructions (e.g., vperm, vblend) to simulate control flow and memory access operations.
  • Propose offloading load/store checks to an FPGA to reduce CPU overhead.
  • Evaluate performance by comparing ELZAR with a 'decelerated' native version that includes dummy inline assembly mimicking ELZAR's overheads.
  • Estimate future performance gains by modeling proposed AVX extensions, such as vectorized gathers/scatters and flag-toggling comparisons.

Experimental results

Research questions

  • RQ1Can AVX-based data replication achieve lower performance overhead than traditional ILR for transient fault tolerance?
  • RQ2What are the primary performance bottlenecks in using current AVX instruction sets for ILR?
  • RQ3How much performance improvement can be achieved by extending AVX with new instructions for memory access and control flow?
  • RQ4To what extent can FPGA offloading of checks reduce CPU overhead in ELZAR?
  • RQ5What specific AVX instruction set extensions would most effectively reduce ELZAR's performance overhead?

Key findings

  • ELZAR achieves fault tolerance by replicating data across four AVX registers, enabling majority voting to detect and correct transient CPU faults.
  • Despite leveraging SIMD parallelism, current AVX lacks key instructions for control flow and memory access, leading to high performance overheads.
  • The performance overhead of ELZAR with current AVX is significantly higher than expected, with average overheads exceeding 100% in many benchmarks.
  • With proposed AVX extensions—such as vectorized gathers/scatters and flag-toggling comparisons—ELZAR's overhead is estimated to drop to 48%.
  • The string match benchmark runs faster than native in the experiment, likely due to unintended inlining optimizations in the 'decelerated' native version.
  • The study concludes that simple, targeted extensions to the AVX instruction set could make SIMD-based ILR a viable alternative to traditional ILR.

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.