Mesa (main): ci: Limit Intel CPU scaling frequency for performance tests

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 27 16:50:44 UTC 2022


Module: Mesa
Branch: main
Commit: d89b95b247cf173ef72fd8488d5578566603437d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d89b95b247cf173ef72fd8488d5578566603437d

Author: Cristian Ciocaltea <cristian.ciocaltea at collabora.com>
Date:   Mon Apr 25 14:02:38 2022 +0300

ci: Limit Intel CPU scaling frequency for performance tests

As an additional measure to mitigate thermal throttling, set the upper
limit for the CPU scaling frequency to 65% of maximum allowed by the
hardware.

The impact on the overall tests duration should be minimal since the
performance tests do not really put high load on the CPU.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at collabora.com>
Reviewed-by: Guilherme Gallo <guilherme.gallo at collabora.com>
Acked-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16164>

---

 .gitlab-ci/common/init-stage2.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci/common/init-stage2.sh b/.gitlab-ci/common/init-stage2.sh
index 6aebc2231ec..39fa2c810b8 100755
--- a/.gitlab-ci/common/init-stage2.sh
+++ b/.gitlab-ci/common/init-stage2.sh
@@ -63,7 +63,9 @@ if [ "$HWCI_FREQ_MAX" = "true" ]; then
 
   # Lock Intel GPU frequency to 70% of the maximum allowed by hardware
   # and enable throttling detection & reporting.
-  ./intel-gpu-freq.sh -s 70% -g all -d
+  # Additionally, set the upper limit for CPU scaling frequency to 65% of the
+  # maximum permitted, as an additional measure to mitigate thermal throttling.
+  ./intel-gpu-freq.sh -s 70% --cpu-set-max 65% -g all -d
 fi
 
 # Increase freedreno hangcheck timer because it's right at the edge of the



More information about the mesa-commit mailing list