Supporting Time-Based QoS Requirements in Software Transactional Memory

Abstract : Software Transactional Memory (STM) is an optimistic concurrency control mechanism that simplifies parallel programming. Still, there has been little interest in its applicability for reactive applications in which there is a required response time for certain operations. We propose supporting such applications by allowing programmers to associate time with atomic blocks in the forms of deadlines and QoS requirements. Based on statistics of past executions, we adjust the execution mode of transactions by decreasing the level of optimism as the deadline approaches. In the presence of concurrent deadlines, we propose different conflict resolution policies. Execution mode switching mechanisms allow meeting multiple deadlines in a consistent manner, with potential QoS degradations being split fairly among several threads as contention increases, and avoiding starvation. Our implementation consists of extensions to a STM runtime that allow gathering statistics and switching execution modes. We also propose novel contention managers adapted to transactional workloads subject to deadlines. The experimental evaluation shows that our approaches significantly improve the likelihood of a transaction meeting its deadline and QoS requirement, even in cases where progress is hampered by conflicts and other concurrent transactions with deadlines.
Type de document :
Article dans une revue
ACM Transactions on Parallel Computing, Association for Computing Machinery, 2015, 2 (2), pp.27. 〈10.1145/2779621〉
Liste complète des métadonnées

Littérature citée [31 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01240225
Contributeur : Julia Lawall <>
Soumis le : mardi 8 décembre 2015 - 19:18:32
Dernière modification le : vendredi 25 mai 2018 - 12:02:07
Document(s) archivé(s) le : samedi 29 avril 2017 - 09:55:19

Fichier

Maldonado_et_al_TOPC.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Walther Maldonado, Patrick Marlier, Pascal Felber, Julia Lawall, Gilles Muller, et al.. Supporting Time-Based QoS Requirements in Software Transactional Memory. ACM Transactions on Parallel Computing, Association for Computing Machinery, 2015, 2 (2), pp.27. 〈10.1145/2779621〉. 〈hal-01240225〉

Partager

Métriques

Consultations de la notice

459

Téléchargements de fichiers

127