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

MGSim + MGMark:一个多GPU系统研究框架

MGSim + MGMark: A Framework for Multi-GPU System Research

Yifan Sun, Trinayan Baruah, Saiful A. Mojumder, Shi Dong, Rafael Ubal, Xiang Gong, Shane Treadway, Yuhui Bao, Vincent Zhao, José L. Abellán, John Kim, Ajay Joshi, David Kaeli

摘要:

数据并行工作负载的迅速普及和规模要求GPU(图形处理单元)的原始计算能力相应增加。随着单GPU系统努力满足性能需求,多GPU系统已经开始主导高性能计算世界。这种系统的出现提出了许多设计挑战,包括GPU微架构,多GPU互连结构,运行时库和相关的编程模型。研究界目前缺乏一个可用的和全面的多GPU仿真框架和基准套件来评估多GPU系统设计解决方案。在这项工作中,我们提出了MGSim,周期准确,广泛验证,多GPU模拟器,基于AMD的图形核心下3(GCN 3)指令集架构。我们使用MGMark对MGSim进行补充,MGMark是一套多GPU工作负载,可探索多GPU协作执行模式。我们的模拟器是可扩展的,并配备了多线程执行的内置支持,以实现快速和高效的模拟。在性能准确性方面,MGSim与实际GPU硬件相比,平均而言与$5.5\%$不同。我们还实现了$3.5\times$和$2.5\times$的平均加速功能仿真和架构仿真与4个CPU核心,同时提供相同的精度作为串行仿真。我们通过一个案例研究来说明我们的模拟器所提供的新颖的模拟功能,该案例研究探索基于统一多GPU系统(U-MGPU)和离散多GPU系统(D-MGPU)的编程模型,这两个系统都利用统一的内存空间和跨GPU内存访问。我们评估的设计影响,从我们的案例研究,表明D-MGPU是一个有吸引力的编程模型,为未来的多GPU系统。

英文摘要:

The rapidly growing popularity and scale of data-parallel workloads demand a corresponding increase in raw computational power of GPUs (Graphics Processing Units). As single-GPU systems struggle to satisfy the performance demands, multi-GPU systems have begun to dominate the high-performance computing world. The advent of such systems raises a number of design challenges, including the GPU microarchitecture, multi-GPU interconnect fabrics, runtime libraries and associated programming models. The research community currently lacks a publically available and comprehensive multi-GPU simulation framework and benchmark suite to evaluate multi-GPU system design solutions. In this work, we present MGSim, a cycle-accurate, extensively validated, multi-GPU simulator, based on AMD's Graphics Core Next 3 (GCN3) instruction set architecture. We complement MGSim with MGMark, a suite of multi-GPU workloads that explores multi-GPU collaborative execution patterns. Our simulator is scalable and comes with in-built support for multi-threaded execution to enable fast and efficient simulations. In terms of performance accuracy, MGSim differs $5.5\%$ on average when compared against actual GPU hardware. We also achieve a $3.5\times$ and a $2.5\times$ average speedup in function emulation and architectural simulation with 4 CPU cores, while delivering the same accuracy as the serial simulation. We illustrate the novel simulation capabilities provided by our simulator through a case study exploring programming models based on a unified multi-GPU system (U-MGPU) and a discrete multi-GPU system (D-MGPU) that both utilize unified memory space and cross-GPU memory access. We evaluate the design implications from our case study, suggesting that D-MGPU is an attractive programming model for future multi-GPU systems.

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

↑