public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Mika Kuoppala <mika.kuoppala@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 1/4] i915/gem_sync: Reduce runtime
Date: Mon, 27 Jan 2020 12:01:29 +0200	[thread overview]
Message-ID: <87r1zlmd52.fsf@gaia.fi.intel.com> (raw)
In-Reply-To: <20200127090712.2324227-1-chris@chris-wilson.co.uk>

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
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2020-01-27 10:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Mika Kuoppala [this message]
2020-01-27 11:34 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/4] i915/gem_sync: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1zlmd52.fsf@gaia.fi.intel.com \
    --to=mika.kuoppala@linux.intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox