[Intel-gfx] [PATCH igt] igt/gem_ctx_switch: Measure qlen for timing loops
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Fri Mar 23 10:27:11 UTC 2018
Quoting Chris Wilson (2018-03-16 18:03:25)
> Some platforms may execute the heavy workload very slowly, such that
> using a batch of 1024 takes tens of seconds and immediately overrunning
> the 5s timeout on a pass. Added up over a few dozen passes, this turns a
> 120 second test into 10 minutes. Counter this by doing a warmup loop to
> estimate the appropriate queue len for timing.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
#define MAGNIFICENT_FACTOR_8 (3 + 5) or maybe a comment.
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Regards, Joonas
More information about the Intel-gfx
mailing list