Module: Mesa Branch: main Commit: d89b95b247cf173ef72fd8488d5578566603437d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d89b95b247cf173ef72fd8488d5578566603437d
Author: Cristian Ciocaltea <[email protected]> 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 <[email protected]> Reviewed-by: Guilherme Gallo <[email protected]> Acked-by: Tomeu Vizoso <[email protected]> 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
