User Tools

Site Tools


ubuntu:gpu:amd_gpu:performance_tuning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ubuntu:gpu:amd_gpu:performance_tuning [2023/06/04 11:16] peterubuntu:gpu:amd_gpu:performance_tuning [2023/06/05 15:42] (current) peter
Line 51: Line 51:
 echo "auto" > /sys/class/drm/card0/device/power_dpm_force_performance_level echo "auto" > /sys/class/drm/card0/device/power_dpm_force_performance_level
 </code> </code>
 +
 +----
 +
 +===== Set Manual Performance =====
 +
 +To set manual performance:
 +
 +<code bash>
 +echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  When **manual** is selected, the user can manually adjust which power states are enabled for each clock domain via the sysfs pp_dpm_mclk, pp_dpm_sclk, and pp_dpm_pcie files and adjust the power state transition heuristics via the pp_power_profile_mode sysfs file.
 +
 +</WRAP>
 +
 +----
 +
 +===== Profiling Mode Performance Settings =====
 +
 +<code bash>
 +echo "profile_standard" > /sys/class/drm/card0/device/power_dpm_force_performance_level
 +echo "profile_min_sclk" > /sys/class/drm/card0/device/power_dpm_force_performance_level
 +echo "profile_min_mclk" > /sys/class/drm/card0/device/power_dpm_force_performance_level
 +echo "profile_peak" > /sys/class/drm/card0/device/power_dpm_force_performance_level
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  When the profiling modes are selected, clock and power gating are disabled and the clocks are set for different profiling cases.
 +
 +This mode is recommended for profiling specific work loads where you do not want clock or power gating for clock fluctuation to interfere with your results.
 +
 +  * **profile_standard** sets the clocks to a fixed clock level which varies from asic to asic.
 +  * **profile_min_sclk** forces the sclk to the lowest level.
 +  * **profile_min_mclk** forces the mclk to the lowest level.
 +  * **profile_peak** sets all clocks (mclk, sclk, pcie) to the highest levels.
 +
 +</WRAP>
  
 ---- ----
Line 80: Line 118:
  
  
 +===== References =====
  
 +https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#power-dpm-state
ubuntu/gpu/amd_gpu/performance_tuning.1685877417.txt.gz · Last modified: 2023/06/04 11:16 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki