Skip to main content
QUICK REVIEW

[Paper Review] GPGPU Performance Estimation with Core and Memory Frequency Scaling

Qiang Wang, Xiaowen Chu|arXiv (Cornell University)|Jan 19, 2017
Parallel Computing and Optimization TechniquesComputer Science20 references6 citations
TL;DR

This paper proposes a fast and accurate analytical model to estimate GPU kernel execution time under dynamic core and memory frequency scaling, using a first-come-first-serve (FCFS) memory queue model and minimal micro-benchmarking. It achieves a mean absolute percentage error (MAPE) of 3.5% across 49 frequency settings on 12 real GPU kernels, demonstrating high accuracy and low variance for energy-aware DVFS optimization.

ABSTRACT

Graphics Processing Units (GPUs) support dynamic voltage and frequency scaling (DVFS) in order to balance computational performance and energy consumption. However, there still lacks simple and accurate performance estimation of a given GPU kernel under different frequency settings on real hardware, which is important to decide best frequency configuration for energy saving. This paper reveals a fine-grained model to estimate the execution time of GPU kernels with both core and memory frequency scaling. Over a 2.5x range of both core and memory frequencies among 12 GPU kernels, our model achieves accurate results (within 3.5\%) on real hardware. Compared with the cycle-level simulators, our model only needs some simple micro-benchmark to extract a set of hardware parameters and performance counters of the kernels to produce this high accuracy.

Motivation & Objective

  • Address the lack of accurate, real-time performance estimation for GPU kernels under dynamic voltage and frequency scaling (DVFS).
  • Overcome the limitations of cycle-level simulators, which are slow and outdated for modern GPU architectures.
  • Develop a lightweight model that uses only a single baseline micro-benchmark to predict execution time across a wide range of core and memory frequencies.
  • Enable real-time energy-performance optimization by accurately modeling the impact of both core and memory frequency scaling on GPU kernel execution.

Proposed method

  • Model the GPU memory system as a FCFS queue where service rate depends on memory frequency, capturing memory access latency and throughput.
  • Integrate core frequency scaling by modeling compute-bound execution time as inversely proportional to core frequency.
  • Use a single baseline micro-benchmark at 700 MHz (core and memory) to extract performance counters and hardware parameters.
  • Combine core and memory time estimates using a weighted sum based on instruction type distribution and memory access patterns.
  • Calibrate the model using kernel-specific profiling data to account for L2 cache effects and shared memory access patterns.
  • Validate the model across 49 frequency combinations (up to 2.5× scaling) on NVIDIA GTX980 using real hardware measurements.

Experimental results

Research questions

  • RQ1How accurately can a lightweight analytical model predict GPU kernel execution time across a wide range of core and memory frequency settings?
  • RQ2To what extent does the proposed model capture the performance impact of both core and memory frequency scaling on diverse GPU kernels?
  • RQ3Can the model achieve high accuracy without relying on cycle-level simulation or extensive training data?
  • RQ4How does the model perform across different kernel types, including memory-intensive, compute-intensive, and cache-intensive workloads?

Key findings

  • The proposed model achieves a mean absolute percentage error (MAPE) of 3.5% across all 49 frequency settings and 12 GPU kernels on real hardware.
  • For individual kernels, the MAPE ranges from 0.7% to 6.9%, indicating low variance and consistent accuracy across diverse workloads.
  • The model accurately captures performance scaling behavior for DRAM-intensive kernels, with prediction errors increasing slightly for those with high shared memory or L2 cache usage.
  • The model achieves below 16% error in all predictions, with 90% of predictions having less than 10% error, demonstrating robustness.
  • The model's accuracy is maintained even with up to 2.5× scaling in both core and memory frequencies, showing strong generalization.
  • Instruction distribution analysis reveals that under-estimation errors are most prominent in kernels with high shared memory access, suggesting room for refinement in modeling shared memory latency.

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.