STMBench7
- 21 March 2007
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGOPS Operating Systems Review
- Vol. 41 (3), 315-324
- https://doi.org/10.1145/1272998.1273029
Abstract
Software transactional memory (STM) is a promising technique for controlling concurrency in modern multi-processor architectures. STM aims to be more scalable than explicit coarse-grained locking and easier to use than fine-grained locking. However, STM implementations have yet to demonstrate that their runtime overheads are acceptable. To date, empiric evaluations of these implementations have suffered from the lack of realistic benchmarks. Measuring performance of an STM in an overly simplified setting can be at best uninformative and at worst misleading as it may steer researchers to try to optimize irrelevant aspects of their implementations. This paper presents STMBench7: a candidate benchmark for evaluating STM implementations. The underlying data structure consists of a set of graphs and indexes intended to be suggestive of many complex applications, e.g., CAD/CAM. A collection of operations is supported to model a wide range of workloads and concurrency patterns. Companion locking strategies serve as a baseline for STM performance comparisons. STMBench7 strives for simplicity. Users may choose a workload, number of threads, benchmark length, as well as the possibility of structure modification and the nature of traversals of shared data structures. We illustrate the use of STMBench7 with an evaluation of a well-known software transactional memory implementation.Keywords
This publication has 9 references indexed in Scilit:
- A flexible framework for implementing software transactional memoryPublished by Association for Computing Machinery (ACM) ,2006
- A Lazy Snapshot Algorithm with Eager ValidationLecture Notes in Computer Science, 2006
- Transactional Locking IILecture Notes in Computer Science, 2006
- Conflict Detection and Validation Strategies for Software Transactional MemoryLecture Notes in Computer Science, 2006
- Adaptive Software Transactional MemoryLecture Notes in Computer Science, 2005
- Software transactional memory for dynamic-sized data structuresPublished by Association for Computing Machinery (ACM) ,2003
- Software transactional memoryPublished by Association for Computing Machinery (ACM) ,1995
- The 007 BenchmarkACM SIGMOD Record, 1993
- Transactional memoryPublished by Association for Computing Machinery (ACM) ,1993