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

HALCONE:一种基于硬件时间戳的多GPU缓存一致性方案

HALCONE : A Hardware-Level Timestamp-based Cache Coherence Scheme for Multi-GPU systems

Saiful A. Mojumder, Yifan Sun, Leila Delshadtehrani, Yenai Ma, Trinayan Baruah, José L. Abellán, John Kim, David Kaeli, Ajay Joshi

摘要:

虽然多GPU(MGPU)系统对于计算密集型工作负载非常流行,但存储层次结构和数据移动中的若干低效率导致GPU资源的浪费和MGPU系统编程的困难。首先,由于缺乏硬件级的一致性,MGPU编程模型要求程序员在GPU的内存之间复制和重复传输数据。这会导致宝贵的GPU内存使用效率低下。第二,为了保持跨MGPU系统的一致性,使用低带宽和高延迟的片外链路传输数据会导致系统性能下降。第三,由于程序员需要手动维护数据一致性,因此对MGPU系统进行编程以最大化其吞吐量极具挑战性。为了解决上述问题,我们提出了一种新的轻量级的基于时间戳的一致性协议,HALCONE,MGPU系统和修改的存储层次结构的GPU支持物理共享内存。HALCONE将计算单元(CU)级逻辑时间计数器替换为高速缓存级逻辑时间计数器,以减少一致性流量。此外,HALCONE引入了一种新的时间戳存储单元(TSU),在主存储器中没有额外的性能开销来执行一致性操作。我们提出的HALCONE协议保持了MGPU的存储层次结构中的数据一致性,具有最小的性能开销(小于1\%)。使用一组标准的MGPU基准测试,我们观察到,4-GPU MGPU系统与共享内存和HALCONE执行,平均,4.6 $\times$和3 $\times$优于4-GPU MGPU系统与现有的RDMA和最近提出的HMG一致性协议,分别。我们使用不同的GPU计数(2,4,8和16)和不同的CU计数(32,48和64个CU每GPU)为11个标准基准测试演示了HALCONE的可扩展性。

英文摘要:

While multi-GPU (MGPU) systems are extremely popular for compute-intensive workloads, several inefficiencies in the memory hierarchy and data movement result in a waste of GPU resources and difficulties in programming MGPU systems. First, due to the lack of hardware-level coherence, the MGPU programming model requires the programmer to replicate and repeatedly transfer data between the GPUs' memory. This leads to inefficient use of precious GPU memory. Second, to maintain coherency across an MGPU system, transferring data using low-bandwidth and high-latency off-chip links leads to degradation in system performance. Third, since the programmer needs to manually maintain data coherence, the programming of an MGPU system to maximize its throughput is extremely challenging. To address the above issues, we propose a novel lightweight timestamp-based coherence protocol, HALCONE, for MGPU systems and modify the memory hierarchy of the GPUs to support physically shared memory. HALCONE replaces the Compute Unit (CU) level logical time counters with cache level logical time counters to reduce coherence traffic. Furthermore, HALCONE introduces a novel timestamp storage unit (TSU) with no additional performance overhead in the main memory to perform coherence actions. Our proposed HALCONE protocol maintains the data coherence in the memory hierarchy of the MGPU with minimal performance overhead (less than 1\%). Using a set of standard MGPU benchmarks, we observe that a 4-GPU MGPU system with shared memory and HALCONE performs, on average, 4.6$\times$ and 3$\times$ better than a 4-GPU MGPU system with existing RDMA and with the recently proposed HMG coherence protocol, respectively. We demonstrate the scalability of HALCONE using different GPU counts (2, 4, 8, and 16) and different CU counts (32, 48, and 64 CUs per GPU) for 11 standard benchmarks.

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

↑