Sciweavers

CACM
2011

Why STM can be more than a research toy

13 years 6 months ago
Why STM can be more than a research toy
Software Transactional Memory (STM) promises to simplify concurrent programming without requiring specific hardware support. Yet, STM’s credibility lies on the extent to which it enables to leverage multicores and outperform sequential code. A recent CACM paper [3] questioned this ability and suggested the confinement of STM to a research toy. We revisit these conclusions through the most to date extensive comparison of STM performance to sequential code. We evaluate a state-of-the-art STM system, SwissTM, on a wide range of benchmarks and two different multicore systems. We dissect the inherent costs of synchronization as well as the overheads of compiler instrumentation and transparent privatization. Our results show that an STM with manually instrumented benchmarks and explicit privatization outperforms sequential code by up to 29 times on SPARC with 64 concurrent threads and by up to 9 times on x86 with 16 concurrent threads. Indeed the overheads of compiler instrumentation an...
Aleksandar Dragojevic, Pascal Felber, Vincent Gram
Added 12 May 2011
Updated 12 May 2011
Type Journal
Year 2011
Where CACM
Authors Aleksandar Dragojevic, Pascal Felber, Vincent Gramoli, Rachid Guerraoui
Comments (0)