[PATCH i-g-t] tests/intel/gem_exec_balancer: Decrease expected load value

Krzysztof Karas krzysztof.karas at intel.com
Tue Dec 17 13:18:20 UTC 2024


Hi Sebastian,

> Expected value of 0.90 may occasionally not be achieved, either be
> latency in the scheduler, or perf reporting. I'm lowering it to 0.85
> to match actual values ​​(87.5% in last fail).
> 
> Resolves: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12943

Reviewed-by: Krzysztof Karas <krzysztof.karas at intel.com>

Krzysztof
> 
> Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka at intel.com>
> ---
>  tests/intel/gem_exec_balancer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/intel/gem_exec_balancer.c b/tests/intel/gem_exec_balancer.c
> index e7c43f1b4..c3f0c938b 100644
> --- a/tests/intel/gem_exec_balancer.c
> +++ b/tests/intel/gem_exec_balancer.c
> @@ -614,7 +614,7 @@ static void check_individual_engine(int i915,
>  
>  	close(pmu);
>  
> -	igt_assert_f(load > 0.90,
> +	igt_assert_f(load > 0.85,
>  		     "engine %d (class:instance %d:%d) was found to be only %.1f%% busy\n",
>  		     idx, ci[idx].engine_class, ci[idx].engine_instance, load*100);
>  }
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list