* [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 ` [Intel-gfx] [PATCH i-g-t 2/4] i915/gem_exec_nop: " Chris Wilson
` (3 more replies)
0 siblings, 4 replies; 5+ 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] 5+ messages in thread
* [Intel-gfx] [PATCH i-g-t 2/4] i915/gem_exec_nop: Reduce runtime
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 ` Chris Wilson
2020-01-27 9:07 ` [Intel-gfx] [PATCH i-g-t 3/4] i915/gem_ctx_create: " Chris Wilson
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ 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_exec_nop.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/tests/i915/gem_exec_nop.c b/tests/i915/gem_exec_nop.c
index dbedb3561..9a2efd32c 100644
--- a/tests/i915/gem_exec_nop.c
+++ b/tests/i915/gem_exec_nop.c
@@ -865,41 +865,41 @@ igt_main
}
igt_subtest("basic-series")
- series(device, handle, 5);
+ series(device, handle, 2);
igt_subtest("basic-parallel")
- parallel(device, handle, 5);
+ parallel(device, handle, 2);
igt_subtest("basic-sequential")
- sequential(device, handle, 0, 5);
+ sequential(device, handle, 0, 2);
for (e = intel_execution_engines; e->name; e++) {
igt_subtest_f("%s", e->name)
single(device, handle, eb_ring(e), e->name);
igt_subtest_f("signal-%s", e->name)
- fence_signal(device, handle, eb_ring(e), e->name, 5);
+ fence_signal(device, handle, eb_ring(e), e->name, 2);
}
igt_subtest("signal-all")
- fence_signal(device, handle, ALL_ENGINES, "all", 150);
+ fence_signal(device, handle, ALL_ENGINES, "all", 20);
igt_subtest("series")
- series(device, handle, 150);
+ series(device, handle, 20);
igt_subtest("parallel")
- parallel(device, handle, 150);
+ parallel(device, handle, 20);
igt_subtest("sequential")
- sequential(device, handle, 0, 150);
+ sequential(device, handle, 0, 20);
igt_subtest("forked-sequential")
- sequential(device, handle, FORKED, 150);
+ sequential(device, handle, FORKED, 20);
igt_subtest("chained-sequential")
- sequential(device, handle, FORKED | CHAINED, 150);
+ sequential(device, handle, FORKED | CHAINED, 20);
igt_subtest("context-sequential")
- sequential(device, handle, FORKED | CONTEXT, 150);
+ sequential(device, handle, FORKED | CONTEXT, 20);
igt_subtest_group {
igt_fixture {
--
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] 5+ messages in thread
* [Intel-gfx] [PATCH i-g-t 3/4] i915/gem_ctx_create: Reduce runtime
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 ` [Intel-gfx] [PATCH i-g-t 2/4] i915/gem_exec_nop: " Chris Wilson
@ 2020-01-27 9:07 ` Chris Wilson
2020-01-27 9:07 ` [Intel-gfx] [PATCH i-g-t 4/4] i915/gem_ctx_switch: " Chris Wilson
2020-01-27 10:01 ` [Intel-gfx] [igt-dev] [PATCH i-g-t 1/4] i915/gem_sync: " Mika Kuoppala
3 siblings, 0 replies; 5+ 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_ctx_create.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/i915/gem_ctx_create.c b/tests/i915/gem_ctx_create.c
index 83da05690..d9a820e21 100644
--- a/tests/i915/gem_ctx_create.c
+++ b/tests/i915/gem_ctx_create.c
@@ -566,16 +566,16 @@ igt_main
maximum(fd, ncpus, CHECK_RAM | CHECK_SWAP);
igt_subtest("basic-files")
- files(fd, 5, 1);
+ files(fd, 2, 1);
igt_subtest("files")
- files(fd, 150, 1);
+ files(fd, 20, 1);
igt_subtest("forked-files")
- files(fd, 150, ncpus);
+ files(fd, 20, ncpus);
igt_subtest("active-all")
- active(fd, ALL_ENGINES, 120, 1);
+ active(fd, ALL_ENGINES, 20, 1);
igt_subtest("forked-active-all")
- active(fd, ALL_ENGINES, 120, ncpus);
+ active(fd, ALL_ENGINES, 20, ncpus);
for (const struct intel_execution_engine *e = intel_execution_engines;
e->name; e++) {
--
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] 5+ messages in thread
* [Intel-gfx] [PATCH i-g-t 4/4] i915/gem_ctx_switch: Reduce runtime
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 ` [Intel-gfx] [PATCH i-g-t 2/4] i915/gem_exec_nop: " Chris Wilson
2020-01-27 9:07 ` [Intel-gfx] [PATCH i-g-t 3/4] i915/gem_ctx_create: " Chris Wilson
@ 2020-01-27 9:07 ` Chris Wilson
2020-01-27 10:01 ` [Intel-gfx] [igt-dev] [PATCH i-g-t 1/4] i915/gem_sync: " Mika Kuoppala
3 siblings, 0 replies; 5+ 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_ctx_switch.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/tests/i915/gem_ctx_switch.c b/tests/i915/gem_ctx_switch.c
index 6bbd24972..2f94e326f 100644
--- a/tests/i915/gem_ctx_switch.c
+++ b/tests/i915/gem_ctx_switch.c
@@ -364,18 +364,18 @@ igt_main
}
igt_subtest_f("legacy-%s%s", e->name, p->name)
- single(fd, light, e2, p->flags, 1, 5);
+ single(fd, light, e2, p->flags, 1, 2);
igt_subtest_f("legacy-%s-heavy%s",
e->name, p->name)
- single(fd, heavy, e2, p->flags, 1, 5);
+ single(fd, heavy, e2, p->flags, 1, 2);
igt_subtest_f("legacy-%s-forked%s",
e->name, p->name)
single(fd, light, e2, p->flags, ncpus,
- 150);
+ 20);
igt_subtest_f("legacy-%s-forked-heavy%s",
e->name, p->name)
single(fd, heavy, e2, p->flags, ncpus,
- 150);
+ 20);
}
}
}
@@ -390,33 +390,33 @@ igt_main
}
igt_subtest_f("%s%s", e2->name, p->name)
- single(fd, light, e2, p->flags, 1, 5);
+ single(fd, light, e2, p->flags, 1, 2);
igt_subtest_f("%s-heavy%s", e2->name, p->name)
- single(fd, heavy, e2, p->flags, 1, 5);
+ single(fd, heavy, e2, p->flags, 1, 2);
igt_subtest_f("%s-forked%s", e2->name, p->name)
single(fd, light, e2, p->flags, ncpus,
- 150);
+ 20);
igt_subtest_f("%s-forked-heavy%s",
e2->name, p->name)
single(fd, heavy, e2, p->flags, ncpus,
- 150);
+ 20);
}
}
}
igt_subtest("all-light")
- all(fd, light, 0, 5);
+ all(fd, light, 0, 2);
igt_subtest("all-heavy")
- all(fd, heavy, 0, 5);
+ all(fd, heavy, 0, 2);
igt_subtest_group {
igt_fixture {
igt_require(gem_has_queues(fd));
}
igt_subtest("queue-light")
- all(fd, light, QUEUE, 5);
+ all(fd, light, QUEUE, 2);
igt_subtest("queue-heavy")
- all(fd, heavy, QUEUE, 5);
+ all(fd, heavy, QUEUE, 2);
}
igt_fixture {
--
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] 5+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 1/4] i915/gem_sync: Reduce runtime
2020-01-27 9:07 [Intel-gfx] [PATCH i-g-t 1/4] i915/gem_sync: Reduce runtime Chris Wilson
` (2 preceding siblings ...)
2020-01-27 9:07 ` [Intel-gfx] [PATCH i-g-t 4/4] i915/gem_ctx_switch: " Chris Wilson
@ 2020-01-27 10:01 ` Mika Kuoppala
3 siblings, 0 replies; 5+ messages in thread
From: Mika Kuoppala @ 2020-01-27 10:01 UTC (permalink / raw)
To: Chris Wilson, intel-gfx; +Cc: igt-dev
Chris Wilson <chris@chris-wilson.co.uk> writes:
> 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>
This and the rest of the series,
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
> ---
> 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
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-01-27 10:02 UTC | newest]
Thread overview: 5+ 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 ` [Intel-gfx] [PATCH i-g-t 2/4] i915/gem_exec_nop: " Chris Wilson
2020-01-27 9:07 ` [Intel-gfx] [PATCH i-g-t 3/4] i915/gem_ctx_create: " Chris Wilson
2020-01-27 9:07 ` [Intel-gfx] [PATCH i-g-t 4/4] i915/gem_ctx_switch: " Chris Wilson
2020-01-27 10:01 ` [Intel-gfx] [igt-dev] [PATCH i-g-t 1/4] i915/gem_sync: " Mika Kuoppala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).