public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH i-g-t 1/4] i915/gem_sync: Reduce runtime
@ 2020-01-27  9:07 Chris Wilson
  2020-01-27  9:07 ` [igt-dev] [PATCH i-g-t 2/4] i915/gem_exec_nop: " Chris Wilson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Chris Wilson @ 2020-01-27  9:07 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

Reduce the upper timeout for stress tests from 150s to a mere 20s, and
quick tests to 2s.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/i915/gem_sync.c | 60 +++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/tests/i915/gem_sync.c b/tests/i915/gem_sync.c
index 0010ac103..2ef55ecc0 100644
--- a/tests/i915/gem_sync.c
+++ b/tests/i915/gem_sync.c
@@ -1224,67 +1224,67 @@ igt_main
 
 	for (e = intel_execution_engines; e->name; e++) {
 		igt_subtest_f("%s", e->name)
-			sync_ring(fd, eb_ring(e), 1, 150);
+			sync_ring(fd, eb_ring(e), 1, 20);
 		igt_subtest_f("idle-%s", e->name)
-			idle_ring(fd, eb_ring(e), 150);
+			idle_ring(fd, eb_ring(e), 20);
 		igt_subtest_f("active-%s", e->name)
-			active_ring(fd, eb_ring(e), 150);
+			active_ring(fd, eb_ring(e), 20);
 		igt_subtest_f("wakeup-%s", e->name)
-			wakeup_ring(fd, eb_ring(e), 150, 1);
+			wakeup_ring(fd, eb_ring(e), 20, 1);
 		igt_subtest_f("active-wakeup-%s", e->name)
-			active_wakeup_ring(fd, eb_ring(e), 150, 1);
+			active_wakeup_ring(fd, eb_ring(e), 20, 1);
 		igt_subtest_f("double-wakeup-%s", e->name)
-			wakeup_ring(fd, eb_ring(e), 150, 2);
+			wakeup_ring(fd, eb_ring(e), 20, 2);
 		igt_subtest_f("store-%s", e->name)
-			store_ring(fd, eb_ring(e), 1, 150);
+			store_ring(fd, eb_ring(e), 1, 20);
 		igt_subtest_f("switch-%s", e->name)
-			switch_ring(fd, eb_ring(e), 1, 150);
+			switch_ring(fd, eb_ring(e), 1, 20);
 		igt_subtest_f("forked-switch-%s", e->name)
-			switch_ring(fd, eb_ring(e), ncpus, 150);
+			switch_ring(fd, eb_ring(e), ncpus, 20);
 		igt_subtest_f("many-%s", e->name)
-			store_many(fd, eb_ring(e), 150);
+			store_many(fd, eb_ring(e), 20);
 		igt_subtest_f("forked-%s", e->name)
-			sync_ring(fd, eb_ring(e), ncpus, 150);
+			sync_ring(fd, eb_ring(e), ncpus, 20);
 		igt_subtest_f("forked-store-%s", e->name)
-			store_ring(fd, eb_ring(e), ncpus, 150);
+			store_ring(fd, eb_ring(e), ncpus, 20);
 	}
 
 	igt_subtest("basic-each")
-		sync_ring(fd, ALL_ENGINES, 1, 5);
+		sync_ring(fd, ALL_ENGINES, 1, 2);
 	igt_subtest("basic-store-each")
-		store_ring(fd, ALL_ENGINES, 1, 5);
+		store_ring(fd, ALL_ENGINES, 1, 2);
 	igt_subtest("basic-many-each")
-		store_many(fd, ALL_ENGINES, 5);
+		store_many(fd, ALL_ENGINES, 2);
 	igt_subtest("switch-each")
-		switch_ring(fd, ALL_ENGINES, 1, 150);
+		switch_ring(fd, ALL_ENGINES, 1, 20);
 	igt_subtest("forked-switch-each")
-		switch_ring(fd, ALL_ENGINES, ncpus, 150);
+		switch_ring(fd, ALL_ENGINES, ncpus, 20);
 	igt_subtest("forked-each")
-		sync_ring(fd, ALL_ENGINES, ncpus, 150);
+		sync_ring(fd, ALL_ENGINES, ncpus, 20);
 	igt_subtest("forked-store-each")
-		store_ring(fd, ALL_ENGINES, ncpus, 150);
+		store_ring(fd, ALL_ENGINES, ncpus, 20);
 	igt_subtest("active-each")
-		active_ring(fd, ALL_ENGINES, 150);
+		active_ring(fd, ALL_ENGINES, 20);
 	igt_subtest("wakeup-each")
-		wakeup_ring(fd, ALL_ENGINES, 150, 1);
+		wakeup_ring(fd, ALL_ENGINES, 20, 1);
 	igt_subtest("active-wakeup-each")
-		active_wakeup_ring(fd, ALL_ENGINES, 150, 1);
+		active_wakeup_ring(fd, ALL_ENGINES, 20, 1);
 	igt_subtest("double-wakeup-each")
-		wakeup_ring(fd, ALL_ENGINES, 150, 2);
+		wakeup_ring(fd, ALL_ENGINES, 20, 2);
 
 	igt_subtest("basic-all")
-		sync_all(fd, 1, 5);
+		sync_all(fd, 1, 2);
 	igt_subtest("basic-store-all")
-		store_all(fd, 1, 5);
+		store_all(fd, 1, 2);
 
 	igt_subtest("all")
-		sync_all(fd, 1, 150);
+		sync_all(fd, 1, 20);
 	igt_subtest("store-all")
-		store_all(fd, 1, 150);
+		store_all(fd, 1, 20);
 	igt_subtest("forked-all")
-		sync_all(fd, ncpus, 150);
+		sync_all(fd, ncpus, 20);
 	igt_subtest("forked-store-all")
-		store_all(fd, ncpus, 150);
+		store_all(fd, ncpus, 20);
 
 	igt_subtest_group {
 		igt_fixture {
@@ -1298,7 +1298,7 @@ igt_main
 
 		for (e = intel_execution_engines; e->name; e++) {
 			igt_subtest_f("preempt-%s", e->name)
-				preempt(fd, eb_ring(e), ncpus, 150);
+				preempt(fd, eb_ring(e), ncpus, 20);
 		}
 	}
 
-- 
2.25.0

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

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

end of thread, other threads:[~2020-01-27 11:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-27  9:07 [Intel-gfx] [PATCH i-g-t 1/4] i915/gem_sync: Reduce runtime Chris Wilson
2020-01-27  9:07 ` [igt-dev] [PATCH i-g-t 2/4] i915/gem_exec_nop: " Chris Wilson
2020-01-27  9:07 ` [igt-dev] [PATCH i-g-t 3/4] i915/gem_ctx_create: " Chris Wilson
2020-01-27  9:07 ` [igt-dev] [PATCH i-g-t 4/4] i915/gem_ctx_switch: " Chris Wilson
2020-01-27 10:01 ` [igt-dev] [PATCH i-g-t 1/4] i915/gem_sync: " Mika Kuoppala
2020-01-27 11:34 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/4] " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox