首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >SI-TM: Reducing Transactional Memory Abort Rates through Snapshot Isolation
【24h】

SI-TM: Reducing Transactional Memory Abort Rates through Snapshot Isolation

机译:SI-TM:通过快照隔离降低事务性内存中止率

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

摘要

Transactional memory represents an attractive conceptual model for programming concurrent applications. Unfortunately, high transaction abort rates can cause significant performance degradation. Conventional transactional memory realizations not only pessimistically abort transactions on every read-write conflict but also because of false sharing, cache evictions, TLB misses, page faults and interrupts. Consequently, the use of transactions needs to be restricted to a very small number of operations to achieve predictable performance, thereby, limiting its benefit to programming simplification. In this paper, we investigate snapshot isolation transactional memory in which transactions operate on memory snapshots that always guarantee consistent reads. By exploiting snapshots, an established database model of transactions, transactions can ignore read-write conflicts and only need to abort on write-write conflicts. Our implementation utilizes a memory controller that supports multiversion memory, to efficiently support snapshotting in hardware.We show that snapshot isolation can reduce the number of aborts in some cases by three orders of magnitude and improve performance by up to 20x.
机译:事务性内存代表了一种用于编程并发应用程序的有吸引力的概念模型。不幸的是,高事务中止率会导致性能显着下降。传统的事务性内存实现不仅在每次读写冲突时都悲观地中止了事务,而且还由于错误的共享,缓存逐出,TLB丢失,页面错误和中断而导致事务中断。因此,需要将事务的使用限制在非常少量的操作上,以实现可预测的性能,从而将其好处限制在简化编程上。在本文中,我们研究了快照隔离事务内存,其中事务在始终保证一致读取的内存快照上运行。通过利用快照(已建立的事务数据库模型),事务可以忽略读写冲突,并且仅需要在发生读写冲突时中止。我们的实现利用支持多版本内存的内存控制器来有效地支持硬件快照。我们证明快照隔离可以在某些情况下将中止次数减少三个数量级,并将性能提高多达20倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号