mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 16:50:10 +01:00
ci/lava: Disable CPU frequency scaling
Lock CPU frequency scaling to max to speed up test execution and lower the variation of frame times from performance replay jobs. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11101>
This commit is contained in:
parent
bc50a16103
commit
69bc8105f1
1 changed files with 5 additions and 0 deletions
|
|
@ -82,9 +82,14 @@ actions:
|
|||
|
||||
- modprobe amdgpu || true
|
||||
|
||||
# Disable GPU frequency scaling
|
||||
- DEVFREQ_GOVERNOR=`find /sys/devices -name governor | grep gpu || true`
|
||||
- echo performance > $DEVFREQ_GOVERNOR || true
|
||||
|
||||
# Disable CPU frequency scaling
|
||||
- echo performance | tee -a /sys/devices/system/cpu/cpufreq/policy*/scaling_governor || true
|
||||
|
||||
# Disable GPU runtime PM
|
||||
- GPU_AUTOSUSPEND=`find /sys/devices -name autosuspend_delay_ms | grep gpu | head -1`
|
||||
- echo -1 > $GPU_AUTOSUSPEND || true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue