GPUs are the most popular platform for accelerating HPC workloads, such as artificial intelligence and science simulations. However, most microarchitectural research in academia relies on GPU core pipeline designs based on architectures that are more than 15 years old.
This paper reverse engineers modern NVIDIA GPU cores, unveiling many key aspects of its design and explaining how GPUs leverage hardware-compiler techniques where the compiler guides hardware during execution. In particular, it reveals how the issue logic works including the policy of the issue scheduler, the structure of the register file and its associated cache, and multiple features of the memory pipeline. Moreover, it analyses how a simple instruction prefetcher based on a stream buffer fits well with modern NVIDIA GPUs and is likely to be used. Furthermore, we investigate the impact of the register file cache and the number of register file read ports on both simulation accuracy and performance.
By modeling all these new discovered microarchitectural details, we achieve 18.24% lower mean absolute percentage error (MAPE) in execution cycles than previous state-of-the-art simulators, resulting in an average of 13.98% MAPE with respect to real hardware (NVIDIA RTX A6000). Also, we demonstrate that this new model stands for other NVIDIA architectures, such as Turing. Finally, we show that the software-based dependence management mechanism included in modern NVIDIA GPUs outperforms a hardware mechanism based on scoreboards in terms of performance and area.
Exploring Modern GPU Memory System Design Challenges through Accurate Modeling
本文探讨了在通用图形处理器(GPGPU)空间的架构设计决策的模拟器精度的影响。我们对最流行的公开可用的GPU模拟器GPGPU-Sim进行了详细的定量分析,针对我们的增强版模拟器,更新以更详细地模拟现代GPU的内存系统。我们的增强型GPU模型能够充分详细地描述NVIDIA Volta架构,从而将内存系统中的错误甚至计数器减少多达66倍。存储器系统中减少的错误进一步将执行时间错误与实际硬件相比减少了2.5倍。为了证明我们的增强模型在真实机器上的准确性,我们对NVIDIA TITAN V Volta GPU进行了逐计数器验证,展示了新模拟器与公开模型的相对准确性。我们继续证明,更简单的模型折扣先进的内存系统设计的重要性,如无序内存访问调度,而夸大了更深入的研究领域,如L1缓存绕过的影响。我们的研究结果表明,这是很重要的学术界,以提高系统复杂性的不断增长,在体系结构模拟器的细节水平。作为这种详细的关联和建模工作的一部分,我们开发了一个新的相关器工具集,其中包括来自各种流行的GPGPU基准套件的应用程序的整合,旨在在合理的模拟时间内运行。Correlator还包括一个数据库,其中包含从Fermi到Volta的NVIDIA卡上所有这些应用程序的硬件分析结果,以及一个工具链,使用户能够收集相关统计数据,并以最小的努力创建详细的逐计数器硬件相关图。
How Much Progress Has There Been in NVIDIA Datacenter GPUs?
MIT FutureTech, Computer Science and Artificial Intelligence Laboratory (CSAIL), Massachusetts Institute of Technology Cambridge MA USA(麻省理工学院未来科技、计算机科学与人工智能实验室(CSAIL)、麻省理工学院剑桥MA美国)