首页> 外文会议>ACM SIGPLAN Symposium on Priciples and Practice of Parallel Programming >A Comprehensive Strategy for Contention Management in Software Transactional Memory *
【24h】

A Comprehensive Strategy for Contention Management in Software Transactional Memory *

机译:软件交易记忆中争用管理的全面策略*

获取原文

摘要

In Software Transactional Memory (STM), contention management refers to the mechanisms used to ensure forward progress - to avoid livelock and starvation, and to promote throughput and fairness. Unfortunately, most past approaches to contention management were designed for obstruction-free STM frameworks, and impose significant constant-time overheads. Priority-based approaches in particular typically require that reads be visible to all transactions, an expensive property that is not easy to support in most STM systems. In this paper we present a comprehensive strategy for contention management via fair resolution of conflicts in an STM with invisible reads. Our strategy depends on (1) lazy acquisition of ownership, (2) extendable timestamps, and (3) an efficient way to capture both priority and conflicts. We introduce two mechanisms - one using Bloom filters, the other using visible read bits - that implement point (3). These mechanisms unify the notions of conflict resolution, inevitability, and transaction retry. They are orthogonal to the rest of the contention management strategy, and could be used in a wide variety of hardware and software TM systems. Experimental evaluation demonstrates that the overhead of the mechanisms is low, particularly when conflicts are rare, and that our strategy as a whole provides good throughput and fairness, including livelock and starvation freedom, even for challenging workloads.
机译:在软件交易记忆(STM)中,争用管理是指用于确保前进进展的机制 - 以避免加速和饥饿,并促进吞吐量和公平性。不幸的是,大多数过去争用管理方法都是针对无阻碍的STM框架设计的,并施加了显着的恒定时间开销。特别是基于优先级的方法通常要求所有事务都可以看到读取,这是一个不容易支持大多数STM系统的昂贵属性。在本文中,我们通过公平解决与隐形读数的STM中的冲突进行竞争管理的全面策略。我们的策略取决于(1)懒惰收购所有权,(2)可扩展时间戳,(3)一种有效的方法来捕获优先级和冲突。我们介绍了两个机制 - 使用绽放过滤器,另一个使用可见读取比特 - 实现点(3)。这些机制统一了冲突解决,不可避免性和交易重试的概念。它们与其他争用管理策略正交,并可用于各种硬件和软件TM系统。实验评估表明机制的开销很低,特别是当冲突很少罕见时,我们整体的战略提供了良好的吞吐量和公平,包括活锁和饥饿自由,即使是挑战的工作量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号