首页> 外文会议>International Conference on Principles of Distributed Systems >Toward a Theory of Input Acceptance for Transactional Memories
【24h】

Toward a Theory of Input Acceptance for Transactional Memories

机译:朝着事务记忆的输入接受理论

获取原文

摘要

Transactional memory (TM) systems receive as an input a stream of events also known as a workload, reschedule it with respect to several constraints, and output a consistent history. In multicore architectures, the transactional code executed by a processor is a stream of events whose interruption would waste processor cycles. In this paper, we formalize the notion of TM workload into classes of input patterns, whose acceptance helps understanding the performance of a given TM. TMs are often evaluated in terms of throughput (number of commits by time unit). The performance limitation induced by aborted transactions has, however, been mostly neglected. A TM optimistically executes a transaction and commits it if no conflict has been detected during its execution. If there exists any risk that a transaction violates consistency, then this transaction does not commit. Since stopping a thread until possible conflict resolution would waste core cycles, the common solution is to choose one of the conflicting transactions and to abort it. Interestingly, many existing TMs unnecessarily abort transactions that could commit without violating consistency. For example, consider the input pattern depicted on the left-hand side of Figure 1, whose events are ordered from top to bottom. DSTM [1], a well-known Software Transactional Memory (STM), would detect a conflict and try to resolve it, whatever it costs. Clearly, the read operation applied to variable x could indifferently return value v{sub}1 or the value overwritten without violating serializability [2], or even opacity [3], thus no conflict resolution is needed. This paper focuses on the ability of TMs to commit transactions from given workloads: the input acceptance of TMs.
机译:交易存储器(TM)系统作为输入的事件流也称为工作负载,重新安排到多个约束,并输出一致的历史。在多核架构中,处理器执行的事务代码是其中断将废物处理器周期的事件流。在本文中,我们将TM工作量的概念正式化为输入模式的类别,其验收有助于了解给定TM的性能。 TMS通常在吞吐量方面进行评估(时间单位的犯罪数)。然而,中产交易所引起的性能限制大多被忽视了。 TM乐观地执行事务,如果在执行期间没有检测到冲突,则会提交。如果事务违反了一致性的任何风险,则此交易不会提交。由于停止线程直到可能的冲突分辨率会浪费核心周期,因此常见的解决方案是选择一个冲突的事务并中止。有趣的是,许多现有的TMS不必要地中止可以在不违反一致性的情况下提交的事务。例如,考虑图1的左侧描绘的输入图案,其事件从上到下排序。 DSTM [1],众所周知的软件事务内存(STM),会检测到冲突并尝试解决它,无论其成本如何。显然,应用于变量x的读操作可以漠不关心地返回值v {sub} 1,或者在不违反序列化[2],甚至不透明度[3]的情况下覆盖的值,因此不需要冲突解决。本文侧重于TMS从给定工作负载执行交易的能力:TMS的输入接受。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号