...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号