This repository contains the code for the published work Comprehensive Analysis of Software-Based Fault Tolerance with Arithmetic Coding for Performant Encoding of Integer Calculations at SAFECOMP2022
For an accurate performance measurement we use an Linux with PREEMPT_RT. Furthermore, the rtPerfLog library is used for the measurements. This lib is added as submodule and must be updated after cloning.
git submodule init
git submodule update
CMAKE required. Exeute ./build.sh
to build all binaries and dependencies.
- codings Contains the encoded operations for each encoding.
- mul_validation Code for the validation with a matrix multiplication.
- plots Some python files to generate the plots in the paper.
- results Output of the metric evalutation and fault simulation.
- rtPerfLog Submodule of rtPerfLog library
- src The source files for the metric evaluation, fault simulation, and performance analysis.
- build.sh Script to build all binaries
- execute-detcap.sh Script to run all metric calculations.
- execute-perf.sh Script to run all perfromance measurements. You may run as root to change the real-time scheduling.
- execute-valid.sh Script to run the perfromance measurements of the matrix multiplication. You may run as root to change the real-time scheduling.