mesa/.gitlab-ci/common
Cristian Ciocaltea 0e14b674f1 ci: Lock Intel GPU frequency for performance tests
In order to ensure consistent results when running performance tests,
lock the frequency for Intel GPUs to ~70% of the maximum allowed by
hardware.

This seems to offer a good balance between execution speed and results
consistency.

An increase of the frequency will also increase the rate of throttling
events, with a negative impact on consistency. Such events are logged,
as in the following example:

  GPU throttling detected: act=200 min=850 cur=850 RPn=100

This shows the actual GPU frequency (200 MHz) dropped below the minimum
requested (850 MHz).

For more details about the various frequency information sources, please
see the script header comments in ".gitlab-ci/common/intel-gpu-freq.sh".

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Acked-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15662>
2022-04-06 13:11:05 +00:00
..
capture-devcoredump.sh ci/bare-metal: Move devcoredump capture to CI common 2021-06-15 14:02:44 +02:00
generate-env.sh ci/lava: Simplify passthrough of the request to upload results/ to minio. 2022-04-05 21:37:46 +00:00
init-stage1.sh ci/turnip: Increase the hangcheck timer to 2 seconds. 2022-03-18 19:07:24 +00:00
init-stage2.sh ci: Lock Intel GPU frequency for performance tests 2022-04-06 13:11:05 +00:00
intel-gpu-freq.sh ci: Add Intel GPU frequency utility 2022-04-06 13:11:05 +00:00
start-x.sh ci: Disable Xorg's screensaver entirely. 2021-06-14 17:49:38 +00:00