Regulating Concurrency in Software Transactional Memory: An Effective Model-based Approach
Authors:
- Pierangelo Di SanzoPSPierangelo Di Sanzo
- Francesco Del ReFRFrancesco Del Re
- Diego RughettiDRDiego Rughetti
- Bruno CicianiBCBruno Ciciani
- Francesco QuagliaFQFrancesco Quaglia
- 1 September 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 31-40
Abstract
Software Transactional Memory (STM) is recognized as an effective programming paradigm for concurrent applications. On the other hand, a core problem to cope with in STM deals with (dynamically) regulating the degree of concurrency, in order to deliver optimal performance. We address this problem by proposing a self-regulation approach of the concurrency level, which relies on a parametric analytical performance model aimed at predicting the scalability of the STM application as a function of the actual workload profile. The regulation scheme allows achieving optimal performance during the whole lifetime of the application via dynamic change of the number of concurrent threads according to the predictions by the model. The latter is customized for a specific application/platform through regression analysis, which is based on a lightweight sampling phase. We also present a real implementation of the model-based concurrency self-regulation architecture integrated within the open source TinySTM framework, and an experimental study based on standard STM benchmark applications.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Machine Learning-Based Self-Adjusting Concurrency in Software Transactional Memory Systems2012
- On the analytical modeling of concurrency control algorithms for Software Transactional Memories: The case of Commit-Time-LockingPerformance Evaluation, 2012
- Modeling the Run-time Behavior of Transactional Memory2010
- Analytical modeling of lock-based concurrency control with arbitrary transaction data access patterns2010
- Dynamic performance tuning of word-based software transactional memory2008
- Concurrency controlACM Computing Surveys, 1998
- Software transactional memory1995
- On the analytical modeling of database concurrency controlJournal of the ACM, 1993
- Performance analysis of centralized databases with optimistic concurrency controlPerformance Evaluation, 1987
- Locking performance in centralized databasesACM Transactions on Database Systems, 1985