Modularising Opacity Verification for Hybrid Transactional Memory - Archive ouverte HAL Access content directly
Conference Papers Year : 2017

Modularising Opacity Verification for Hybrid Transactional Memory

(1) , (1)
1
Alasdair Armstrong
  • Function : Author
  • PersonId : 1024700
Brijesh Dongol
  • Function : Author
  • PersonId : 1024701

Abstract

Transactional memory (TM) manages thread synchronisation to provide an illusion of atomicity for arbitrary blocks of code. There are various implementations of TM, including hardware (HTM) and software (STM). HTMs provide high performance, but are inherently limited by hardware restrictions; STMs avoid these limitations but suffer from unpredictable performance. To solve these problems, hybrid TM (HyTM) algorithms have been introduced which provide reliable software fallback mechanisms for hardware transactions. The key safety property for TM is opacity, however a naive combination of an opaque STM and an opaque HTM does not necessarily result in an opaque HyTM. Therefore, HyTM algorithms must be specially designed to satisfy opacity. In this paper we introduce a modular method for verifying opacity of HyTM implementations. Our method provides conditions under which opacity proofs of HTM and STM components can be combined into a single proof of an overall hybrid algorithm. The proof method has been fully mechanised in Isabelle, and used to verify a novel hybrid version of a transactional mutex lock.
Fichier principal
Vignette du fichier
446833_1_En_3_Chapter.pdf (300.67 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01658416 , version 1 (07-12-2017)

Licence

Attribution - CC BY 4.0

Identifiers

Cite

Alasdair Armstrong, Brijesh Dongol. Modularising Opacity Verification for Hybrid Transactional Memory. 37th International Conference on Formal Techniques for Distributed Objects, Components, and Systems (FORTE), Jun 2017, Neuchâtel, Switzerland. pp.33-49, ⟨10.1007/978-3-319-60225-7_3⟩. ⟨hal-01658416⟩
46 View
97 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More