User Tools

Site Tools


ubuntu:gpu:amd_gpu:performance_tuning

This is an old revision of the document!


Ubuntu - GPU - AMD GPU - Performance Tuning

The dpm performance level can be changed to push the memory and GPU frequency to the highest levels (maximum performance).

NOTE: The default is auto, but this may result in some lag at some points while the GPU ramps up performance.


Check the Existing Performance Level

cat /sys/class/drm/card0/device/power_dpm_force_performance_level

returns:

auto

Set High Performance

To set max performance:

echo "high" > /sys/class/drm/card0/device/power_dpm_force_performance_level

Set Low Performance

To set low performance:

echo "low" > /sys/class/drm/card0/device/power_dpm_force_performance_level

Set Auto Performance

To set Auto performance:

echo "auto" > /sys/class/drm/card0/device/power_dpm_force_performance_level

Set the DPM Performance Level Permanently

Created a /etc/rc.local file and populate with:

#!/bin/bash 
echo low > /sys/class/drm/card0/device/power_dpm_force_performance_level

Make it executable

chmod a+x /etc/rc.local

Enable systemd service to run this script

See How to enable rc.local with systemd.


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