首页> 外文期刊>Computing >TurboLock: increasing associativity of lock table in transactional memory
【24h】

TurboLock: increasing associativity of lock table in transactional memory

机译:TurboLock:增加事务存储器中锁表的关联性

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

摘要

Transactional memory (TM) is emerging as a promising paradigm to simplify parallel programming for chip multiprocessors. Most of software transactional memory (STM) systems exploit a lock table to synchronize transactional accesses to the shared memory locations. Memory addresses map to entries of the lock table through a hash function to detect conflicts in the event of simultaneous accesses to the shared memory locations. In the current implementation of the lock table, if two distinct addresses map to the same entry of the table, they are treated as a conflict even though there is no true conflict between the two addresses. This is called false conflict. In the event of a false conflict, transactions are aborted conservatively which reduces concurrency level in programs. In this paper, we study false conflicts in STMs and propose TurboLock to reduce frequency of false conflicts. Inspired by set associative caches, TurboLock increases associativity of the lock table to reduce likelihood of aliasing-induced conflicts. While TurboLock is effective in reducing the false conflicts, it may degrade performance due to overhead of the associative lock table in software. To improve performance of TurboLock, we propose HW-TurboLock which exploits hardware to reduce overhead of the associative lock table. We have evaluated our optimization techniques using Gem5 full-system simulator and compared the performance of the new implementation with the baseline scheme. Our simulation results reveal that HW-TurboLock is highly effective and significantly improves performance of TM systems.
机译:事务性存储器(TM)成为一种有望简化芯片多处理器并行编程的范例。大多数软件事务存储(STM)系统都利用锁表来同步对共享内存位置的事务访问。内存地址通过哈希函数映射到锁定表的条目,以在同时访问共享内存位置时检测冲突。在锁表的当前实现中,如果两个不同的地址映射到表的同一条目,则即使两个地址之间没有真正的冲突,也将它们视为冲突。这称为虚假冲突。如果发生错误冲突,事务将保守地中止,这会降低程序中的并发级别。在本文中,我们研究了STM中的错误冲突,并提出了TurboLock来减少错误冲突的频率。受设置的关联缓存的启发,TurboLock可提高锁表的关联性,以减少混淆引起的冲突的可能性。尽管TurboLock可以有效地减少错误冲突,但是由于软件中关联锁表的开销,它可能会降低性能。为了提高TurboLock的性能,我们提出了HW-TurboLock,它利用硬件来减少关联锁表的开销。我们已经使用Gem5全系统模拟器评估了我们的优化技术,并将新实现的性能与基准方案进行了比较。我们的仿真结果表明,HW-TurboLock非常有效,并且可以显着提高TM系统的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号