Inherent Limitations of Hybrid Transactional Memory

Abstract : SeveralHybridTransactionalMemory(HyTM)schemeshave recently been proposed to complement the fast, but best-effort nature of Hardware Transactional Memory (HTM) with a slow, reliable software backup. However, the costs of providing concurrency between hardware and software transactions in HyTM are still not well understood. In this paper, we propose a general model for HyTM implementations, which captures the ability of hardware transactions to buffer memory accesses. The model allows us to formally quantify and analyze the amount of overhead (instrumentation) caused by the potential presence of software transactions. We prove that (1) it is impossible to build a strictly serializable HyTM implementation that has both uninstrumented reads and writes, even for very weak progress guarantees, and (2) the instrumentation cost incurred by a hardware transaction in any progressive opaque HyTM is linear in the size of the transaction’s data set. We further describe two implementations which exhibit optimal instrumentation costs for two different progress conditions. In sum, this paper proposes the first formal HyTM model and captures for the first time the trade-off between the degree of hardware-software TM concurrency and the amount of instrumentation overhead.
Document type :
Conference papers
Yoram Moses; Matthieu Roy. DISC 2015, Oct 2015, Tokyo, Japan. Springer-Verlag Berlin Heidelberg, LNCS 9363, 29th International Symposium on Distributed Computing. 〈10.1007/978-3-662-48653-5_13〉
Liste complète des métadonnées

Cited literature [20 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-01206434
Contributor : Matthieu Roy <>
Submitted on : Tuesday, September 29, 2015 - 9:46:24 AM
Last modification on : Monday, October 5, 2015 - 3:58:42 AM
Document(s) archivé(s) le : Wednesday, December 30, 2015 - 10:20:54 AM

File

19.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Dan Alistarh, Justin Kopinsky, Petr Kuznetsov, Srivatsan Ravi, Nir Shavit. Inherent Limitations of Hybrid Transactional Memory. Yoram Moses; Matthieu Roy. DISC 2015, Oct 2015, Tokyo, Japan. Springer-Verlag Berlin Heidelberg, LNCS 9363, 29th International Symposium on Distributed Computing. 〈10.1007/978-3-662-48653-5_13〉. 〈hal-01206434〉

Share

Metrics

Record views

60

Files downloads

52