首页> 外文学位 >Improving the efficiency of conflict detection and contention management in hardware Transactional Memory systems.
【24h】

Improving the efficiency of conflict detection and contention management in hardware Transactional Memory systems.

机译:提高硬件事务存储系统中冲突检测和争用管理的效率。

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

摘要

Chip Multiprocessors (CMPs) are becoming the mainstream due to the physical power limits of process technology. In this parallel era, software applications no longer automatically benefit from improvements in processor performance as they did in past decades. The benefit of CMPs can only be realized by environments that enable efficient creation of parallel applications.;Transactional Memory (TM) is a promising paradigm that aims to simplify parallel programming by providing a programmer-friendly alternative to traditional lock-based synchronization. With TM, programmers just focus on the correctness of their parallel programs by composing applications in units of a transaction, a block of codes that execute atomically and in isolation. The underlying TM system is responsible for enforcing atomicity and extracting performance. By decoupling correctness and performance, TM can make parallel programming much easier and enable better programmer productivity than lock primitives.;TM systems attempt to harvest high performance by executing multiple transactions in parallel. In TM systems, a conflict occurs when a memory block is accessed concurrently by two or more transactions and at least one of them is a write access. Detecting conflicts is critical to the correctness as well as performance of TM systems. In this dissertation, we propose two conflict detection mechanisms, adaptive-grain signatures and unified signatures to improve the efficiency of conflict detection.;Observing that some false positives can be helpful to performance by triggering the early abortion of a transaction which would encounter a true conflict later anyway, we propose an adaptive grain signature to improve performance by dynamically changing the range of address keys based on the history. With the use of adaptive grain signatures, we can increase the number of performance-friendly false positives as well as decrease the number of performance-destructive false positives. Instead of using separate read- and write-signatures, as is often done in TM systems, we implement a single signature, a unified signature, to track all read- and write-accesses. By merging read- and write-signatures, a unified signature can effectively enlarge the signature coverage without additional overhead. Within the constraints of a given hardware budget, a TM system with a unified signature outperforms a baseline system with the same-sized traditional signatures by reducing the number of falsely detected conflicts. Even though the unified signature scheme incurs read-read dependencies, we show that these false dependencies do not negate the benefit of unified signatures and can effectively be filtered out. A TM system with a 2K-bit unified signature with helper signature scheme achieves speedups of 15% over baseline TM with 33% less area and 49% less power.;How to resolve or prevent the conflicts, or contention management is another building block of TM systems that significantly impacts TM performance. Traditionally, critical sections or transactions have been treated to execute in any order with no weights as long as the atomicity can be maintained. We have observed that some transactions are more important than others with respect to the performance based on the implemented algorithm. Based on this observation, we propose a mileage technique, a software/hardware cooperative approach with new instructions and a new functional unit to exploit performance-criticality among transactions. We propose Mileage-based contention management and can achieve average speedups of 15% over baseline contention management.
机译:由于制程技术的物理功率限制,芯片多处理器(CMP)成为主流。在这个并行时代,软件应用程序不再像过去几十年那样自动受益于处理器性能的提高。 CMP的好处只有在能够有效创建并行应用程序的环境中才能实现。事务存储(TM)是一种有前途的范例,旨在通过提供程序员友好的替代传统基于锁的同步的方式来简化并行编程。借助TM,程序员可以通过以事务为单位编写应用程序来专注于其并行程序的正确性,事务是一个原子且独立执行的代码块。底层的TM系统负责执行原子性和提取性能。通过消除正确性和性能之间的耦合,TM可以使并行编程变得更容易,并且与锁原语相比,可以提高程序员的生产率。TM系统试图通过并行执行多个事务来获取高性能。在TM系统中,当一个内存块被两个或多个事务同时访问并且其中至少一个是写访问时,就会发生冲突。检测冲突对于TM系统的正确性和性能至关重要。本文提出了两种冲突检测机制:自适应粒度签名和统一签名,以提高冲突检测的效率。观察到一些误报会触发事务的早期中止,从而可能会导致真实的交易。无论如何,在以后发生冲突的情况下,我们提出了一种自适应谷物签名,以通过基于历史记录动态更改地址密钥的范围来提高性能。通过使用自适应谷物签名,我们可以增加对性能友好的误报的数量,并减少对性能有害的误报的数量。与实施TM系统中通常使用的分开的读写签名不同,我们实现了一个单一的签名(统一的签名)来跟踪所有的读写访问。通过合并读签名和写签名,统一的签名可以有效地扩大签名覆盖范围,而不会产生额外的开销。在给定硬件预算的限制下,具有统一签名的TM系统通过减少错误检测到的冲突数量,可以胜过具有相同大小传统签名的基准系统。即使统一签名方案产生了读写依赖性,我们也证明了这些错误的依赖性并没有抵消统一签名的好处,并且可以有效地将其过滤掉。具有2K位统一签名和辅助签名方案的TM系统比基线TM的速度提高了15%,面积减少了33%,功耗降低了49%;如何解决或防止冲突,或争用管理是解决问题的另一个基础对TM性能有重大影响的TM系统。传统上,只要可以保持原子性,关键部分或事务就可以按任何顺序执行而没有权重。我们已经观察到,就基于已实现算法的性能而言,某些事务比其他事务更为重要。基于此观察,我们提出了里程技术,具有新指令的软件/硬件协作方法以及新功能来利用交易之间的性能关键性。我们建议基于里程的竞争管理,并且可以比基准竞争管理平均提高15%。

著录项

  • 作者

    Choi, Woojin.;

  • 作者单位

    University of Southern California.;

  • 授予单位 University of Southern California.;
  • 学科 Engineering Computer.
  • 学位 Ph.D.
  • 年度 2012
  • 页码 143 p.
  • 总页数 143
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号