Software transactional memory

被引:0
作者
Nir Shavit
Dan Touitou
机构
[1] School of Mathematical Sciences,
[2] Tel-Aviv University,undefined
[3] Ramat Aviv,undefined
[4] Tel-Aviv 69978,undefined
[5] Israel,undefined
来源
Distributed Computing | 1997年 / 10卷
关键词
Key words: Multiprocessor synchronization; Lock-free; Transactional memory; Distributed shared memory;
D O I
暂无
中图分类号
学科分类号
摘要
 As we learn from the literature, flexibility in choosing synchronization operations greatly simplifies the task of designing highly concurrent programs. Unfortunately, existing hardware is inflexible and is at best on the level of a Load–Linked/Store–Conditional operation on a single word. Building on the hardware based transactional synchronization methodology of Herlihy and Moss, we offer software transactional memory (STM), a novel software method for supporting flexible transactional programming of synchronization operations. STM is non-blocking, and can be implemented on existing machines using only a Load–Linked/Store–Conditional operation. We use STM to provide a general highly concurrent method for translating sequential object implementations to non-blocking ones based on implementing a k-word compare&swap STM-transaction. Empirical evidence collected on simulated multiprocessor architectures shows that our method always outperforms the non-blocking translation methods in the style of Barnes, and outperforms Herlihy’s translation method for sufficiently large numbers of processors. The key to the efficiency of our software-transactional approach is that unlike Barnes style methods, it is not based on a costly “recursive helping” policy.
引用
收藏
页码:99 / 116
页数:17
相关论文
empty
未找到相关数据