SEL-TM: Selective eager-lazy management for improved concurrency in transactional memory
2012 IEEE 26th International Parallel and Distributed Processing …, 2012•ieeexplore.ieee.org
Hardware Transactional Memory (HTM) systems implement version management and
conflict detection in hardware to guarantee that each transaction is atomic and executes in
isolation. In general, HTM implementations fall into two categories, namely, eager systems
and lazy systems. Lazy systems have been shown to exploit more concurrency from
potentially conflicting transactions. However, lazy systems manage a transaction's entire
write set lazily, which gives rise to two main disadvantages:(a) a complex cache protocol …
conflict detection in hardware to guarantee that each transaction is atomic and executes in
isolation. In general, HTM implementations fall into two categories, namely, eager systems
and lazy systems. Lazy systems have been shown to exploit more concurrency from
potentially conflicting transactions. However, lazy systems manage a transaction's entire
write set lazily, which gives rise to two main disadvantages:(a) a complex cache protocol …
Hardware Transactional Memory (HTM) systems implement version management and conflict detection in hardware to guarantee that each transaction is atomic and executes in isolation. In general, HTM implementations fall into two categories, namely, eager systems and lazy systems. Lazy systems have been shown to exploit more concurrency from potentially conflicting transactions. However, lazy systems manage a transaction's entire write set lazily, which gives rise to two main disadvantages: (a) a complex cache protocol and implementation are required to maintain the speculative modifications, and, (b) the latency of committing the entire write set often leads to severe performance degradation of the whole system. It is observed in a wide range of workloads that more than 55% of the transaction aborts are due to conflicts on only three memory blocks. Thus we argue that an eager HTM system can achieve the same level of concurrency as lazy systems by managing only a small portion of a transaction's write set lazily. In this paper, we present Selective-Eager-Lazy HTM (SEL-TM), a new HTM implementation to adopt complementary version management schemes within a transaction whose write set is divided into eagerly- and lazily-managed memory addresses at runtime. An intelligent hardware scheme is designed to select the memory addresses for lazy management as well as determining whether each dynamic instance of a transaction benefits from hybrid management. Experimental results using the STAMP benchmarks show that, on average, SEL-TM improves performance by 14% over an eager system and 22% over a lazy system. The speedup demonstrates that our design is capable of harvesting the concurrency benefit of lazy version management while avoiding some of the performance penalties in lazy HTMs.
ieeexplore.ieee.org