Authored-by: Koushik Billakanti <kbillaka@amd.com>
2.2 KiB
myst
| myst | ||||||
|---|---|---|---|---|---|---|
|
Performance determinism
Performance determinism mode enables consistent GPU performance by enforcing a fixed maximum GFXCLK (graphics clock) frequency. This prevents clock frequency variations when running the same workload across different GPUs, making it useful for benchmarking and performance analysis.
How it works
When enabled, performance determinism sets a user-defined SoftMax limit for the GFXCLK frequency.
This prevents the GFXCLK PLL from stretching during workload execution, minimizing performance
variation. The GPU performance level changes to DETERMINISM when this mode is active.
Supported hardware
Performance determinism is supported on AMD Instinct MI200 series and AMD Radeon RX 7000 series (RDNA 3) GPUs. Support may vary by ASIC -- MI300 series GPUs may not support this feature.
From concept to action
AMD SMI provides tools to enable and manage performance determinism mode.
:::::{tab-set} ::::{tab-item} C/C++ The AMD SMI library provides APIs to enable performance determinism and query the current performance level.
See Clock, Power, and Performance Control for available APIs. ::::
::::{tab-item} Python See related APIs:
::::{tab-item} amd-smi CLI
See amd-smi set --help and
amd-smi reset --help for details and available options.
# Enable performance determinism with GFXCLK set to 1900 MHz
amd-smi set --perf-determinism 1900
# Disable performance determinism
amd-smi reset --perf-determinism
# Query current performance level
amd-smi metric --perf-level
:::: :::::