Deadline-Aware Scheduling for Software Transactional Memory - Archive ouverte HAL Access content directly
Conference Papers Year :

Deadline-Aware Scheduling for Software Transactional Memory

Abstract

Software Transactional Memory (STM) is an optimistic concurrency control mechanism that simplifies the development of parallel programs. Still, the interest of STM has not yet been demonstrated for reactive applications that require bounded response time for some of their operations. We propose to support such applications by allowing the developer to annotate some transaction blocks with deadlines. Based on previous execution statistics, we adjust the transaction execution strategy by decreasing the level of optimism as the deadlines near through two modes of conservative execution, without overly limiting the progress of concurrent transactions. Our implementation comprises a STM extension for gathering statistics and implementing the execution mode strategies. We have also extended the Linux scheduler to disable preemption or migration of threads that are executing transactions with deadlines. Our experimental evaluation shows that our approach significantly improves the chance of a transaction meeting its deadline when its progress is hampered by conflicts.
No file

Dates and versions

hal-01286605 , version 1 (11-03-2016)

Identifiers

Cite

Walther Maldonado, Patrick Marlier, Pascal Felber, Julia L. Lawall, Gilles Muller, et al.. Deadline-Aware Scheduling for Software Transactional Memory. The International Conference on Dependable Systems and Networks (DSN 2011), Jun 2011, Hong Kong, Hong Kong SAR China. pp.257-268, ⟨10.1109/DSN.2011.5958224⟩. ⟨hal-01286605⟩
165 View
0 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More