public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Ashutosh Dixit <ashutosh.dixit@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] lib/igt_dummyload: Helper to spin till a specified timeout
Date: Thu, 30 May 2019 19:54:05 -0700	[thread overview]
Message-ID: <87lfynfi5u.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <155919940306.2252.9871107624607497312@skylake-alporthouse-com>

On Wed, 29 May 2019 23:56:43 -0700, Chris Wilson wrote:
>
> Quoting Ashutosh Dixit (2019-05-30 06:26:41)
> > From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
> >
> > Even though similar functionality exists in other tests, perhaps there
> > is value in having a helper function which generates an artificial
> > load on an engine by spinning on it for a specified time.
>
> That seems very odd. As you aren't doing anything else during the spin,
> what is its purpose for general testing? i.e. where would one use it.
> With new interfaces, it is always useful to show how you plan to use it
> so that we can better understand the bigger picture.

This approach has proved useful to us on new hardware in validating simple
cases such as: (a) spin batch submission and completion timestamps reported
by the kernel are the same as the time specified in the test (b) spin
batches submitted on multiple engines are in fact executing in parallel
(easy to check due to the rather large timeout). Perhaps these are self
evident conditions which do not need to be checked at all.

The test is really a simpler version of the functionality already present
in gem_spin_batch.c (though the test itself doesn't "test" for any
condition). It is for these reasons that I posted the patch in case people
thought it was useful. If it's not we can drop it. Thanks!
--
Ashutosh
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2019-05-31  2:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-30  5:26 [igt-dev] [PATCH i-g-t] lib/igt_dummyload: Helper to spin till a specified timeout Ashutosh Dixit
2019-05-30  6:10 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-05-30  6:12 ` [igt-dev] [PATCH i-g-t] " Ashutosh Dixit
2019-05-30  6:56 ` Chris Wilson
2019-05-31  2:54   ` Ashutosh Dixit [this message]
2019-05-31  6:26     ` Chris Wilson
2019-05-30  7:10 ` [igt-dev] ✗ Fi.CI.BAT: failure for lib/igt_dummyload: Helper to spin till a specified timeout (rev2) Patchwork
2019-05-30 10:00 ` [igt-dev] ✓ Fi.CI.IGT: success for lib/igt_dummyload: Helper to spin till a specified timeout Patchwork
2019-05-31  7:22 ` [igt-dev] ✗ Fi.CI.BAT: failure for lib/igt_dummyload: Helper to spin till a specified timeout (rev2) Patchwork
2019-05-31  7:29 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/igt_dummyload: Helper to spin till a specified timeout Patchwork
2019-05-31 14:33 ` [igt-dev] ✓ Fi.CI.IGT: " 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=87lfynfi5u.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=igt-dev@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