Re: [PATCH igt] igt/gem_ctx_switch: Measure qlen for timing loops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>

#define MAGNIFICENT_FACTOR_8 (3 + 5) or maybe a comment.

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Regards, Joonas
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux