Starvation-free commit arbitration policies for transactional memory systems

  • Authors:
  • M. M. Waliullah;Per Stenstrom

  • Affiliations:
  • Chalmers University of Technology, Goteborg, Sweden;Chalmers University of Technology, Goteborg, Sweden

  • Venue:
  • ACM SIGARCH Computer Architecture News
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

In transactional memory systems like TCC, unordered transactions are committed on a first-come, first-serve basis. If a transaction has read data that has been modified by the next transaction to commit, it will have to roll-back and a lot of computations can potentially be wasted. Even worse, such simple commit arbitration policies are prone to starvation; in fact, the performance of Raytrace in SPLASH-2 suffered significantly because of this. This paper analyzes in detail the design issues for commit arbitration policies and proposes novel policies that reduce the amount of wasted computation due to roll-back and, most importantly, avoid starvation. We analyze in detail how to incorporate them in a TCC-like transactional memory protocol. We find that our proposed schemes have no impact on the common-case performance. In addition, they add modest complexity to the baseline protocol.