Pi-TM: Pessimistic Invalidation for Scalable Lazy Hardware Transactional Memory
Paper i proceeding, 2011

Lazy hardware transactional memory (HTM) allows better utilization of available concurrency in transactional workloads than eager HTM, but poses challenges at commit time due to the requirement of en-masse publication of speculative updates to global system state. Early conflict detection can be employed in lazy HTM designs to allow nonconflicting transactions to commit in parallel. Though this has the potential to improve performance, it has not been utilized effectively so far. Prior work in the area burdens common-case transactional execution severely to avoid some relatively uncommon correctness concerns. In this work we investigate this problem and introduce a novel design, π-TM, which eliminates this problem. π-TM uses modest extensions to existing directory-based cache coherence protocols to keep a record of conflicting cache lines as a transaction executes. This information allows a consistent cache state to be maintained when transactions commit or abort. We observe that contention is typically seen only on a small fraction of shared data accessed by coarse-grained transactions. In π-TM early conflict detection mechanisms imply additional work only when such contention actually exists. Thus, the design is able to avoid expensive core-to-core and core-to-directory communication for a large part of transactionally accessed data. Our evalutation shows major performance gains when compared to other HTM designs in this class and competitive performance when compared to more complex lazy commit schemes.

Concurrency

Multicores

Transactional memory

Författare

Anurag Negi

Chalmers, Data- och informationsteknik, Datorteknik

Per Stenström

Chalmers, Data- och informationsteknik, Datorteknik

Ruben Titos Gil

Universidad de Murcia

M. E. Acacio

Universidad de Murcia

J. M. García

Universidad de Murcia

Parallel Architectures and Compilation Techniques - Conference Proceedings, PACT

1089795X (ISSN)

Article number 6113816 203-204 6113816
978-076954566-0 (ISBN)

Ämneskategorier

Datorteknik

Styrkeområden

Informations- och kommunikationsteknik

DOI

10.1109/PACT.2011.41

ISBN

978-076954566-0

Mer information

Skapat

2017-10-07