首页> 外文期刊>International journal of parallel programming >Purge-Rehab: Eager Software Transactional Memory with High Performance Under Contention
【24h】

Purge-Rehab: Eager Software Transactional Memory with High Performance Under Contention

机译:清除:争用状态下具有高性能的渴望软件事务存储

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

摘要

Transactional memory is a programming model that attempts to make parallel programming easier. Transactional memory uses either eager (at encounter time) or lazy (at commit time) validation to check for conflicting accesses between concurrent transactions, and researchers have been divided over which approach is best. Despite this, there is little work in the literature evaluating their comparative performance. One exploration of this topic using microbenchmarks found that lazy outperforms eager and increases its advantage as contention rises. Furthermore, eager was prone to livelock when accesses were irregular, which resulted in starvation and low throughput. We revisit the comparative performance of eager and lazy under contention using a larger set of microbenchmarks, more complex benchmarks from STAMP, and against multiple state-of-the-art STMs: word-based RSTM, TinySTM and SwissTM. We validate earlier findings that eager suffers from livelock, especially when accesses are irregular. This inspired Purge-Rehab: a lightweight mechanism for controlling transaction restarts in eager validation to reduce livelock and thus improve throughput and reduce starvation. Compared to lazy validation, Purge-Rehab achieves higher performance in five benchmarks, similar in four, and is lower in only one, showing that eager validation can achieve high performance under contention. Purge-Rehab is implemented in word-based RSTM, but is applicable to any eager STM.
机译:事务性内存是一种编程模型,旨在简化并行编程。事务性内存使用渴望的(在遇到时)或懒惰的(在提交时)验证来检查并发事务之间的冲突访问,并且研究人员已经就哪种方法是最好的进行了划分。尽管如此,文献中很少有评估其比较性能的工作。使用微基准测试对该主题进行的一项探索发现,随着竞争的加剧,懒惰的表现胜过渴望并增加了它的优势。此外,当访问不规则时,渴望的人很容易发生活锁,这导致饥饿和低吞吐量。我们使用大量的微基准,STAMP的更复杂的基准以及针对多个最新STM的STM(基于单词的RSTM,TinySTM和SwissTM),重新审视在争用中渴望和懒惰的比较性能。我们验证了早期的发现,这些发现迫切需要活锁,特别是在访问不规则的情况下。这启发了Purge-Rehab:一种用于控制事务重新启动的轻量级机制,可以通过急切的验证来减少活动锁,从而提高吞吐量并减少饥饿。与懒惰验证相比,Purge-Rehab在五个基准测试中实现了更高的性能,在四个基准测试中均达到了类似的性能,而在一个基准测试中却更低,这表明渴望的验证可以在竞争中实现高性能。 Purge-Rehab在基于单词的RSTM中实现,但适用于任何急切的STM。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号