From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
"Intel-gfx@lists.freedesktop.org"
<Intel-gfx@lists.freedesktop.org>,
"Kukanova, Svetlana" <svetlana.kukanova@intel.com>,
Chris Wilson <chris@chris-wilson.co.uk>,
Tvrtko Ursulin <tursulin@ursulin.net>
Subject: Re: [PATCH 2/2] drm/i915/tracepoints: Remove DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option
Date: Wed, 22 Aug 2018 14:02:55 +0100 [thread overview]
Message-ID: <69ea9087-9aa5-b9c1-3b0e-7bd07992536c@linux.intel.com> (raw)
In-Reply-To: <2cf8d672-fe89-1e2e-161f-1b7c66c9fcf9@linux.intel.com>
On 22/08/2018 13:49, Tvrtko Ursulin wrote:
>
> On 21/08/2018 13:06, Joonas Lahtinen wrote:
>> Quoting Kukanova, Svetlana (2018-08-13 16:44:49)
>>> Joonas, sorry for interfering; could you please explain more
>>> regarding the
>>> options for tracing scheduling events better than tracepoints?
>>> After scheduling moves to GuC tools will have to switch to something
>>> like
>>> GuC-logging; but while kmd does scheduling isn't kernel-tracing the
>>> best solution?
>>> I know gpuvis is not the only attempt to use tracepoints for the same
>>> purpose.
>>> (there're trace.pl and S.E.A. and of course VTune though it probably
>>> is not
>>> considered to be existing as it's not open source).
>>> And assuming this movement towards GuC is it not too late to invent a
>>> completely new way to provide tools with scheduling info from kmd?
>>> Could we just improve the existing way and let it live its last
>>> years\months?
>>
>> Hi,
>>
>> You actually mentioned the prime reason why we should not go and
>> hastily make tracepoints a stable uAPI with regards to scheduling
>> information.
>>
>> The scheduler's nature will be evolving when some of the scheduling
>> decisions are moved to GuC and the way how we get the information
>> will be changing at that point, so tracepoints will indeed be a
>> very bad mechanism for providing the information.
>>
>> The kernel scheduler is definitely not going anywhere with the
>> introduction of more hardware scheduling capabilities, so it is a
>> misconception to think that the interface would need to be completely
>> different for when GuC is enabled.
>
> On the last paragraph - even with the today's GuC i915 already loses
> visibility of CSB interrupts. So there is already a big difference in
> semantics of what request_in and request_out tracepoints mean. Put
> preemption into the picture and we just don't know any more when
> something started executing on the GPU, when it got preempted,
> re-submitted etc. So I think it is fair to say that moving more of
> scheduling into the GuC creates a problem for tools which want to
> represent request execution timelines.
P.S. To clarify - which is exactly why we marked those tracpoints as low
level and why it is problematic to rely on them.
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-08-22 13:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-25 17:25 [PATCH 1/2] drm/i915/tracepoints: Remove i915_request_execute tracepoint Tvrtko Ursulin
2018-06-25 17:25 ` [PATCH 2/2] drm/i915/tracepoints: Remove DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option Tvrtko Ursulin
2018-06-25 20:02 ` Chris Wilson
2018-06-26 10:46 ` Tvrtko Ursulin
2018-06-26 10:55 ` Chris Wilson
2018-06-26 11:24 ` Tvrtko Ursulin
2018-06-26 11:48 ` Chris Wilson
2018-08-08 12:13 ` Tvrtko Ursulin
2018-08-08 12:42 ` Chris Wilson
2018-08-08 12:56 ` Tvrtko Ursulin
2018-08-13 9:54 ` Joonas Lahtinen
2018-08-13 13:44 ` Kukanova, Svetlana
2018-08-21 12:06 ` Joonas Lahtinen
2018-08-22 12:49 ` Tvrtko Ursulin
2018-08-22 13:02 ` Tvrtko Ursulin [this message]
2018-08-22 13:12 ` Joonas Lahtinen
2018-08-27 13:37 ` Kukanova, Svetlana
2018-08-29 14:51 ` Joonas Lahtinen
2018-09-03 12:22 ` Kukanova, Svetlana
2018-09-04 8:56 ` Joonas Lahtinen
2018-06-25 17:52 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/tracepoints: Remove i915_request_execute tracepoint Patchwork
2018-06-25 21:36 ` ✓ 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=69ea9087-9aa5-b9c1-3b0e-7bd07992536c@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=Intel-gfx@lists.freedesktop.org \
--cc=chris@chris-wilson.co.uk \
--cc=joonas.lahtinen@linux.intel.com \
--cc=svetlana.kukanova@intel.com \
--cc=tursulin@ursulin.net \
/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;
as well as URLs for NNTP newsgroup(s).