MGSim + MGMark: A Framework for Multi-GPU System Research
Abstract
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 on average when compared against actual GPU hardware. We also achieve a and a 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.
Keywords
Cite
@article{arxiv.1811.02884,
title = {MGSim + MGMark: A Framework for Multi-GPU System Research},
author = {Yifan Sun and Trinayan Baruah and Saiful A. Mojumder and Shi Dong and Rafael Ubal and Xiang Gong and Shane Treadway and Yuhui Bao and Vincent Zhao and José L. Abellán and John Kim and Ajay Joshi and David Kaeli},
journal= {arXiv preprint arXiv:1811.02884},
year = {2018}
}
Comments
Updated typo