首页> 外文会议>International Symposium on Computing and Networking >A Concurrency Control in Hardware Transactional Memory Considering Execution Path Variation
【24h】

A Concurrency Control in Hardware Transactional Memory Considering Execution Path Variation

机译:考虑执行路径变化的硬件事务内存中的并发控制

获取原文

摘要

Lock-based thread synchronization techniques have been commonly used in parallel programming on multi-core processors. However, lock can cause deadlocks and poor scalabilites, and Transactional Memory (TM) has been proposed and studied for lock-free synchronization. On TMs, transactions are executed speculatively in parallel as long as they do not encounter any conflicts on shared variables. On general HTMs, hardware implementations of TM, conflicts can degrade the performance of HTM because of the overhead for re-execution of transactions. To address this problem, various transaction scheduling algorithms for avoiding conflicts have been proposed. However in the existing algorithms, execution path variation is not considered at all. Some transactions have branch instructions, and they cause execution path variations of transaction, resulting in poor efficacy of the scheduling algorithms. In this paper, we propose a novel concurrency control based on the execution time of transactions with considering execution path variation. The result of the experiment shows that the execution time of HTM is reduced 61.6% at a maximum, and 13.8% on average with 16 threads.
机译:基于锁的线程同步技术已普遍用于多核处理器的并行编程中。但是,锁定可能会导致死锁和可伸缩性差,因此已经提出并研究了事务性存储(TM)以实现无锁同步。在TM上,只要事务不会在共享变量上遇到任何冲突,就可以以推测方式并行执行事务。在通用HTM(TM的硬件实现)上,冲突会降低HTM的性能,因为重新执行事务会产生开销。为了解决这个问题,已经提出了各种用于避免冲突的事务调度算法。然而,在现有算法中,根本不考虑执行路径的变化。一些事务具有分支指令,并且它们导致事务的执行路径变化,从而导致调度算法的效果较差。在本文中,我们提出了一种基于事务执行时间并考虑执行路径变化的新型并发控制。实验结果表明,使用16个线程,HTM的执行时间最多减少了61.6%,平均减少了13.8%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号