arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.00661cs.DC
收藏

HeTM:异构系统的事务存储器

HeTM: Transactional Memory for Heterogeneous Systems

Daniel Castro, Paolo Romano, Aleksandar Ilic, Amin M. Khan

摘要:

现代异构计算架构将多核CPU与离散的众核GPU(或其他专用硬件加速器)相结合,实现了前所未有的峰值性能和能效水平。然而,不幸的是,开发能够充分利用异构系统潜力的应用程序是一项非常困难的任务。这项工作采取了一个步骤,减少编程的复杂性异构系统通过引入异构transmittance内存(HeTM)的抽象。HeTM为程序员提供了一个单一内存区域的错觉,在异构系统的CPU和(离散)GPU之间共享,支持原子事务。除了介绍的抽象语义和编程模型的HeTM,我们提出了一个具体的实现建议的抽象,我们命名为投机HeTM(SHeTM)的设计和评估。SHeTM利用了一种新颖的设计,利用推测技术,旨在隐藏CPU和离散GPU之间固有的大通信延迟,并最大限度地减少设备间同步开销。SHeTM基于模块化和可扩展的设计,其允许在CPU和GPU侧上容易地集成替代TM实现,这允许在任一侧上灵活地采用TM实现(例如,在硬件或软件中)最适合应用程序的工作负载和处理单元的体系结构特性。我们证明了SHeTM的效率,通过广泛的定量研究的基础上合成基准和移植的一个流行的对象缓存系统。

英文摘要:

Modern heterogeneous computing architectures, which couple multi-core CPUs with discrete many-core GPUs (or other specialized hardware accelerators), enable unprecedented peak performance and energy efficiency levels. Unfortunately, though, developing applications that can take full advantage of the potential of heterogeneous systems is a notoriously hard task. This work takes a step towards reducing the complexity of programming heterogeneous systems by introducing the abstraction of Heterogeneous Transactional Memory (HeTM). HeTM provides programmers with the illusion of a single memory region, shared among the CPUs and the (discrete) GPU(s) of a heterogeneous system, with support for atomic transactions. Besides introducing the abstract semantics and programming model of HeTM, we present the design and evaluation of a concrete implementation of the proposed abstraction, which we named Speculative HeTM (SHeTM). SHeTM makes use of a novel design that leverages on speculative techniques and aims at hiding the inherently large communication latency between CPUs and discrete GPUs and at minimizing inter-device synchronization overhead. SHeTM is based on a modular and extensible design that allows for easily integrating alternative TM implementations on the CPU's and GPU's sides, which allows the flexibility to adopt, on either side, the TM implementation (e.g., in hardware or software) that best fits the applications' workload and the architectural characteristics of the processing unit. We demonstrate the efficiency of the SHeTM via an extensive quantitative study based both on synthetic benchmarks and on a porting of a popular object caching system.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑