• Home
  • Search
  • Handling Conflicts with Compiler's Help in Software Transactional Memory Systems
  • Cite Icon2
  • https://doi.org/10.1109/icpp.2010.56Copy DOI Icon

Handling Conflicts with Compiler's Help in Software Transactional Memory Systems

  • Sep 1, 2010
  • Sandya Mannarswamy +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Atomic sections are supported in software through the use of optimistic concurrency by using Software Transactional Memory (STM). However STM implementations incur high overheads which reduce the wide-spread use of this approach by programmers. Conflicts are a major source of overheads in STMs. The basic performance premise of a transactional memory system is the optimistic concurrency principle wherein data updates executed by the transactions are to disjoint objects/memory locations, referred to as Disjoint Access Parallel (DAP). Otherwise, the updates conflict, and all but one of the transactions are aborted. Such aborts result in wasted work and performance degradation. While contention management systems in STM implementations try to reduce conflicts by various runtime feedback control mechanisms, they are not aware of the application's structure and data access patterns and hence typically act after the conflicts have occurred. In this paper we propose a scheme based on compiler analysis, which can identify static atomic sections whose instances, when executed concurrently by more than one thread always conflict. Such an atomic section is referred to as Always Conflicting Atomic Section (ACAS). We propose and evaluate two techniques Selective Pessimistic Concurrency Control (SPCC) and compiler inserted Early Conflict Checks (ECC) which can help reduce the STM overheads caused by ACAS. We show that these techniques help reduce the aborts in 4 of the STAMP benchmarks by up to 27.52% while improving performance by 1.24% to 19.31%.

Similar Papers
  • Book Chapter
  • Citations1

Exploring Data Reusing of Failed Transaction

  • Nov 22, 2007
  • Shaogang Wang +3
  • Book Chapter
  • Citations27

A Lock-Based STM Protocol That Satisfies Opacity and Progressiveness

  • Jan 01, 2008
  • Damien Imbs +1
  • Book Chapter
  • Citations2

Compiler-Assisted Selection of a Software Transactional Memory System

  • Jan 01, 2011
  • Martin Schindewolf +2
  • Research Article
  • Citations36

Virtual world consistency: A condition for STM systems (with a versatile protocol with invisible read operations)

  • Apr 27, 2012
  • Theoretical Computer Science
  • Damien Imbs +1
  • Conference Article
  • Citations4

Variable Granularity Access Tracking Scheme for Improving the Performance of Software Transactional Memory

  • May 01, 2011
  • Sandya S Mannarswamy +1
  • Research Article
  • Citations1

What Scalable Programs Need from Transactional Memory

  • Apr 04, 2017
  • ACM SIGPLAN Notices
  • Donald Nguyen +1
  • Book Chapter
  • Citations1

FastLane Is Opaque – a Case Study in Mechanized Proofs of Opacity

  • Jan 01, 2018
  • Gerhard Schellhorn +4
  • Conference Article
  • Citations204

Adaptive transaction scheduling for transactional memory systems

  • Jun 14, 2008
  • Richard M Yoo +1
  • Conference Article
  • Citations318

NOrec

  • Jan 09, 2010
  • Luke Dalessandro +2
  • Research Article
  • Citations68

NOrec

  • Jan 09, 2010
  • ACM SIGPLAN Notices
  • Luke Dalessandro +2
  • Conference Article
  • Citations12

StealthTest: Low Overhead Online Software Testing Using Transactional Memory

  • Sep 01, 2009
  • Jayaram Bobba +4
  • Conference Article
  • Citations223

Open nesting in software transactional memory

  • Mar 14, 2007
  • Yang Ni +7
  • Conference Article

OFG-STM: Transactional Memory for GPUs based on Obstruction-Free STM algorithms

  • Sep 30, 2024
  • Tiago Perlin +2
  • Research Article
  • Citations36

A comprehensive strategy for contention management in software transactional memory

  • Feb 14, 2009
  • ACM SIGPLAN Notices
  • Michael F Spear +3
  • Research Article
  • Citations44

STMBench7

  • Mar 21, 2007
  • ACM SIGOPS Operating Systems Review
  • Rachid Guerraoui +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.