All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>,
	Tvrtko Ursulin <tursulin@ursulin.net>,
	Intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 2/2] tests/perf_pmu: Add tests for engine queued stat
Date: Wed, 22 Nov 2017 14:16:43 +0000	[thread overview]
Message-ID: <151136020348.9619.4464066235602917792@mail.alporthouse.com> (raw)
In-Reply-To: <151135871931.9619.7783014951265932928@mail.alporthouse.com>

Quoting Chris Wilson (2017-11-22 13:51:59)
> Throwing contexts into the picture was to be sure that it was counting
> across contexts. (I was thinking about the complexity with the timelines
> and the counter being on the engine, which I started worrying about.)
> Next up would be adding waiting requests and demonstrating that they
> aren't counted as queued.

Now thinking about something else...

If waiting is separate from queued, how do I keep track of my own queue
depth? i.e. how many requests have I submitted that are waiting before
being queued?

I think we need WAITING as well (a new metric). :|

engine->waiting++ in execbuf
engine->waiting-- in submit_notify() ?

The problem with WAITING for userspace load-balancing is that you do not
how many of those you can overtake (the only ones you are sure that you
have a dependency upon are those to your own timeline).

Hmm, I wonder if we are not just missing a trick in counting the dead
space for RT (i.e. learning from __intel_engine_get_busy_time()).
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-11-22 14:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22 12:47 [PATCH i-g-t 1/2] intel-gpu-overlay: Add queued stat Tvrtko Ursulin
2017-11-22 12:47 ` [PATCH i-g-t 2/2] tests/perf_pmu: Add tests for engine " Tvrtko Ursulin
2017-11-22 12:56   ` Chris Wilson
2017-11-22 13:42     ` Tvrtko Ursulin
2017-11-22 13:51       ` Chris Wilson
2017-11-22 14:16         ` Chris Wilson [this message]
2017-11-23 15:17 ` ✓ Fi.CI.BAT: success for series starting with [1/2] intel-gpu-overlay: Add " Patchwork
2017-11-23 16:44 ` ✗ Fi.CI.IGT: warning " 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=151136020348.9619.4464066235602917792@mail.alporthouse.com \
    --to=chris@chris-wilson.co.uk \
    --cc=Intel-gfx@lists.freedesktop.org \
    --cc=tursulin@ursulin.net \
    --cc=tvrtko.ursulin@linux.intel.com \
    /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 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.