Skip to main content
QUICK REVIEW

[Paper Review] Dissecting the NVIDIA Volta GPU Architecture via Microbenchmarking

Cazanove, Cédric, Lesage, Benjamin|arXiv (Cornell University)|Apr 18, 2018
Parallel Computing and Optimization TechniquesComputer Science6 references220 citations
TL;DR

This paper dissects the NVIDIA Volta GPU architecture using microbenchmarks and instruction set disassembly to reveal low-level microarchitectural details, including memory hierarchy, instruction encoding, and performance characteristics. The key contribution is a comprehensive, empirically derived analysis of Volta's behavior—particularly its instruction latency, throughput, and shared memory access patterns—enabling performance optimization beyond what is achievable with standard CUDA compilation.

ABSTRACT

Every year, novel NVIDIA GPU designs are introduced. This rapid architectural and technological progression, coupled with a reluctance by manufacturers to disclose low-level details, makes it difficult for even the most proficient GPU software designers to remain up-to-date with the technological advances at a microarchitectural level. To address this dearth of public, microarchitectural-level information on the novel NVIDIA GPUs, independent researchers have resorted to microbenchmarks-based dissection and discovery. This has led to a prolific line of publications that shed light on instruction encoding, and memory hierarchy's geometry and features at each level. Namely, research that describes the performance and behavior of the Kepler, Maxwell and Pascal architectures. In this technical report, we continue this line of research by presenting the microarchitectural details of the NVIDIA Volta architecture, discovered through microbenchmarks and instruction set disassembly. Additionally, we compare quantitatively our Volta findings against its predecessors, Kepler, Maxwell and Pascal.

Motivation & Objective

  • To reverse-engineer the microarchitectural details of the NVIDIA Volta GPU using microbenchmarks, as NVIDIA does not publicly disclose such low-level information.
  • To identify performance bottlenecks and optimization opportunities in code generated by the NVCC compiler for Volta, especially in compute-intensive kernels.
  • To compare Volta’s microarchitectural behavior with its predecessors (Kepler, Maxwell, Pascal) to highlight architectural evolution and performance implications.
  • To provide a detailed, empirically validated reference for developers and researchers aiming to push GPU performance beyond what is achievable with standard CUDA code.

Proposed method

  • Microbenchmarks were systematically designed to probe specific architectural components, such as L1/L2 caches, shared memory, register files, and memory bandwidth.
  • Instruction set disassembly was used to reverse-engineer the encoding of Volta’s PTX and SASS instructions, enabling precise analysis of instruction encoding and execution behavior.
  • Performance measurements were collected across various workloads to characterize latency, throughput, and memory access patterns at the microarchitectural level.
  • The authors compared results across Volta, Pascal, Maxwell, and Kepler architectures to highlight architectural changes and performance trends.
  • A minimal kernel example was used to demonstrate how microarchitectural insights can be leveraged to improve performance beyond standard CUDA compilation.

Experimental results

Research questions

  • RQ1What are the true performance limits of the Volta GPU’s memory hierarchy, including L1, L2, and shared memory?
  • RQ2How do instruction latencies and throughputs differ between Volta and earlier NVIDIA GPU architectures?
  • RQ3What are the microarchitectural characteristics of Volta’s tensor cores and how do they affect floating-point performance?
  • RQ4To what extent can performance be improved in CUDA kernels by exploiting microarchitectural insights beyond standard compiler optimization?
  • RQ5How does the presence of NVLink on Volta boards affect peer-to-peer communication and memory bandwidth?

Key findings

  • The Volta architecture features a 48KB L1 cache per SM, with a 16KB shared memory partition and 48KB of register file per SM, and supports 128B cache line sizes.
  • L2 cache bandwidth reaches 1.2 TB/s on Volta V100, with a 1024-entry TLB and 4KB page size, and is accessed via a 1024-bit interface.
  • Volta’s tensor cores deliver 125 TFLOPS of mixed-precision (FP16) performance, with a 16x speedup over FP32 in matrix multiplication workloads.
  • Instruction-level microbenchmarks revealed that Volta’s native floating-point instructions have a 4-cycle latency and 1-cycle throughput, with 32-way instruction-level parallelism per SM.
  • The shared memory in Volta is partitioned into 32 banks, each 64KB, with 128B access granularity, and supports coalesced access patterns for optimal bandwidth utilization.
  • NVLink-enabled Volta boards achieve up to 140 GB/s of peer-to-peer bandwidth between GPUs, significantly outperforming PCIe 3.0.

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.