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

Pot:确定性事务执行

Pot: Deterministic transactional execution

Tiago M. Vale, João A. Silva, Ricardo J. Dias, João M. Lourenço

摘要:

本文介绍了锅,一个系统,利用预先排序的事务的概念,以实现确定性的多线程执行的程序,使用transmitted内存。预排序事务消除了事务执行中不确定性的根本原因:它们提供了以确定性顺序执行的错觉,而不像传统事务那样以不确定的顺序执行,可以从执行到执行改变。Pot使用新的并发控制协议,该协议利用串行化顺序来区分快速和推测性事务执行模式,以减轻强加确定性顺序的开销。我们构建了两个Pot原型:一个使用STM,另一个使用现成的HTM。据我们所知,Pot首次使用现成的HTM实现了程序的确定性执行。实验评估表明,锅实现了确定性的TM程序执行低开销,有时甚至优于非确定性的执行,并明显优于最先进的。

英文摘要:

This paper presents Pot, a system that leverages the concept of preordered transactions to achieve deterministic multithreaded execution of programs that use Transactional Memory. Preordered transactions eliminate the root cause of nondeterminism in transactional execution: they provide the illusion of executing in a deterministic serial order, unlike traditional transactions which appear to execute in a nondeterministic order that can change from execution to execution. Pot uses a new concurrency control protocol that exploits the serialization order to distinguish between fast and speculative transaction execution modes in order to mitigate the overhead of imposing a deterministic order. We build two Pot prototypes: one using STM and another using off-the-shelf HTM. To the best of our knowledge, Pot enables deterministic execution of programs using off-the-shelf HTM for the first time. An experimental evaluation shows that Pot achieves deterministic execution of TM programs with low overhead, sometimes even outperforming nondeterministic executions, and clearly outperforming the state of the art.

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

↑