Simplifying concurrent algorithms by exploiting hardware transactional memory
Dave Dice, Yossi Lev, Virendra J. Marathe et al. · ACM Symposium on Parallelism in Algorithms and Architectures (SPAA) · 2010
We explore the potential of hardware transactional memory (HTM) to improve concurrent algorithms. We illustrate a number of use cases in which HTM enables significantly simpler code to achieve similar or better performance than existing algorithms for conventional architectures. We use Sun's prototype multicore chip, code-named Rock, to experiment with these algorithms, and discuss ways in which its limitations prevent better results, or would prevent production use of algorithms even if they are successful. Our use cases include concurrent data structures such as double ended queues, work stealing queues and scalable non-zero indicators, as well as a scalable malloc implementation and a simulated annealing application. We believe that our paper makes a compelling case that HTM has substantial potential to make effective concurrent programming easier, and that we have made valuable contributions in guiding designers of future HTM features to exploit this potential.
Cited by 42 works. doi:10.1145/1810479.1810537
Authors
References
- Personal communication
- The PARSEC benchmark suite
- Wait-free synchronization
- Transactional memory
- The implementation of the Cilk-5 multithreaded language
- The Art of Multiprocessor Programming
- Transactional Locking II
- Obstruction-free synchronization: double-ended queues as an example
- Thread scheduling for multiprogrammed multiprocessors
- Hoard