首页> 外文期刊>Science of Computer Programming >ARV-ALA: Improving performance of software transactional memory through adaptive read and write policies
【24h】

ARV-ALA: Improving performance of software transactional memory through adaptive read and write policies

机译:ARV-ALA:通过自适应读写策略提高软件事务存储器的性能

获取原文
获取原文并翻译 | 示例

摘要

Software transactional memory (STM) is a promising paradigm which simplifies concurrent programming for chip multiprocessors. Although the implementations of STMs are simple and efficient, they display inconsistent performance: different design decisions lead to systems performing best under different circumstances, often by a large margin. In this paper, we investigate transactional read and write policies in time-based STMs. Existing transactional read and write policies follow a static approach and use one policy across all applications. However, no single universal policy offers optimal performance across all applications. We propose adaptive read validation (ARV) and adaptive lock acquisition (ALA) policies for time-based STMs. Our solutions adjust transactional read and write policies dynamically and according to workloads' behavior. ARV and ALA are history-based techniques and exploit transaction's behavior in the past to adjust transactional read and write policies in the future. ARV and ALA not only vary read validation and lock acquisition policies across applications, but also adjust the two policies across different phases of an application. ARV and ALA are simple to implement, require no application-specific information, and are transparent to programmers. We evaluate our adaptive techniques using Stamp vO.9.10 benchmark suite. The evaluation reveals that ARV and ALA are highly effective and improve performance significantly.
机译:软件事务存储器(STM)是一种有前途的范例,它可以简化芯片多处理器的并发编程。尽管STM的实现既简单又高效,但它们显示出不一致的性能:不同的设计决策会导致系统在不同的情况下表现最佳,通常幅度很大。在本文中,我们研究了基于时间的STM中的事务性读写策略。现有的事务读写策略遵循静态方法,并且在所有应用程序中使用一个策略。但是,没有一个通用策略可以在所有应用程序中提供最佳性能。我们为基于时间的STM提出了自适应读取验证(ARV)和自适应锁获取(ALA)策略。我们的解决方案根据工作负载的行为动态调整事务性读写策略。 ARV和ALA是基于历史的技术,它们利用过去的事务行为来调整将来的事务读写策略。 ARV和ALA不仅会更改应用程序之间的读取验证和锁定获取策略,而且还会在应用程序的不同阶段调整这两个策略。 ARV和ALA易于实现,不需要特定于应用程序的信息,并且对程序员透明。我们使用Stamp vO.9.10基准套件评估我们的自适应技术。评估显示,ARV和ALA是高效的,并且可以显着提高性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号