首页> 外文期刊>Parallel and Distributed Systems, IEEE Transactions on >Relaxed Concurrency Control in Software Transactional Memory
【24h】

Relaxed Concurrency Control in Software Transactional Memory

机译:软件事务内存中的轻松并发控制

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

摘要

Some of today's TM systems implement the two-phase-locking (2PL) algorithm which aborts transactions every time a conflict occurs. 2PL is a simple algorithm that provides fast transactional operations. However, it limits concurrency in benchmarks with high contention because it increases the rate of aborts. We propose the use of a more relaxed concurrency control algorithm to provide better concurrency. This algorithm is based on the conflict-serializability (CS) model. Unlike 2PL, it allows some transactions to commit successfully even when they make conflicting accesses. We implement this algorithm in a STM system and evaluate its performance on 16 cores using standard benchmarks. Our evaluation shows that the algorithm improves the performance of applications with long transactions and high abort rates. Throughput is improved by up to 2.99 times despite the overheads of testing for CS at runtime. These improvements come with little additional implementation complexity and require no changes to the transactional programming model. We also propose an adaptive approach that switches between 2PL and CS to mitigate the overhead in applications that have low abort rates.
机译:当今的某些TM系统实现了两阶段锁定(2PL)算法,该算法在每次发生冲突时都会中止事务。 2PL是一种提供快速事务处理操作的简单算法。但是,它限制了争用较高的基准测试中的并发,因为它增加了中止率。我们建议使用更宽松的并发控制算法来提供更好的并发。该算法基于冲突可序列化(CS)模型。与2PL不同,它允许某些事务成功进行提交,即使它们进行冲突的访问。我们在STM系统中实现此算法,并使用标准基准在16个内核上评估其性能。我们的评估表明,该算法提高了具有长事务和高中止率的应用程序的性能。尽管在运行时测试CS的开销很大,但吞吐量最多可提高2.99倍。这些改进几乎没有实现额外的复杂性,并且不需要更改事务编程模型。我们还提出了一种在2PL和CS之间切换的自适应方法,以减轻中止率较低的应用程序的开销。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号