All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/1] i915_pm_rpm: gem-execbuf-stress-extra-wait faster
@ 2019-03-06  0:06 Caz Yokoyama
  2019-03-05 17:22 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Caz Yokoyama @ 2019-03-06  0:06 UTC (permalink / raw)
  To: igt-dev

Less iterate because WAIT_EXTRA adds extra 5 sec delay for each iteration.
This test is similar to gem-execbuf-stress except for WAIT_EXTRA.
It runs 86 sec. while gem-execbuf-stress runs 38 sec.
i.e. 38s + iteration(rounds,10) * 5s = 88s

In case of modeset-stress-extra-wait, iteration is reduced to half.
Do same for gem-execbuf-stress-extra-wait.

Execution time becomes 44 sec.

Signed-off-by: Caz Yokoyama <caz.yokoyama@intel.com>
---
 tests/i915/i915_pm_rpm.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index be296f52..a52ecbb0 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -2083,8 +2083,10 @@ int main(int argc, char *argv[])
 		gem_execbuf_stress_subtest(rounds, WAIT_STATUS);
 	igt_subtest("gem-execbuf-stress-pc8")
 		gem_execbuf_stress_subtest(rounds, WAIT_PC8_RES);
+	/* less iteration because of WAIT_EXTRA, i.e. 5 sec delay */
 	igt_subtest("gem-execbuf-stress-extra-wait")
-		gem_execbuf_stress_subtest(rounds, WAIT_STATUS | WAIT_EXTRA);
+		gem_execbuf_stress_subtest(rounds / 2,
+					   WAIT_STATUS | WAIT_EXTRA);
 
 	/* power-wake reference tests */
 	igt_subtest("pm-tiling")
-- 
2.17.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-03-07 20:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-06  0:06 [igt-dev] [PATCH i-g-t 1/1] i915_pm_rpm: gem-execbuf-stress-extra-wait faster Caz Yokoyama
2019-03-05 17:22 ` Chris Wilson
2019-03-05 23:22   ` Caz Yokoyama
2019-03-05 23:29     ` Chris Wilson
2019-03-07 18:21       ` Caz Yokoyama
2019-03-07 20:57         ` Chris Wilson
2019-03-05 19:07 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
2019-03-05 22:59 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.