Eager Beats Lazy: Improving Store Management in Eager Hardware Transactional Memory

  • Authors:
  • Ruben Titos-Gil;Anurag Negi;Manuel E. Acacio;Jose M. Garcia;Per Stenstrom

  • Affiliations:
  • Chalmers University of Technology, Gothenburg;Chalmers University of Technology, Gothenburg;Universidad de Murcia, Murcia;University of Murcia, Murcia;Chalmers University of Technology, Gothenburg

  • Venue:
  • IEEE Transactions on Parallel and Distributed Systems
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Hardware transactional memory (HTM) designs are very sensitive to the manner in which speculative updates from transactions are handled in the system. This study highlights how the lack of effective techniques for store management results in a quick degradation in the performance of eager HTM systems with increasing contention and, thus, lends credence to the belief that eager designs do not perform as well as their lazy counterparts when conflicts abound. In this work, we present two simple ways to improve handling of speculative stores--a way to effectively manage lines that exhibit migratory sharing and a way to hide store latency, particularly for those stores that target contended cache lines owned by other concurrent transactions. These two mechanisms yield substantial improvements in execution time when running applications with high contention, allowing eager designs to exceed the performance of lazy ones. Interestingly, the benefits that accrue from these enhancements can be at par with those achieved using more complex system-wide HTM techniques. Coupled with the fact that eager designs are easier to integrate into cache coherent architectures than lazy ones, we claim that with judicious management of stores they represent a more compelling design alternative.