We have developed STMBench7: a benchmark for evaluating TM implementations. The benchmark aims at providing a workload that is both realistic and non-trivial to implement in a scalable way. The implementation (in Java and C++) contains a lock-based synchronization strategy that can serve as a baseline for comparison with various TMs.
The new Java version integrates with the VELOX stack: the code is parsed successfully using the TMJava precompiler and transactions are instrumented automatically using Deuce.
Apache Ant v1.8+ warnings have been fixed in v1.1 and remaining absolute path in the build.xml that were causing portability bugs have been fixed.
The former Java version (07.03.2008 Beta) of STMBench7 added the following changes from the previous version (27.06.2007):
Note that the new version of the benchmark has a slightly different API. The new API is cleaner and easier to use with an STM, but may introduce problems when used with implementations using the old version of STMBench7.
The following files are available for download:
Stripped down version that works with multiple platforms:
Older versions:
The C++ version of STMBench7 is created/maintained by Aleksandar Dragojevic.
Dragojevic A., Felber P., Gramoli V., Guerraoui R. (2011) Why STM can be more than a Research Toy. Communications of the ACM (CACM).
Afek et al. (2010) The VELOX Transactional Memory Stack. IEEE Micro Special Issue - European Multicore Computing. IEEE MICRO 30(5):76-87.
Dragojevic, A., Guerraoui, R. and Kapalka, M. (2008) Dividing Transactional Memories by Zero. 3rd ACM SIGPLAN Workshop on Transactional Computing (Transact 2008).
Guerraoui, R., Kapalka, M. and Vitek, J. (2007) STMBench7: A Benchmark for Software Transactional Memory. EuroSys.