arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1605.01361cs.DC
收藏

最优Pessimic事务存储器算法

The Optimal Pessimistic Transactional Memory Algorithm

Paweł T. Wojciechowski, Konrad Siek

摘要:

transmittedmemory(TM)是一种旨在通过在保持效率的同时自动同步来简化并发编程的方法。TM通常采用乐观的并发控制方法,该方法依赖于在发生冲突时中止和重新启动事务。但是,如果在其代码中存在不可撤销的操作,则中止的事务仍可能在系统中留下一些无法清除的影响。悲观方法消除了这个问题,因为它依赖于在冲突的情况下延迟操作而不是中止,但是由于需要串行化事务,迄今为止悲观TM的并行性很低。在本文中,我们的目标是介绍OptSVA,一个悲观TM并发控制算法,通过电池的深远的优化,包括早期释放,异步执行,并广泛使用缓冲,确保高水平的并行性。

英文摘要:

Transactional Memory (TM) is an approach aiming to simplify concurrent programming by automating synchronization while maintaining efficiency. TM usually employs the optimistic concurrency control approach, which relies on transactions aborting and restarting if conflicts occur. However, an aborted transaction can still leave some effects in the system that cannot be cleaned up, if irrevocable operations are present within its code. The pessimistic approach eliminates that problem, since it relies on deferring operations in case of conflict rather than aborting, but hitherto pessimistic TMs suffered from low parallelism due to the need of serializing transactions. In this paper, we aim to introduce OptSVA, a pessimistic TM concurrency control algorithm that ensures a high level of parallelism through a battery of far-reaching optimizations including early release, asynchronous execution, and the extensive use of buffering.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑