Skip to main content
QUICK REVIEW

[Paper Review] Exploring Modern GPU Memory System Design Challenges through Accurate Modeling

Mahmoud Khairy, Akshay Jain|arXiv (Cornell University)|Oct 16, 2018
Parallel Computing and Optimization TechniquesComputer Science29 references25 citations
TL;DR

This paper proposes a significantly enhanced version of the GPGPU-Sim GPU simulator with a highly detailed memory system model for NVIDIA Volta GPUs, achieving up to 66× lower error in memory counters and 2.5× reduced execution cycle error versus real hardware. The improved model captures advanced features like out-of-order memory scheduling, adaptive L1 caching, and sector-based cache organization, revealing that prior simulators overestimate L1 cache contention and underestimate the benefits of sophisticated memory scheduling.

ABSTRACT

This paper explores the impact of simulator accuracy on architecture design decisions in the general-purpose graphics processing unit (GPGPU) space. We perform a detailed, quantitative analysis of the most popular publicly available GPU simulator, GPGPU-Sim, against our enhanced version of the simulator, updated to model the memory system of modern GPUs in more detail. Our enhanced GPU model is able to describe the NVIDIA Volta architecture in sufficient detail to reduce error in memory system even counters by as much as 66X. The reduced error in the memory system further reduces execution time error versus real hardware by 2.5X. To demonstrate the accuracy of our enhanced model against a real machine, we perform a counter-by-counter validation against an NVIDIA TITAN V Volta GPU, demonstrating the relative accuracy of the new simulator versus the publicly available model. We go on to demonstrate that the simpler model discounts the importance of advanced memory system designs such as out-of-order memory access scheduling, while overstating the impact of more heavily researched areas like L1 cache bypassing. Our results demonstrate that it is important for the academic community to enhance the level of detail in architecture simulators as system complexity continues to grow. As part of this detailed correlation and modeling effort, we developed a new Correlator toolset that includes a consolidation of applications from a variety of popular GPGPU benchmark suites, designed to run in reasonable simulation times. The Correlator also includes a database of hardware profiling results for all these applications on NVIDIA cards ranging from Fermi to Volta and a toolchain that enables users to gather correlation statistics and create detailed counter-by-counter hardware correlation plots with minimal effort.

Motivation & Objective

  • To address the growing gap between simulation accuracy and real hardware behavior in GPU architecture research.
  • To identify and correct major inaccuracies in the widely used GPGPU-Sim simulator, particularly in memory system modeling.
  • To demonstrate how simulation inaccuracies distort architectural design decisions, such as overestimating L1 cache impact and underestimating out-of-order memory scheduling benefits.
  • To develop an open-source, reproducible validation framework for future GPU simulator development.
  • To provide a high-fidelity, open-source model of the NVIDIA Volta GPU memory system for academic research.

Proposed method

  • Redesigned the GPGPU-Sim memory system module-by-module to reflect detailed Volta GPU behavior, based on reverse-engineering and hardware micro-benchmarks.
  • Integrated findings from public documentation, prior micro-benchmark studies, and new reverse-engineered insights into cache sectoring, coalescing, and write policies.
  • Implemented an adaptive L1 cache configuration policy and accurate L2 cache replacement logic to reflect real hardware behavior.
  • Validated the new model counter-by-counter against an actual NVIDIA TITAN V GPU using a diverse suite of GPGPU workloads.
  • Developed the Correlator toolset to automate correlation statistics, plotting, and benchmark consolidation across multiple GPU generations (Fermi to Volta).
  • Used the enhanced simulator to perform case studies on architectural design trade-offs, comparing simulation results with real hardware under varying configurations.

Experimental results

Research questions

  • RQ1How does the accuracy of GPGPU-Sim's memory system model compare to real Volta GPU hardware across key performance counters?
  • RQ2What specific architectural features of the Volta GPU memory system are misrepresented or oversimplified in existing open-source simulators?
  • RQ3How do simulation inaccuracies in the memory system affect the evaluation of architectural design proposals, such as L1 cache bypassing or out-of-order memory scheduling?
  • RQ4To what extent does improved simulation accuracy reduce execution cycle error compared to real hardware?
  • RQ5What new, undocumented memory system behaviors can be discovered through detailed micro-benchmarking and reverse engineering?

Key findings

  • The enhanced GPGPU-Sim model reduces average absolute error in memory system counters by up to 66× compared to the original GPGPU-Sim 3.x model when simulating the NVIDIA TITAN V.
  • Execution cycle error is reduced by 2.5× when using the new model versus the old one, significantly improving simulation fidelity.
  • The new model achieves 96% correlation with real hardware for execution cycles, compared to only 71% with the original model.
  • The original GPGPU-Sim model incorrectly identifies L1 cache as a bottleneck, overstating its impact on performance and underestimating the benefits of out-of-order memory scheduling.
  • The study uncovered previously undocumented features, including Volta’s sector-based L1 and L2 caches, adaptive L1 configuration, and a bandwidth-conserving L2 write policy.
  • The Correlator toolset enables rapid, automated counter-by-counter correlation between simulation and real hardware, facilitating future model validation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.