ZEBRA: a data-centric, hybrid-policy hardware transactional memory design

  • Authors:
  • Rubén Titos-Gil;Anurag Negi;Manuel E. Acacio;José M. García;Per Stenstrom

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

  • Venue:
  • Proceedings of the international conference on Supercomputing
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Hardware Transactional Memory (HTM) systems, in prior research, have either fixed policies of conflict resolution and data versioning for the entire system or allowed a degree of flexibility at the level of transactions. Unfortunately, this results in susceptibility to pathologies, lower average performance over diverse workload characteristics or high design complexity. In this work we explore a new dimension along which flexibility in policy can be introduced. Recognizing the fact that contention is more a property of data rather than that of an atomic code block, we develop an HTM system that allows selection of versioning and conflict resolution policies at the granularity of cache lines. We discover that this neat match in granularity with that of the cache coherence protocol results in a design that is very simple and yet able to track closely or exceed the performance of the best performing policy for a given workload. It also brings together the benefits of parallel commits (inherent in traditional eager HTMs) and good optimistic concurrency without deadlock avoidance mechanisms (inherent in lazy HTMs), with little increase in complexity.