ubuntu:gpu:amd_gpu:performance_tuning
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:gpu:amd_gpu:performance_tuning [2023/06/03 08:17] – created peter | ubuntu:gpu:amd_gpu:performance_tuning [2023/06/05 15:42] (current) – peter | ||
---|---|---|---|
Line 8: | Line 8: | ||
---- | ---- | ||
+ | |||
+ | ===== Check the Existing Performance Level ===== | ||
+ | |||
+ | <code bash> | ||
+ | cat / | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | auto | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
===== Set High Performance ===== | ===== Set High Performance ===== | ||
Line 39: | Line 54: | ||
---- | ---- | ||
- | ===== Check the Existing | + | ===== Set Manual |
+ | |||
+ | To set manual performance: | ||
<code bash> | <code bash> | ||
- | cat / | + | echo " |
</ | </ | ||
- | returns: | + | <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, | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Profiling Mode Performance Settings ===== | ||
<code bash> | <code bash> | ||
- | auto | + | echo " |
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | 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. | ||
+ | |||
+ | </ | ||
---- | ---- | ||
+ | ===== Set the DPM Performance Level Permanently ===== | ||
+ | |||
+ | Created a **/ | ||
+ | |||
+ | <file bash> | ||
+ | # | ||
+ | echo low > / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Make it executable ==== | ||
+ | |||
+ | <code bash> | ||
+ | chmod a+x / | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Enable systemd service to run this script ==== | ||
+ | |||
+ | See How to enable rc.local with systemd. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ===== References ===== | ||
+ | https:// |
ubuntu/gpu/amd_gpu/performance_tuning.1685780222.txt.gz · Last modified: 2023/06/03 08:17 by peter