Compiler-Implemented Differential Checksums: Effective Detection and Correction of Transient and Permanent Memory Errors

Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/GutachtenBeitrag in KonferenzbandBeigetragenBegutachtung

Beitragende

  • Christoph Borchert - , Universität Osnabrück (Autor:in)
  • Horst Schirmeier - , Professur für Betriebssysteme (Autor:in)
  • Olaf Spinczyk - , Universität Osnabrück (Autor:in)

Abstract

The detection of memory errors is common practice in safety-critical software, for example in the automotive and avionics industry. International safety standards recommend using checksums for protecting critical data in computer memories. Typical implementations verify the checksum before data access and recompute it after modification using the same algorithm. However, we show that this approach can sometimes dramatically worsen the reliability of computer systems with regard to transient memory faults, and also permanent faults remain undetected. A solution with significant conceptual advantages is constituted by differential checksum algorithms, which update the respective checksum without full recomputation on data modification. We present a compiler-based solution that inserts differential checksums into C/C++ data structures automatically to cope with their increased complexity. An extensive fault-injection campaign with the TACLeBench benchmark collection shows that differential checksums reduce silent data corruptions by 95% on average whereas non-differential checksums turn out to be mostly ineffective because they introduce a window of vulnerability.

Details

OriginalspracheEnglisch
Titel2023 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN)
Herausgeber (Verlag)IEEE
Seiten81-94
Seitenumfang14
ISBN (elektronisch)9798350347937
ISBN (Print)979-8-3503-4794-4
PublikationsstatusVeröffentlicht - 30 Juni 2023
Peer-Review-StatusJa

Konferenz

Titel2023 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks
KurztitelDSN 2023
Veranstaltungsnummer53
Dauer27 - 30 Juni 2023
Webseite
OrtPalácio da Bolsa
StadtPorto
LandPortugal

Externe IDs

Scopus 85169026509
ORCID /0000-0002-1427-9343/work/166764856

Schlagworte

Schlagwörter

  • Complexity theory, Data structures, Program processors, Safety, Software, Software algorithms, Software reliability